Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

iOS playing audio to multiple bluetooth devices concurrently [closed]

I've got some bluetooth speakers (similar) and would really like to be able to play to more than one of them concurrently however I can't find a way to do it.

I can deploy my own applications so it doesn't necessarily have to be accomplished through public APIs, but does the iPhone hardware support it?

like image 527
Martin Avatar asked May 22 '13 13:05

Martin


People also ask

Can iPhone connect to 2 Bluetooth devices simultaneously?

However, to make things simpler, Apple with iOS 13.2 update has added a new feature called Share Audio and it allows users to listen to the same audio on two different Bluetooth devices at the same time.

Can you play music on two Bluetooth speakers at once iPhone?

If you have one of the latest iPhone models, it probably comes with Bluetooth 5 which allows you to easily connect 2 speakers. This includes S8 models (like the Samsung Galaxy) and iPhones that run iOS 11.4 and later versions of the operating system.

Can you stream audio to 2 Bluetooth devices at once?

Android users need to go to Bluetooth Settings and pair either Bluetooth headphones or speakers one by one. Once connected, tap the three-dot icon on the right and click on Advanced Settings. Toggle on the 'dual audio' option if not already turned on. This should enable users to connect to two devices at once.

Does iPhone 11 Support Dual Bluetooth?

Can I use two Bluetooth speakers or headphones simultaneously with my iPhone 11 using just Bluetooth? Answer: A: Answer: A: Sorry no, not via BT, not at the same time.


2 Answers

You can connect to multiple speakers, but only play to one at a time. There isn't enough bandwidth in BT to really send two high quality stereo streams at the same time. Also, I don't think there's a path for you to write your own app to do something like this.

like image 81
TJD Avatar answered Oct 13 '22 22:10

TJD


A master Bluetooth device can communicate with a maximum of seven devices in a piconet (an ad-hoc computer network using Bluetooth technology), though not all devices reach this maximum. The devices can switch roles, by agreement, and the slave can become the master (for example, a headset initiating a connection to a phone will necessarily begin as master, as initiator of the connection; but may subsequently prefer to be slave). The Bluetooth Core Specification provides for the connection of two or more piconets to form a scatternet, in which certain devices simultaneously play the master role in one piconet and the slave role in another.

At any given time, data can be transferred between the master and one other device (except for the little-used broadcast mode). The master chooses which slave device to address; typically, it switches rapidly from one device to another in a round-robin fashion. Since it is the master that chooses which slave to address, whereas a slave is (in theory) supposed to listen in each receive slot, being a master is a lighter burden than being a slave. Being a master of seven slaves is possible; being a slave of more than one master is difficult.

Bonjour, also known as zero-configuration networking, enables automatic discovery of devices and services on a local network using industry standard IP protocols. Bonjour makes it easy to discover, publish, and resolve network services with a sophisticated, yet easy-to-use, programming interface that is accessible from Cocoa, Ruby, Python, and other languages.

  • (void)discoverServices:(NSArray *)serviceUUIDs , use this to discover the list of devices.. enter image description here

connect to the device and check status of connectivity with

@property(readonly) BOOL isConnected

then use cbroadcast to communicate to , for that please use https://developer.apple.com/bonjour/

reference : Apple Ref and also wiki , refernce image from apple doc

like image 31
Kajal Avatar answered Oct 13 '22 20:10

Kajal