Comments (7)
OK, i was searching a little bit and it looks like im needing a turn server. So im installed coturn on the same public server as ome...
Hopefully this is the right way.
But if it is, how do i say OvenPlayer to use it?
from ovenplayer.
Even if im not sure if its the right way im on i have tried to set it up:
But when i take a look at the firewall i only see blocked conectionattempts on port 3334..... Hmmmmmm.... nothing changed with this config.
Someone here who can help with this?
from ovenplayer.
@morbificagent Hi. The 3334 port is used for signaling with the OME via WebSocket connection. The turn server is not helpful for this situation. If your network blocks port that the turn server uses, it is difficult to streaming also.
In this case, you can change the ports that OME uses by OME configuration. How about change the OME ports to your firewall is not blocking.
Check out this documentation. https://airensoft.gitbook.io/ovenmediaengine/configuration#bind
from ovenplayer.
This would be a possibility for me of course, but as our customers most are behind company firewalls too its no solution for them as they cant change or know their firewall settings.
Mostly only 80 and 443 tcp are allowed and http proxies are used.
Im not firm in the possibilities of WebRTC but as we are using some tools based on it like jitsi, spreed,... there seems to be a way dealing with this scenario as no customer has a problem using them through their firewalls.
from ovenplayer.
@morbificagent I've researched jitsi, spreed. I think these tools are also need to be firewall configured.
And Because of this issue is not activating long time, this issue is going to be closed at the some days later.
We hope your project is successful.
from ovenplayer.
I have researched a little bit too and have minimized the need of configuring the firewall as "Stream-Viewer" by:
- Changing the signaling port to 443 incl. Certificate in OME + Player
- Setting up a TURN-Server with TLS (Port 443) incl. Certificate and changing the Playerconfig too
So i only need HTTPS opened in the firewall whats the case most times :-)
My Player-Config looks like this now:
let webrtcSources = [{type : "webrtc", file : "wss://xxxxxx.xxxxx.de:443/app/live_720p-5Mbit", label : "720P-5Mbit"}, {type : "webrtc", file : "wss://xxxxxx.xxxxx.de:443/app/live_720p-8Mbit", label : "720P-8Mbit"}, {type : "webrtc", file : "wss://xxxxxx.xxxxx.de:443/app/live_720p-2Mbit", label : "720P-2Mbit"}]
...
ovenPlayer = OvenPlayer.create("ovenPlayer", {
autoStart : true,
controls : true,
sources: webrtcSources,
webrtcConfig: {
iceServers: [
{
"urls": [
"stun:turn2.xxxxx.de:3478"
]
},
{
"urls": [
"turn:turn2.xxxxx:3478",
"turns:turn2.xxxxx:443?transport=tcp"
],
"username":"xxxxx",
"credential":"xxxxx"
}
]
}
});
from ovenplayer.
We are closing the issue due to a long period of inactivity.
from ovenplayer.
Related Issues (20)
- Error Initializing HLS but only in Chrome--and the demo site works HOT 3
- PIP mode (Picture in Picture) HOT 2
- Visual Issue when resizing in Safari HOT 7
- 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
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.