Dash.js: Exception when parsing Event with scte35:Binary content

Created on 2 Sep 2019  路  3Comments  路  Source: Dash-Industry-Forum/dash.js

Environment

Steps to reproduce
  • Try to play the MPD using the reference player (nightly / 3.0 or 2.9.3 )
  • main content playback is not starting with "TypeError: s.charAt " is exception
Observed behaviour

Screenshot_20190902_115048

In the DashManifestModel::getEventsForPeriod function, decodeArray is called with the Binary as param, but Binary is an object, not a string.
BASE64.decodeArray(eventStreams[i].Event_asArray[j].Signal.Binary);
Screenshot_20190902_120547

Console output

``TypeError: s.charAt is not a functionbase64.js:102:25
decodeArray base64.js:102
decodeArray base64.js:126
getEventsForPeriod DashManifestModel.js:806
getEventsFor DashAdapter.js:525
addInlineEvents Stream.js:487
initializeEventController Stream.js:482
initializeMedia Stream.js:501
activate Stream.js:152
activateStream StreamController.js:565
onMediaSourceOpen StreamController.js:538

Bug

Most helpful comment

It should be OK with PR #3064

All 3 comments

It should be OK with PR #3064

I confirm it's working (no exception, playback OK) with PR #3064 . Thanks!

Glad to hear that it is OK for you

Was this page helpful?
0 / 5 - 0 ratings