Cannot get duration or seek from an SSAI live content
See original GitHub issueExoPlayer 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
- Open the demo app
- Open the SSAI content below (HLS format)
- Cannot get duration of the content, seekbar do not show progress, and you cannot seek on the seekbar.
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:
- Created 10 months ago
- Comments:11 (4 by maintainers)
Top 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 >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
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.
@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.