WebRTC İOS sending data - ios

I want to send mp3 file to the other peer. Once other peer has the audio I want it to be played immediately. How can I send and and do this event
I couldn’t find any solution

Related

Use external audio stream as microphone input for Twilio Voice call

I want to use an incoming audio stream (microphone from an external device) as the microphone input for an outbound Twilio Voice call.
The external device serves as a softphone, and does not currently support WebRTC. Instead it currently sets up 2 separate connections to a server: 1 for outgoing audio (microphone), and 1 for incoming audio. Bots connections (streams) are set up using gstreamer (gst-launch).
The server sets up a voice call and should somehow use the incoming audio stream as the microphone input for this call. I have already found the Stream instruction able to send the calls' audio back to the external device.
Can anyone point me in the right direction, maybe suggest some SDK functionality?

webRTC with Janus iOS swift

I'm developing audio calling using webRTC and Janus.
below are my steps
peerconnection make offer
set local description of peerconnection
send message to socket
add local candidates to peerconnection
received message from socket
peerconnection set remote sdp
received remote media stream
But after receiving the stream also, it is not audible. If code is required, i can put the snippets on ask. Please help.
Check if this helps. Just found something in Swift.
https://github.com/Igor-Khomich/JanusAudioStreamPlayer

iOS: RTMP client library to stream from iOS client to Red5 media server gives "Connection reset by peer" error after few streams

I am using the iOS RTMP client library used here https://github.com/slavavdovichenko/MediaLibDemos3x to stream audio from the iOS device to the server.
I establish a socket connection and then allow the user to record a sentence and stream each phrase to the server using the connection. The user can repeat the process and each sentence is sent as a different stream. This works for about 5 minutes and then I start getting the "connection reset by peer" error from the server.
Any ideas on why this could be happening? Or how to resolve it?

iOS - Download and play audio file with AVAudioPlayer in the same time from buffer

I have a bit complex situation where I need to play an audio stream from some URL.
First I need to send some cookies along with the URL request and the stream that is coming back must be played with AVAudioPlayer.
So it is possible to use AFNetworking or standard NSURLConnection to send the cookies and save the stream to a temporary file and then play it? But can be done async? I mean once the stream is receiving data also the player must start, so not to wait for finishing the download because it can be a large file.

TokBox Subscriber Timeout Error

I am using TokBox for an app. When doing P2P, one client shows both the local video and the other clients video. The other client only shows the local video and calls -subscriber:didFailWithError: with the error Error Domain=OTSubscriberErrorDomain Code=1 "The subscriber timed out." First, is there a way to change the TokBox timeout time. Second, why might this be happening?
There is no way to change the Timeout time. Second, I think you might have firewall settings that could be preventing streams from being subscribed. Heres a diagnostic tool to help you check your network: http://tokbox.com/tools/connectivity/

Resources