AirenSoft / OvenPlayer

OvenPlayer is JavaScript-based LLHLS and WebRTC Player for OvenMediaEngine.
https://airensoft.com/ome.html
MIT License
515 stars 126 forks source link

WebRTC in Opera does not work #164

Closed Alexufo closed 3 years ago

Alexufo commented 3 years ago

Opera 72.0.3815.378 Player from http://demo.ovenplayer.com

I have a success with dash and hsl but webrtc does not work. 2020-11-21_08-14-58

I suppose should not be a problem. Opera used chromium

getroot commented 3 years ago

It may not be a player issue.

Check the firewall of the server where OvenMediaEngine is installed. Or, the WebRTC URL you entered may be incorrect. What URL did you try to play with? Have you run OvenMediaEngine with default settings? If so, did you properly enter the 3333 port in the URL like this? ws://host:3333/app/stream

It may be helpful if you read the following article more closely.

https://airensoft.gitbook.io/ovenmediaengine/getting-started

Alexufo commented 3 years ago

I tested on Crome 84, FF 85.0a1 and latest Opera. webrtc works on all except Opera.

I share url (thanks for player settings as url get params) between browsers. hsl,dash,webrtc works on Crome and FF.

But in Opera I see black screen on webrtc option. (I open page in private mode to except opera plugins influence. Errors was gone from console, just black screen with timeless loading) I use default docker container.

getroot commented 3 years ago

I have no experience with the Opera browser. But if you're experiencing the problem you're talking about, it's likely that Opera doesn't support h.264. What codecs does Opera support in WebRTC? Try adding and testing the vp8 encoding option in OME to clarify the problem.

Alexufo commented 3 years ago

Oh! I open Opera settings on WebRTC settings.

I changed "Disable unproxied UDP" to recommended. Maybe I did it in past! I did not remember default value. image

Now it works!