Skip to content

undefined "info" object in DashParser when manifest contains no periods #618

@steve-o

Description

@steve-o
  • What version of Shaka Player are you using?

2.0.1-debug and 2.0.0.

  • Can you reproduce the issue with our latest release version?

Yes.

  • Can you reproduce the issue with the latest code from master?

Yes.

  • Are you using the demo app or your own custom app?

Custom app derived from introduction tutorial, i.e.

http://shaka-player-demo.appspot.com/docs/api/tutorial-basic-usage.html

Hosted here against the appspot hosting: https://junko.hk/chome/debug.html

  • What did you do?

Idea was to use tutorial together with DASH manifest and files from YouTube on a new clean HTTPS server.

  • What content did you load?

Simple 40s clip on YouTube: https://www.youtube.com/watch?v=94BNgmNYoH8

  • How did you interact with the content, if at all?

n/a

  • What did you expect to happen?

Video to load without errors or at least report some form of legible error.

  • What actually happened?

Two errors:

  1. Assertion failed: Wrong error type! player.js:449
  2. Error code undefined object TypeError: Cannot read property 'containsInband' of undefined
    at shaka.dash.DashParser.parsePeriods_ (https://shaka-player-demo.appspot.com/lib/dash/dash_parser.js:658:27)
    at shaka.dash.DashParser.parseManifest_ (https://shaka-player-demo.appspot.com/lib/dash/dash_parser.js:517:33)
    at shaka.dash.DashParser. (https://shaka-player-demo.appspot.com/lib/dash/dash_parser.js:410:21)

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

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions