开发者

trying to understand Youtube Leanback implementation

开发者 https://www.devze.com 2023-02-15 02:40 出处:网络
in youtube leanback new application I can control the full-screen browser on my computer, using my android phone.

in youtube leanback new application I can control the full-screen browser on my computer, using my android phone. I'm trying to understand - how does it work?

For example, when I press "play" the movie starts playing. Now when I press play, it probably sends "HTTP Post" to the youtube server; how does the youtube server push the request to "play" to the bro开发者_开发百科wser? with push notification? probably not, because it's not a reliable service maybe this application is written with the GAE Channel-API, and then there's a continuous communication between my browser and the server...

Any clue?


I'm quite sure now they use the Channel-API. Might not be the same as is opened for the public with the Google App Engine platform, but since youtube has to do with Google, I think that is how it is done.

0

精彩评论

暂无评论...
验证码 换一张
取 消