ISBX / apprtc-ios

A native iOS video chat app based on WebRTC
BSD 3-Clause "New" or "Revised" License
1.34k stars 411 forks source link

Room with mulitple participants #59

Open Pourias opened 8 years ago

Pourias commented 8 years ago

I'm trying to implement the apprtc-IOS not just 1:1 but with multiple participants. up to 9 remote videos. I'm setting up my own signaling server plus turn and stun.

In the method: func appClient(_ client: ARDAppClient!, didReceiveRemoteVideoTrack remoteVideoTrack: RTCVideoTrack!) { self.remoteVideoTrack=remoteVideoTrack
self.remoteVideoTrack?.add(self.remoteView) }

How can I treat the remote video tracks as an array? Will this method be called every time a new user joins the room?

manish-1988 commented 7 years ago

@Pourias can you help me with some reference link on how you have setup your own signaling server ?