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.

Cannot get duration or seek from an SSAI live content

See original GitHub issue

ExoPlayer Version

2.17.1

Devices that reproduce the issue

Any devices

Devices that do not reproduce the issue

No response

Reproducible in the demo app?

Yes

Reproduction steps

  1. Open the demo app
  2. Open the SSAI content below (HLS format) Screenshot_20221109_165515
  3. Cannot get duration of the content, seekbar do not show progress, and you cannot seek on the seekbar. Screenshot_20221109_165536

Expected result

It is possible to get the duration of the SSAI content and display it.

Actual result

Cannot get duration of the content, seekbar do not show progress, and you cannot seek on the seekbar.

Media

You can reproduce and see the situation on the Demo app

Bug Report

  • You will email the zip file produced by adb bugreport to dev.exoplayer@gmail.com after filing this issue.

Issue Analytics

  • State:closed
  • Created 10 months ago
  • Comments:11 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
toniheicommented, Nov 10, 2022

As the title of the stream indicates, this is a live stream and ExoPlayer’s SSAI media source currently removes the duration for live streams. I’m not entirely sure, but this may have been accidental and I can look into adding it back.

0reactions
raku10devcommented, Dec 7, 2022

@tonihei I’ve confirmed this again. From version 2.18.0, this error will occur. Can you tell me from version 2.18.0, what has changed when playing HLS stream which encrypted by AES-128 ? Because I have checked in version 2.17.1, there is no problem. So I think this is not a data problem on our side, but something wrong with ExoPlayer.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Implementing Server-Side Ads in the Live Module (SSAI)
The Live module supports Server-Side Ad Insertion (SSAI) so server-side ads can be requested and displayed during a live stream.
Read more >
Server-Side Ad Insertion (SSAI) - Amazon Web Services
A player sends a request for live or video-on-demand (VOD) HLS content from the content distribution network (CDN). The CDN is configured to...
Read more >
The Advantage of SSAI and DAI in Bypassing Ad Blockers
Want to boost ad view value? This primer covers the basics, benefits, and best ad stitching practices using SSAI and DAI to outsmart...
Read more >
What Marketers Need to Know About Server-Side Ad Insertion
"SSAI seamlessly inserts ads into streaming video content, allowing monetization on any device that can play video," says Andrew Broadstone, ...
Read more >
C201: How To: Deploying Server-Side Ad Insertion - YouTube
Copy link. Info. Shopping. Tap to unmute. If playback doesn't begin shortly, try restarting your device. Your browser can't play this video.
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