The spec says:
When the disableRemotePlayback attribute is added to the media element, the user agent must run these steps:
Reject any pending promises returned by the RemotePlayback methods with InvalidStateError.
Clear the set of availability callbacks for the media element.
If its state is not disconnected, run the disconnect from remote playback device algorithm for the remote playback device the media element is connected or connecting to.
[ https://w3c.github.io/remote-playback/#disabling-remote-playback ]
Comment 1 by bugdroid1@chromium.org
, Oct 20 2016