Description
Hi all,
i get an error in my custom receiver app. Maybe its a faulty configuration in Google Cast SDK Developer Console. So I receive no messages from custom receiver app to sender app.
-
What version of Shaka Player are you using?
2.0.5 -
Are you using the demo app or your own custom app?
Demo app adapted to own player. (Receiver-App / Shakaplayer) -
If custom app, can you reproduce the issue using our demo app?
Yes, I registred a receiver-app with source from: 'https://shaka-player-demo.appspot.com/demo/receiver_app.html'.
So i can debugging this application. -
What browser and OS are you using?
Mac 10.11.6 / Chromecast Firmware: 1.22.78337 / Google Chrome Version 56.0.2924.87 -
What did you do?
- I implemented Shaka-Demo-Player in my application. That's works well.
- I tried Google Cast with demo receiverapp CC_APP_ID_ 658CCD53. That's works well, too.
- I registered my custom receiver-app. Get demo files: receiver_app.css, receiver_app.html, receiver_app.js + controls.js, demo_utils.js + shaka player 2.0.5 compiled script.
- I changed the CC_APP_ID_ to my custom receiver-app id. Videos are playing, but i get no messages (information about playback) from my castdevice / proxy.
- I tried a second custom receiver-app with hosted URL to 'http://shaka-player-demo.appspot.com/demo/receiver_app.html'
- Same problem/error like the first custom receiver-app.
-
What did you expect to happen?
Sender App (Google Chrome Browser) should show video information from receiver-app like currentTime, duration and i want to interact my video over sender app/browser over seekbar. -
What actually happened?
I don't get information about duration, currentTime from receiver-app to sender-app. So i cant control video on Chromecast except volume. I debugged receiver-app and get this error:
Compiled version:
Exception: TypeError: this.a[b] is not a function at B.
b: "getPlayheadTimeAsDate"
Source of error: https://github.com/google/shaka-player/blob/master/lib/cast/cast_receiver.js#L328
I think the events don't fire because of this error. (https://github.com/google/shaka-player/blob/87c7d5d6651fe4f6f03de84d77c920e91c34a107/lib/cast/cast_utils.js#L111)
Why can i interactive with the Shaka Demo receiver app (Id:658CCD53)? Maybe hosted URL isn't 'http://shaka-player-demo.appspot.com/demo/receiver_app.html'... I don't get it.
I hope someone can help me.
Best regards,
molethiaz