WebRTC iOS Audio Chat

Viewed 4517

I am creating a voice only (no video) chat application. I have created my own node.js/socket.io based server for signaling.

For WebRTC, I am using the following pod: https://cocoapods.org/pods/WebRTC

I have been successful in creating peer connection, adding local stream, setting local/remote sdp, and send/receive ice candidates. The "didAddStream" delegate method is also called successfully having audio tracks but I am stuck here. I don't know what should I do with the audio track. What should be the next step? How would I send/receive audio on both sides?

Also, if I integrate CallKit, what changes do I need to make.

1 Answers
Related