Swift Janus Can Not Publish Video, But Get Remote Video Successful - Can Not Know Reason

swift Janus can not publish video, but get remote video successful - can not know reason

solved, coz of proxy server is not auto mapping from ios, google chomre + safari auto mapping.

Connecting to janus server always hangs with hangup message from janus

I found that the reason of getting "hang up" message is because I did not set the received jsep (from janus) to my peerconnection.
after setAnswer the jsep "hang up" message gone!

1- RTCIceGatheringState never changes to Completed

For the problem of not having "Completed" state For RTCIceGatheringState was because of "continualGatheringPolicy" options in configuring the peerConnection which was set to "gatherContinually" after setting that to "gatherOnce" the Completed state seen! :)

2- The generated candidates are like following:

It seem this is normal to have audio/video or 0/1

Video Streaming and Broadcasting using WebRTC

You will need to use backend servers for that.

If you plan on broadcasting to multiple users directly from your mobile app then stop...

You need to connect your mobile app to a backend media server which then can be used to broadcast the video to a larger audience.

There are several commercial and open source alternatives that enable you to do that. I'd check Red5Pro, Wowza, SwitchRTC, Jitsi, Janus and Kurento for this task.

For the client side, look at react-native-webrtc

You can find more tools for WebRTC developers here.



Related Topics



Leave a reply



Submit