AirenSoft / OvenPlayer

OvenPlayer is JavaScript-based LLHLS and WebRTC Player for OvenMediaEngine.
https://OvenMediaEngine.com/ovenplayer
MIT License
508 stars 124 forks source link

Live stream DVR Not working in iOS #341

Closed hernanrz closed 1 year ago

hernanrz commented 1 year ago

In iOS, the DVR seek bar is always stuck at the beginning of the live stream, and cannot be moved

iOS: 16.1.1 Browser: Chrome

bchah commented 1 year ago

I see the same issue in Safari on macOS, and suspect it should be reproducible in any WebKit-based browser. @SangwonOh do you have it working in safari on macOS or IOS?

naanlizard commented 1 year ago

I can confirm safari on macOS 13.1 also plays from the beginning and cannot be seeked through while DVR is enabled, in both llhls and regular HLS (served from nginx-rtmp)

WebRTC, with no DVR, works fine of course

getroot commented 1 year ago

In iOS and Mac, this is probably not an ovenplayer issue because it works as the native player of the operating system instead of hls.js. Previously, when I developed the LLHLS DVR function, I confirmed that it worked well when I tested it on iOS, but I think I need to check whether the specification has changed or a regression bug. I'm moving this issue to the OvenMediaEngine repo.

getroot commented 1 year ago
Native OvenPlayer UI
image image

I checked, and this is not a DVR problem, but a UI bug in OvenPlayer. Moving this issue back to the OvenPlayer repo. Sorry for the confusion! (I understood that the DVR function does not work.)

SangwonOh commented 1 year ago

Hi everyone! Sorry for late reply.

Seek bar implementation on native hls player is not fully tested yet. Thanks for reporting the bug!

I'll check it out soon to see what the problem is.

SangwonOh commented 1 year ago

Controlling seekbar in case of native hls playback needs some research and development.

naanlizard commented 1 year ago

Is this something that will be fixed soon or no? Perhaps if it will take some time, we can either force non-native HLS playback, or disable the seekbar when it is broken?

SangwonOh commented 1 year ago

The seek bar support for iOS has been implemented at f78fdc5313f7fbbb76a6856b1d1d9601a61064ec. After some unit test we will be able to deploy it.

hernanrz commented 1 year ago

Looking forward to it, thanks!

SangwonOh commented 1 year ago

Released at v0.10.27