-
Notifications
You must be signed in to change notification settings - Fork 6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Cannot get duration or seek from an SSAI live content #10764
Comments
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. |
I have the same problem |
@tonihei |
We currently skip this calculation entirely, but it can be added by calculating the window duration using the wrapped window's duration and the provided AdPlaybackState. Issue: #10764 PiperOrigin-RevId: 488614767
We currently skip this calculation entirely, but it can be added by calculating the window duration using the wrapped window's duration and the provided AdPlaybackState. Issue: google/ExoPlayer#10764 PiperOrigin-RevId: 488614767
@tonihei |
We currently skip this calculation entirely, but it can be added by calculating the window duration using the wrapped window's duration and the provided AdPlaybackState. Issue: google/ExoPlayer#10764 PiperOrigin-RevId: 488614767 (cherry picked from commit 7a7d083)
@tonihei
You can also see the problem in the video I attached. Can you please check this problem ? Thank you. |
What you circled in the screenshot is the current position, not the duration. The duration is the |
@tonihei
Oh, sorry, my bad, I mean the current position, not the duration.
Sorry, but this problem can be fixed ? |
There is nothing to fix, this is working as intended. If your playback position falls behind the live window, then you play at a negative position relative to the start of the live window. |
Hi @tonihei But I've tested the fixing on the HLS DAI stream which encrypted by AES-128. But it doesn't seem to work. We use
Note that, there are no problems on 2.17.1 version On 2.17.1 On 2.18.0 or above There aren't any errors thrown from the ExoPlayer side, but if you look at the event log it looks a bit strange. With a Event log:
I've checked on another HLS stream (not HLS DAI stream), it seems OK. And only happens on SSAI contents. Can you please check this issue on HLS DAI stream which encrypted by AES-128 ? I think this is a big problem.
|
This is unrelated to the previous issue. Could you open a new one for this? If you do so, please also provide more detailed information about how you set up the player. |
@tonihei |
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
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
adb bugreport
to dev.exoplayer@gmail.com after filing this issue.The text was updated successfully, but these errors were encountered: