Skip to content

Commit

Permalink
feat: Add support to old EMSG schemeId for ID3 (shaka-project#5320)
Browse files Browse the repository at this point in the history
  • Loading branch information
avelad committed Jun 16, 2023
1 parent e4a4138 commit cd9ee09
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lib/media/streaming_engine.js
Expand Up @@ -1958,7 +1958,8 @@ shaka.media.StreamingEngine = class {
// A special scheme in DASH used to signal manifest updates.
if (schemeId == 'urn:mpeg:dash:event:2012') {
this.playerInterface_.onManifestUpdate();
} else if (schemeId == 'https://aomedia.org/emsg/ID3') {
} else if (schemeId == 'https://aomedia.org/emsg/ID3' ||
schemeId == 'https://developer.apple.com/streaming/emsg-id3') {
// See https://aomediacodec.github.io/id3-emsg/
const frames = shaka.util.Id3Utils.getID3Frames(messageData);
if (frames.length && reference) {
Expand Down

0 comments on commit cd9ee09

Please sign in to comment.