Vuong Bui the
Vuong Bui the

Reputation: 5

How to push live stream by webrtc to media server , specifically here is oven media engine?

I want to push the live stream to the media server ( specifically Oven Media Engine ) from browser ( use API webrtc ) but haven't found the right way to do it , I just need WebRTC .

const servers = {
    iceServers: [
      {
        urls: "turn:127.0.0.1:3478?transport=tcp",
        username: "ome",
        credential: "airen"
      }
    ]
  }; 
  
  remotePeerConnection = new RTCPeerConnection(servers);
This code is wrong because I don't understand exactly how Webrtc API works Look forward to the help of everyone.

Upvotes: 0

Views: 1381

Answers (1)

AirenSoft
AirenSoft

Reputation: 91

We are AirenSoft, which developed OvenMediaEngine.

Your problem can be easily solved with OvenLiveKit for Web. Also, you can check the sample code by clicking HERE.

Upvotes: 1

Related Questions