Comments (4)
I tested with TURN only, it said add STUN servers, so I added STUN servers to config and it still doesn't work. Is firefox incapable of receiving WebRTC streams from OME and other Media servers?
<div id="player_id"></div>
<script>
let webrtcSources = [{type : "webrtc", file : "wss://domain.com:3334/app/stream_o", label : "1080"}];
let player = OvenPlayer.create("player_id", {
sources: webrtcSources,
loop : false,
autoStart : true,
mute : true,
controls : true,
webrtcConfig: {
iceServers: [
{
"urls": [
"stun:stun.l.google.com:19302"
]
},
{
"urls": [
"turn:165.22.50.93:3478?transport=tcp",
"turn:165.22.50.93:3478?transport=udp"
],
"username": "myuser",
"credential": "mypass"
}
]
}
});
player.on("error", function(error){
console.log(error);
});
</script>
from ovenplayer.
No. Firefox should have to work fine too. Basic playback with OME via firefox works fine on my enviroment. Can I get your WebRTC signaling adress for testing?
from ovenplayer.
No. Firefox should have to work fine too. Basic playback with OME via firefox works fine on my enviroment. Can I get your WebRTC signaling adress for testing?
I suspected from double nat under Dockerproxy.
My previous docker run command was this:
docker run -d --restart always --env OME_ICE_CANDIDATES=*:10000-10005/udp -p 1935:1935 -p 3333:3333 -p 8080:8080 -p 9000:9000/udp -p 10000-10005:10000-10005/udp airensoft/ovenmediaengine:latest
I added external IP and now it's working on Firefox
docker run -d --restart always --env OME_ICE_CANDIDATES=165.x.x.x:10000-10005/udp -p 1935:1935 -p 3333:3333 -p 8080:8080 -p 9000:9000/udp -p 10000-10005:10000-10005/udp airensoft/ovenmediaengine:latest
if I don't add --env OME_ICE_CANDIDATES=165.x.x.x:10000-10005/udp and expect it to use internal values, it doesn't work on Firefox (double nat issue due to docker?)
from ovenplayer.
@mpisat Hi. We just strengthen the connectivity with OME running on private network like a docker proxy.
updated #133 commit.
from ovenplayer.
Related Issues (20)
- Full screen not working in iOS 17 Safari with WebRTC HOT 9
- Can't unmute - Android Chromium HOT 1
- Vue 3 doesnt work Error initializing HLS. HOT 1
- OvenPlayer as an ES6 module ERROR HLS HOT 1
- Auto-refresh seems to generate a memory leak HOT 1
- Unable to ear sound on windows browser HOT 3
- Vue 3 oven player instans update volume and full screen replays video and start again llhls HOT 4
- Keep player as close as possible to live mode HOT 1
- feature request: customizable error icon HOT 2
- websocket connection issue HOT 1
- Unable to select Multiple audio tracks in webrtc HOT 1
- Some of the media could not be downloaded due to a network error HOT 3
- How can I implement the hls.recoverMediaError() method? HOT 1
- Unreliable WebRTC playback in Safari iOS HOT 4
- Adaptive Stream and "Auto" decision HOT 3
- How to detect when the stream becomes available? HOT 2
- Dynamically change HLS parameters HOT 1
- Seek to start position does not update progress bar HOT 1
- ome_demo player autoFallback HOT 1
- Possible race condition with Options.image? HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ovenplayer.