Dynamic multi-audio broadcasting
A media playback system may send video data to a first device and audio data to a second device. The second device may wirelessly transmit the audio data to one or more listening devices such as earbuds or headphones. The system may also send audio data to the first device for transmission to another listening device or devices. In an example operation, the system may send audio data representing a first language to the first device and a second language to the second device. In this manner, users can watch the same video while listening to audio in their chosen language. In some cases, one device may transmit audio data using a one-to-one wireless protocol while the other device uses a one-to-many wireless protocol. The first device may send synchronization data to the second device such that playback (e.g., transmission) of the audio data aligns with playback of the video.
1 . A method comprising:
receiving, at a first electronic device, a first advertisement message transmitted wirelessly by a second electronic device different from the first electronic device, the first advertisement message indicating audio output capabilities of the second electronic device;
determining, at the first electronic device based on the first advertisement message, that the second electronic device is capable of communicating audio data using a first wireless protocol;
based on the determining that the second electronic device is capable of communicating audio data using the first wireless protocol, sending, from the first electronic device to a remote system, stream coordination data comprising a first device identifier for the second electronic device;
sending, from the first electronic device to the remote system, a request for media content corresponding to first audio data representing first audio and first video data representing first video;
receiving, at the first electronic device, streaming data including the first video data; and
causing display of the first video synchronized to transmission of the first audio data by the second electronic device.
2 . The method of claim 1 , wherein the first advertisement message further includes the first device identifier for the second electronic device, and wherein the method further comprises:
determining that the first electronic device is associated with a first profile identifier; and
determining that the second electronic device is associated with the first profile identifier.
3 . The method of claim 1 , wherein the streaming data further includes second audio data representing second audio, and further comprising:
transmitting the second audio data to a first listening device using the first wireless protocol or a second wireless protocol.
4 . The method of claim 3 , further comprising:
synchronizing the display of the first video to the transmitting of the second audio data; and
sending, to the remote system, synchronization data corresponding to the display of the first video, the remote system using the synchronization data to cause the second electronic device to synchronize transmitting of the first audio data with the display of the first video.
5 . The method of claim 3 , further comprising:
causing the second electronic device to send the first audio data using a one-to-many wireless protocol, wherein the first electronic device sends the second audio data to the first listening device using a one-to-one wireless protocol.
6 . The method of claim 3 , further comprising:
causing the second electronic device to send first audio data using a one-to-many wireless protocol, wherein the first electronic device sends the second audio data to the first listening device using the one-to-many wireless protocol.
7 . The method of claim 1 , wherein the streaming data comprises further includes second audio data representing second audio, and further comprising:
sending the second audio data to a first listening device using the first wireless protocol or a second wireless protocol;
wherein the first audio includes speech in a first language and the second audio includes speech in a second language.
8 . The method of claim 1 , wherein causing presentation of the first video comprises causing display of the first video on a display of the first electronic device.
9 . The method of claim 1 , further comprising:
receiving a command to scan output of the first video; and
synchronizing playback of first audio by the second electronic device based at least in part on the command to scan.
10 . A first electronic device comprising:
one or more processors;
a wireless radio; and
one or more computer readable media storing processor executable instructions which, when executed using the one or more processors, cause the first electronic device to perform operations comprising:
periodically scanning for advertisement messages;
in response to receiving a first advertisement message transmitted wirelessly by a second electronic device different from the first electronic device, determining based on the first advertisement message that the second electronic device is capable of communicating audio data using a first wireless protocol;
based on the determining that the second electronic device is capable of communicating audio data using the first wireless protocol, sending, to a remote system, stream coordination data comprising a first device identifier for the second electronic device;
sending, from the first electronic device to the remote system, a request for media content corresponding to first audio data representing first audio and first video data representing first video;
receiving, at the first electronic device, streaming data including the first video data; and
causing display of the first video synchronized to transmission of the first audio data by the second electronic device.
11 . The first electronic device of claim 10 , wherein the one or more computer readable media storing processor executable instructions which, when executed using the one or more processors, cause the first electronic device to perform operations further comprising:
determining that the first electronic device is associated with a first profile identifier; and
determining that the second electronic device is associated with the first profile identifier.
12 . The first electronic device of claim 10 , wherein the streaming data further includes second audio data representing second audio, and wherein the one or more computer readable media storing processor executable instructions which, when executed using the one or more processors, cause the first electronic device to perform operations further comprising:
transmitting the second audio data to a first listening device using the first wireless protocol or a second wireless protocol.
13 . The first electronic device of claim 12 , wherein the one or more computer readable media storing processor executable instructions which, when executed using the one or more processors, cause the first electronic device to perform operations further comprising:
synchronizing the display of the first video to the transmitting of the second audio data; and
sending, to the remote system, synchronization data corresponding to the display of the first video, the remote system using the synchronization data to cause the second electronic device to synchronize transmitting of the first audio data with the display of the first video.
14 . The first electronic device of claim 12 , wherein the one or more computer readable media storing processor executable instructions which, when executed using the one or more processors, cause the first electronic device to perform operations further comprising:
causing the second electronic device to send the first audio data using a one-to-many wireless protocol, wherein the first electronic device sends the second audio data to the first listening device using a one-to-one wireless protocol.
15 . The first electronic device of claim 12 , wherein the one or more computer readable media storing processor executable instructions which, when executed using the one or more processors, cause the first electronic device to perform operations further comprising:
causing the second electronic device to send the first audio data using a one-to-many wireless protocol, wherein the first electronic device sends the second audio data to the first listening device using the one-to-many wireless protocol.
16 . The first electronic device of claim 10 , wherein the streaming data further includes second audio data representing second audio, and wherein the one or more computer readable media storing processor executable instructions which, when executed using the one or more processors, cause the first electronic device to perform operations further comprising:
sending the second audio data to a first listening device using the first wireless protocol or a second wireless protocol;
wherein the first audio includes speech in a first language and the second audio includes speech in a second language.
17 . The first electronic device of claim 10 , wherein the first electronic device comprises a display and wherein the one or more computer readable media storing processor executable instructions which, when executed using the one or more processors, cause the first electronic device to present the first video on the display.
18 . The first electronic device of claim 10 , wherein the one or more computer readable media storing processor executable instructions which, when executed using the one or more processors, cause the first electronic device to perform operations comprising:
receiving a command to scan output of the first video; and
synchronizing playback of first audio by the second electronic device based at least in part on the command to scan.