question

Sher-6694 avatar image
0 Votes"
Sher-6694 asked RobCaplan edited

How to resolve jumping seekbar issue in AVPlayer while live streaming?

We are using the AVPlayer in the Xamarin tvOS app. We are using HLS streaming with Fairplay DRM on the AVPlayer for the live streaming with DVR buffer (expected forward/rewind).
The seek bar alignment is not consistent as it changes its position (expected to start buffer from the start position on seek bar).

We are facing an issue that if we pause (when having sufficient buffer) and move back or forward (say 5-6 minutes) the paused position on the seek bar jumps to another position and then jumps back to the time we selected with the buffer position with changing the position of buffer.

For example:
If we paused the video and seek rewind to position A, it jumps to position B and then again jumps back to position A and starts playing.

96456-avplayer-snapshot.png

Thank you very much in advance.



dotnet-xamarin
avplayer-snapshot.png (573.4 KiB)
· 3
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Hi @Sher-6694 ,is there any log about this issue?

0 Votes 0 ·

@JessieZhang-2116
We are not getting any logs while streaming in AVPlayer and also we have added the AVPlayer error handling mechanism for any kind of issues in AVPlayer during playback.
I think if the buffer position on the seek bar will be fixed then the issue can be resolved. Do you know any way to align the seek bar?

0 Votes 0 ·

If it is convenient for you,could you please post a basic demo to github or onedriver so that we can test on our side?

0 Votes 0 ·

0 Answers