[Cast, Android] Reimplement ReceiverAction.CAST message for the new cast_sender.js
BUG=580113 TEST=e2e tests with replacing the current script with the new one. For Chrome 50, the new version of cast_sender.js will be served that doesn't use PresentationRequest.join("_receiver-action") to get the receiver action event. Instead, the PresentationConnection is returned immediately after the user picked a device for PresentationRequest.start() and the receiver action message is sent back to the page via the corresponding MediaRoute. This in particular means the route will exist without the CastSession and some messages need to be handled by CastMediaRouteProvider, as well as queued until "client_connected" is sent to the route. Review URL: https://codereview.chromium.org/1614023002 Cr-Commit-Position: refs/heads/master@{#371780}
Showing
Please register or sign in to comment