Re: [remote-playback] Add "connecting" to the RemotePlaybackState enum

Adding this sounds good, but I agree that throwing exceptions sounds 
weird. Can't the handover be atomic, so that all commands are applied 
either locally or sent to the remote?

Also, is "once start() is resolved, the state changes to `connecting`"
 correct? Shouldn't the state be `connecting` *until* start() is 
resolved, and `connected` once resolved? Make sure to define the 
precise timing of when the state changes and promise is resolved :) 
Ideally it shouldn't be possible to observe any inconsistent state, 
i.e. the promise is resolved exactly as the observable state changes.

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

Received on Tuesday, 26 January 2016 03:54:05 UTC