Network MIDI Protocol using iOS - ios5

Is it possible output both live audio and MIDI RTP data from Bluetooth device of iPhone? Looking to leverage the Core MIDI library. Crucial is the ability to fire off both sources simultaneously with no latency.
Many thanks........

Related

Synchronized Audio Streaming over Bluetooth

I am working on an iPhone app that needs to stream audio file to multiple devices (iPhone) connected via Bluetooth and play it in the Synchronized way, that is, all the devices starts playing the audio file simultaneously.
I am able to make a connection and stream the audio packet and even play the audio file, but the only issue that I am facing is the Latency. All the devices starts playing the audio file at different time, I want all of them to play the same audio packet together. Is there any way I can make them play audio file synchronously?
I remember glancing over audio broadcast option in the bluetooth spec. Not sure whether iphone supports it..

How to stream iOS video over bluetooth to another device?

For a video-based game I want to stream the video of one device to another. Is there a way to do this with bluetooth?
You can stream any data you like across bluetooth. However, you might be limited by the bandwidth available on a bluetooth connection.

Can we use EASession object's inputstream property to send data to a bluetooth Headset in iPhone?

Can we send a recorded audio stream to the bluetooth Headset input, using the EASession object?
No. The External Accessory framework is used for connecting with devices that comply with the Made for iPod Program and that define their own data communication protocol. You are not given access to the standard Bluetooth communication stack for dealing with audio devices or the like.

Audio Streaming API's: Wifi vs what?

I've noticed certain radio apps, that some stations required wifi and others did not. What were those other stations possibly using? Are there other methods of streaming audio on iOS?
Apparently, I was not clear in my question before.
I'm asking in terms of API's. Is there an API to interact directly with say, FM radio, on iOS? Is wifi the only way of streaming audio?
Have a look at HTTP Live Streaming:
https://developer.apple.com/library/content/documentation/NetworkingInternet/Conceptual/StreamingMediaGuide/Introduction/Introduction.html

Streaming songs to connected devices using gamekit

I want to play the song from one iphone to the other, it is like the user from device A selects a song from his IPod and plays it, while the users on Device B can also listen to that song using their own iphone which is connected to the Device A using either the Game Kit or wifi.
So is it possible to stream the song from the ipod library to the other devices or not.
This is not possible technically, because you can't get to the audio data -- either as a decoded PCM stream or as the original encoded AAC or MP3 files -- via the MPMusicPlayerController or any other public API. Therefore device A is not in a position to send audio data over the network to device B.
Device B could receive and play streamed audio from the network, of course, since that's what apps like Pandora, Last.fm, and AOL Radio do. But for device A to send the data, it would have to use some source other than its own iPod library.
From the point of view of copyright protection, I don't think this is possible - legally, that is.
It might be possible technically, in that you may be able to send the raw bytes of the song file over wifi or bluetooth and then decode and play them on the second device, but that surely won't get past Apple's reviewers.