Re: [remote-playback] RemotePlaybackState enum can become misleading when changing media.src (#125)

Having a quick look at the spec again, I would like to propose this simple addition:
When the device is in the `connecting` state (ie. `prompt()` isn't resolved), if the user agent detects that the remote device doesn't support the source of the local playback, it can fire an event named `src-not-supported`. If the source of the media element is changed in the event handler, the user agent may attempt to connect again (while keeping the observable state to `connecting`). The promise should then be resolved and the state updated to either `connected` or `disconnected`.

@jernoble WDYT?

-- 
GitHub Notification of comment by mounirlamouri
Please view or discuss this issue at https://github.com/w3c/remote-playback/issues/125#issuecomment-576978079 using your GitHub account

Received on Wednesday, 22 January 2020 02:23:27 UTC