question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Does ExoPlayer support multiple EventStream tags in the same DASH period?

See original GitHub issue

[REQUIRED] Searched documentation and issues

[REQUIRED] Question

When playing a DASH VOD stream with multiple <EventStream> tags in the same period, only the events from the first EventStream seem to be emitted. Is that a known limitation of ExoPlayer, intended behaviour or a bug?

Link to test content

The manifest looks something like this:

<Period id="123456" start="..." bitstreamSwitching="true">
    <EventStream schemeIdUri="urn:scte:scte35:2014:xml+bin" timescale="90000">
      <Event id="2">
      ...
      </Event>
    </EventStream>
    <EventStream schemeIdUri="urn:scte:scte35:2013:xml" timescale="90000">
      <Event id="2">
  ...
      </Event>
    </EventStream>
    <AdaptationSet mimeType="video/mp4" segmentAlignment="true">
...
</Period>

Edit: I send you an email with a sample stream.

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:5 (2 by maintainers)

github_iconTop GitHub Comments

1reaction
ojw28commented, Nov 6, 2020

Heh, yes! It’s a limitation due to the current architecture, where there are a static number of renderers and each one can only play a single TrackGroup. This largely makes sense for audio and video, short of very niche use cases. The same is mostly true for text and metadata as well, however for these track types it is somewhat more likely for there to be use cases that need multiple tracks selected at once, as is the case here.

I think we’ll try and remove this limitation at some point, but it’s unlikely to happen any time soon because it will likely require a fairly non-trivial architectural change. It’s also not entirely clear what that change should be, and whatever we do it’ll likely have some significant implications for how track selection works. So, it’s something that we think it’s best to live with for now, given there is a way (albeit a hidden one) to get things working for those who need it!

0reactions
strangesourcecommented, Nov 6, 2020

Thanks very much for the context, makes a lot of sense how you described it.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Does ExoPlayer support multiple EventStream tags in the same ...
Does ExoPlayer support multiple EventStream tags in the same DASH period ?
Read more >
Supported formats - ExoPlayer
ExoPlayer supports DASH with multiple container formats. Media streams must be demuxed, meaning that video, audio and text must be defined in distinct ......
Read more >
Detecting ad slate in Dash Manifest from Exoplayer in Android
However I don't see any relevant object or information when it comes for DashManifest. I see EventStream which is responsible for ad display....
Read more >
RELEASENOTES.md · mirrors_hanihashemi/ExoPlayer - Gitee
DASH : Exclude text streams from duration calculations (#4029). Fix freezing when playing multi-period manifests with EventStream s (#4492). DRM: Allow ...
Read more >
RELEASENOTES.md - google/ExoPlayer - Sourcegraph
Prefer other tracks to Dolby Vision if display does not support it. ... avoid OutOfMemory errors when releasing multiple players at the same...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found