Shaka Packager SDK
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends
encryption_config.h
1 // Copyright 2017 Google Inc. All rights reserved.
2 //
3 // Use of this source code is governed by a BSD-style
4 // license that can be found in the LICENSE file or at
5 // https://developers.google.com/open-source/licenses/bsd
6 
7 #ifndef PACKAGER_MEDIA_BASE_ENCRYPTION_CONFIG_H_
8 #define PACKAGER_MEDIA_BASE_ENCRYPTION_CONFIG_H_
9 
10 #include "packager/media/base/fourccs.h"
11 #include "packager/media/base/protection_system_specific_info.h"
12 
13 namespace shaka {
14 namespace media {
15 
17  FourCC protection_scheme = FOURCC_cenc;
18  uint8_t crypt_byte_block = 0;
19  uint8_t skip_byte_block = 0;
20  uint8_t per_sample_iv_size = 0;
21  std::vector<uint8_t> constant_iv;
22  std::vector<uint8_t> key_id;
23  std::vector<ProtectionSystemSpecificInfo> key_system_info;
24 };
25 
26 } // namespace media
27 } // namespace shaka
28 
29 #endif // PACKAGER_MEDIA_BASE_ENCRYPTION_CONFIG_H_