AirenSoft / OvenPlayer

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

Can't have multiple LL-HLS players in one page #305

Closed hernanrz closed 6 months ago

hernanrz commented 1 year ago

If we try to start to ll-hls players, for different sources, they all eventually play the same video, or, frames from one play in the other and vice versa.

I took a look at the code and it seems that ovenplayer creates one global instance of hls.js, which might be causing this problem. I'm not very familiar with hls.js so that's just a guess.

getroot commented 1 year ago

It may be a duplicate issue with with https://github.com/AirenSoft/OvenMediaEngine/issues/860

getroot commented 1 year ago

Oh you're the author of https://github.com/AirenSoft/OvenMediaEngine/issues/860. Could you please check the master branch to see if the issue is resolved?

hernanrz commented 1 year ago

Yep I'm pulling the latest docker image to test now, I'll let you know the results!

getroot commented 1 year ago

Since it hasn't been released yet, you should use airensoft/ovenmediaengine:dev .

SangwonOh commented 6 months ago

This issue should have been resolved.

We are closing the issue due to a long period of inactivity. Please test with the latest OvenMedaiEngeine, player and browser, and if the problem persists, please reopen the issue.