googlecast / CastVideos-chrome

Reference Chrome Sender w/ Framework API: CastVideos-chrome application shows how to cast videos from Chrome browser that is fully compliant with the Cast Design Checklist.
Apache License 2.0
281 stars 117 forks source link

Moved timer and Add event trigger #4

Closed KazuakiM closed 7 years ago

KazuakiM commented 7 years ago

Hi, I think that it would be better to switch to remote controller event driven rather than setInterval in Chrome browser. But, I think that it is necessary to check IdleReason.FINISHED. if L452: endPlayback is originally intended, but I did not know how to check it. Please give me advice and review.

KazuakiM commented 7 years ago

I close once to make it a small PR.