steep-balloon-41261
08/23/2023, 1:29 PMpolite-kilobyte-67570
08/23/2023, 2:21 PMMy understanding is that with livekit, when a new device is connected to the machine,That’s not expected. A certain media device that get’s acquired should stay the same for the track also when a new device gets connected. Do you have a repro of that behaviour?
polite-kilobyte-67570
08/23/2023, 2:22 PMRoomEvent.MediaDevicesChanged event to build your synchronization logic.
(or you just use the react control bar components, which do this out of the box)ambitious-midnight-86603
08/23/2023, 3:42 PMbehaviour1. At first, the macbook speakers are the default device. 2. In this state, connect to the livekit room. 3. At this point, the livekit audio comes from the speakers. 4. After that, connect the bluetooth earphone to your macbook, and this earphone will become the default device of your macbook. 5. Then, livekit’s audio will be automatically output from the default device, the Bluetooth earphone. Does it switch by itself only when the default device is changed?
polite-kilobyte-67570
08/24/2023, 10:09 AMRoomEvent.MediaDevicesChanged is still the right event to listen to in order to update your stateambitious-midnight-86603
08/25/2023, 8:01 AM