Giter Site home page Giter Site logo

Comments (7)

morbificagent avatar morbificagent commented on July 17, 2024

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.

morbificagent avatar morbificagent commented on July 17, 2024

Even if im not sure if its the right way im on i have tried to set it up:

image

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.

SangwonOh avatar SangwonOh commented on July 17, 2024

@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.

morbificagent avatar morbificagent commented on July 17, 2024

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.

SangwonOh avatar SangwonOh commented on July 17, 2024

@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.

morbificagent avatar morbificagent commented on July 17, 2024

@SangwonOh:

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.

SangwonOh avatar SangwonOh commented on July 17, 2024

We are closing the issue due to a long period of inactivity.

from ovenplayer.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.