[remote-playback] Specify the transition between the local and remote playback when changing remote.state

avayvod has just created a new issue for 
https://github.com/w3c/remote-playback:

== Specify the transition between the local and remote playback when 
changing remote.state ==
A spin-off from the issue #3:
- when the <code>state</code> is "disconnected" or "connecting", all 
interaction with HTMLMediaElement is forwarded to/from the local 
player
- when the <code>state</code> is "connected", all interaction with 
HTMLMediaElement is forwarded to/from the remote player
- when the <code>state</code> changes from "connecting" to 
"connected", the last known state of the local player is passed to the
 remote player
- when the <code>state</code> changes from "connected" to 
"disconnected", last known state of the remote player is passed to the
 local player

@foolip are there any methods we'd need to disable in "connecting" 
state? (for example, pause() is allowed but play() could be rejected)?

Please view or discuss this issue at 
https://github.com/w3c/remote-playback/issues/25 using your GitHub 
account

Received on Tuesday, 10 May 2016 20:53:55 UTC