From 5affa8608f90a35686b027b06a4d049b5ce09943 Mon Sep 17 00:00:00 2001
From: "mark a. foltz"
availability sources set.
- The media resource - of a media element, that is used to - initiate remote playback on the selected remote - playback device is called remote playback source. - Remote playback source MUST belong to availability sources + The media resource of + a media element that is used to initiate remote + playback on the selected remote playback device is + called the remote playback source. A remote playback + source MUST belong to the media element's availability sources set.
- The mechanism of picking the availability sources set and - the remote playback source is implementation-specific. For - example, the user agent MUST either use the - {{HTMLMediaElement/currentSrc}} of the media element - for both availability monitoring and remote playback or use all the - media resources - associated with the media element as the - availability sources set and pick one of the resources as - the remote playback source after user selects the - remote playback device. + The mechanism to choose the remote playback source from + the availability sources set is implementation-specific, + but the user agent SHOULD consider every resource in + the availability sources set as a potential remote + playback source. +
++ The user agent may send metadata about all resources in + the availability sources set to the remote playback + device so it can run its own + resource + selection algorithm and choose the remote playback + source.
Remote playback is said to be unavailable for the @@ -1131,14 +1134,14 @@
- The user agent may send metadata about all resources in - the availability sources set to the remote playback - device so it can run its own + The user agent may send metadata (for example, + the extended MIME type) + about all resources in the availability sources set to + the remote playback device so it can run its own resource selection algorithm and choose the remote playback source. @@ -1136,8 +1137,8 @@
- The user agent may send metadata (for example, +
+ If the user agent cannot determine a remote playback source + appropriate for the remote playback device, it is + RECOMMENDED that the user agent send metadata (for example, the extended MIME type) about all resources in the availability sources set to the remote playback device so it can run its own @@ -1013,17 +1026,6 @@
Remote playback is said to be unavailable for the media element if the list of available remote playback - devices is empty or none of them is compatible with any - source from availability sources set for the media + devices is empty or none of them is compatible with any source + from availability sources set for the media element. The remote playback is said to be available otherwise. A `boolean` set to `false` if the remote playback is unavailable