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
How to Pause an Animation in Swiftui
Swift: Simple Dispatchqueue Does Not Run & Notify Correctly
Problems with Unified Logging, Staticstring, Customstringconvertible and Description
What Do Detached and Assigncurrentcontext Meaning
How to Pass a Completion Block to Another Class in Swift
Swift 3/4 Dash to Camel Case (Snake to Camelcase)
What Is The Reason to Store Subscription into a Subscriptions Set
How to Query Firebase Data Childbyautoid
How to Set a Custom Annotations for All Points Except for User Location
Lazy Initialization and Deinit
Parse Codable Classes and Avoid Repetition
Check If Avaudioplayer Is Playing
Dealing with Octal Numbers in Swift
Swift: Check Which Value in Nsarray Is Closest to Another Given Value
In Swift, Dynamic Height for UItextview in UIcollectionview
Using Scenekit for Hittesting Not Returning a Hit with Scnnode
Swift 1.2 Assigning Let After Initialization
Passing Values Between Viewcontrollers Based on List Selection in Swift