Files
media_cas_packager_sdk_source/example/constants.h
2018-12-26 15:22:36 -08:00

31 lines
1.2 KiB
C++

////////////////////////////////////////////////////////////////////////////////
// Copyright 2018 Google LLC.
//
// This software is licensed under the terms defined in the Widevine Master
// License Agreement. For a copy of this agreement, please contact
// widevine-licensing@google.com.
////////////////////////////////////////////////////////////////////////////////
// Some constant values for testing / demo purpose.
#ifndef MEDIA_CAS_PACKAGER_SDK_EXAMPLE_CONSTANTS_H_
#define MEDIA_CAS_PACKAGER_SDK_EXAMPLE_CONSTANTS_H_
namespace widevine {
namespace cas {
const char kDefaultContentId[] = "CasTsFake";
const char kDefaultProvider[] = "widevine_test";
// Size of this IV needs to match ecm_init_params.content_iv_size.
const char kDefaultContentIv8Bytes[] = {'\x01', '\x01', '\x01', '\x01',
'\x01', '\x01', '\x01', '\x01'};
const char kDefaultContentIv16Bytes[] = {
'\x01', '\x01', '\x01', '\x01', '\x01', '\x01', '\x01', '\x01',
'\x01', '\x01', '\x01', '\x01', '\x01', '\x01', '\x01', '\x01'};
const char kDefaultTrackTypeSd[] = "SD";
} // namespace cas
} // namespace widevine
#endif // MEDIA_CAS_PACKAGER_SDK_EXAMPLE_CONSTANTS_H_