Skip to content

How can I get emsg messageData using compiled script? #717

Closed
@miyukki

Description

@miyukki
  • What version of Shaka Player are you using?
    v2.0.6

    • Can you reproduce the issue with our latest release version?
      Yes, use dist/shaka-player.compiled.js.
    • Can you reproduce the issue with the latest code from master?
      No, use original source.
  • Are you using the demo app or your own custom app?
    my custon app

    • If custom app, can you reproduce the issue using our demo app?
      I'm not tried, maybe demo apps does not contain emsg box.
  • What browser and OS are you using?
    electron@v1.6.1

  • What did you do?
    I want to get emsg data via MP4 segments.
    But I can't get the messageData because shaka.dash.DashParser.EmsgInfo was compiled.

  • What did you expect to happen?

player.addEventListener('emsg', function(event) {
  // event.detail.messageData represents emsg data
});
  • What actually happened?
player.addEventListener('emsg', function(event) {
  // event.detail.pd represents emsg data
});

How can I get emsg messageData using compiled script? Or, do you have a best way to get?

Metadata

Metadata

Assignees

No one assigned

    Labels

    status: archivedArchived and locked; will not be updatedtype: bugSomething isn't working correctly

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions