Parse dashif:Laurl license url in mpd
This commit is contained in:
parent
5b3066f380
commit
521c52fdb9
@ -621,6 +621,8 @@ public class DashManifestParser extends DefaultHandler
|
|||||||
xpp.next();
|
xpp.next();
|
||||||
if (XmlPullParserUtil.isStartTag(xpp, "clearkey:Laurl") && xpp.next() == XmlPullParser.TEXT) {
|
if (XmlPullParserUtil.isStartTag(xpp, "clearkey:Laurl") && xpp.next() == XmlPullParser.TEXT) {
|
||||||
licenseServerUrl = xpp.getText();
|
licenseServerUrl = xpp.getText();
|
||||||
|
} else if (XmlPullParserUtil.isStartTag(xpp, "dashif:Laurl") && xpp.next() == XmlPullParser.TEXT) {
|
||||||
|
licenseServerUrl = xpp.getText();
|
||||||
} else if (XmlPullParserUtil.isStartTag(xpp, "ms:laurl")) {
|
} else if (XmlPullParserUtil.isStartTag(xpp, "ms:laurl")) {
|
||||||
licenseServerUrl = xpp.getAttributeValue(null, "licenseUrl");
|
licenseServerUrl = xpp.getAttributeValue(null, "licenseUrl");
|
||||||
} else if (data == null
|
} else if (data == null
|
||||||
|
Loading…
x
Reference in New Issue
Block a user