Chromium Code Reviews
Description[Media Router] Allow casting new media to sink with existing route.
This change allows for one button push to stop casting to a sink and
then immediately create a new route to the same sink with the selected
source. The makes the user experience smoother by not making them stop
the current cast and then start a new one manually in two stops.
Some shortcomings of this change that will be addressed in the future:
- At least for mirroring, it's possible to avoid stopping the route and
just switch the stream sources. This probably requires adding a new
API to the extension.
- The button will currently allow users to re-cast the current source,
stopping the current route and starting a new one, even though this
isn't necessary. When both the old and new sources are tabs, the tab
IDs could be checked, but other cases would have to be handled in MR
or the extension.
BUG=614144
NOTRY=true
NOPRESUBMIT=true
Review-Url: https://codereview.chromium.org/2002293003
Cr-Commit-Position: refs/heads/master@{#397457}
(cherry picked from commit 4680358215ff217eb6b0073c4be2243738369957)
Patch Set 1 #Messages
Total messages: 12 (5 generated)
|