Description
-
What version of Shaka Player are you using? 2.1.0
- Can you reproduce the issue with our latest release version? Yes
- Can you reproduce the issue with the latest code from
master
? Yes
-
Are you using the demo app or your own custom app? Custom app
- If custom app, can you reproduce the issue using our demo app? This case it's not avalaible on demo app
-
What browser and OS are you using?
Chrome 58 on Ubuntu 17.04
Error:
Create a CastProxy (and init the player) and load any manifest (eg: https://storage.googleapis.com/shaka-demo-assets/sintel/dash.mpd). Cast (canCast() returns true)and reproduce some seconds and destroy the player (shakaControl.player_.unload()) and then remove video tag of the current DOM (using components with AngularJS). Note: Cast Receiver is avalaible.
Next, add a new video tag (reusing the same component but, inserting it again in the dom), create a new CastProxy (and init the player) and load any manifest (eg: https://storage.googleapis.com/shaka-demo-assets/tos-ttml/dash.mpd). Now canCast() return false and it doesn't reuse the previous conection that it's available.
Note: if I reload the page instead of the previous, it's works.