Add fields in ContentProtection to match MPD spec
Because we need to have all meta info in the MediaInfo protobuf, we need full 'ContentProtection' element. Change-Id: I714ff5b8d7baa2ae0d169a59005210a63da315b5
This commit is contained in:
parent
d36091cf65
commit
d34a331ef5
|
@ -38,16 +38,28 @@ message MediaInfo {
|
||||||
optional string language = 2;
|
optional string language = 2;
|
||||||
}
|
}
|
||||||
|
|
||||||
message ContentProtection {
|
message ContentProtectionXml {
|
||||||
optional bytes key_id = 1;
|
message AttributeNameValuePair {
|
||||||
optional bytes pssh = 2;
|
optional string name = 1;
|
||||||
|
optional string value = 2;
|
||||||
|
}
|
||||||
|
|
||||||
|
message Element {
|
||||||
|
repeated AttributeNameValuePair attributes = 1;
|
||||||
|
repeated Element subelements = 2;
|
||||||
|
}
|
||||||
|
|
||||||
|
optional string scheme_id_uri = 1;
|
||||||
|
optional string value = 2;
|
||||||
|
repeated AttributeNameValuePair attributes = 3;
|
||||||
|
repeated Element subelements = 4;
|
||||||
}
|
}
|
||||||
|
|
||||||
optional uint32 bandwidth = 1;
|
optional uint32 bandwidth = 1;
|
||||||
repeated VideoInfo video_info = 2;
|
repeated VideoInfo video_info = 2;
|
||||||
repeated AudioInfo audio_info = 3;
|
repeated AudioInfo audio_info = 3;
|
||||||
repeated TextInfo text_info = 4;
|
repeated TextInfo text_info = 4;
|
||||||
repeated ContentProtection content_protections = 5;
|
repeated ContentProtectionXml content_protections = 5;
|
||||||
|
|
||||||
// This is the reference time scale if there are multiple VideoInfo and/or
|
// This is the reference time scale if there are multiple VideoInfo and/or
|
||||||
// AudioInfo.
|
// AudioInfo.
|
||||||
|
|
Loading…
Reference in New Issue