How would I go about streaming audio FROM an iOS device to another device like a Mac or another iOS device? I can only find solutions like AirPlay on Google and nothing about how to do it in your own app. I would assume you would have to go through a server of some kind.
To be clear, I am not looking to replicate AirPlay. I am looking to do very basic VoIP.
Connect both iOS device and computer to the same Wi-Fi network. Then run Airfoil Satellite and Airfoil separately. In Airfoil for desktop, choose audio source, then click the sound icon besides your iPhone, iPad or iPod touch to start stream audio from Windows or Mac computer to your iOS device.
From your iPhone® or Android device, open the Google Home app. Go to the “Devices” tab, tap the device card menu and select “Create group”. Create a name for the group, select speakers to include and press save. You can mix and match select Chromecast built-in speakers with devices connected to Chromecast Audio.
Apple's AirPlay 2 allows you to do this and more, and it's baked right into every iPhone and Mac. The original Apple AirPlay is a proprietary system for streaming audio or video from one Apple source -- typically an iPhone, iPad or a Mac computer -- to another device over a home network.
crude VOIP use case:
Step 1. record audio with AV Foundation using a compressive encoder
Step 2. Stream packets to another device (ie RTP)
Step 3. Decode & play the audio packets on the remote device
More complex VOIP uses case include discovering users, establishing connections.
These links might get you started
http://developer.apple.com/library/ios/#DOCUMENTATION/AudioVideo/Conceptual/MultimediaPG/UsingAudio/UsingAudio.html
http://en.wikipedia.org/wiki/Real-time_Transport_Protocol
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With