Android 多设备视频同步
我需要在 6 个不同的 Android 设备上播放 6 个不同的视频,并让视频在启动后保持同步。
任何人都可以为我指出一个可能的解决方案的正确方向,一些示例代码,甚至一个关键字都会有用,因为“视频同步”往往只是在设备和计算机之间同步个人视频。
提前致谢。
I need to play 6 different videos on 6 different android devices and have the videos stay in synch once started.
Can anybody point me in the right direction to a possible solution, some sample code, even a keyword would be useful since "video sync" tends to just bring up syncing personal videos between device and computer.
Thanks in advance.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
https://play.google.com/store/apps/details ?id=org.cbase.blinkendroid
似乎可以完成这项工作,然后再做一些。不过还没试过。
他们在某处也有一个谷歌代码页。
https://play.google.com/store/apps/details?id=org.cbase.blinkendroid
Seems to do the job, and then some. Haven't tried it though.
They have a google code page somewhere too.
我也有类似的需求,一直在思考如何去做。您将需要一些服务器端代码。这就是我现在正在考虑的:
在服务器上提供一项服务,该服务从设备获取时间戳,并根据设备时间和服务器时间之间的增量将调整后的开始时间返回给设备。换句话说,绝对开始时间将来自服务器。
我还没有尝试过,但我认为它可能会起作用。
I have a similar need that I've been thinking about how to do it. You'll need some server side code. This is what I'm considering right now:
Have a service on the server that takes in a time stamp from the device and returns an adjusted start time back to the device, based off the delta between the device time and the server time. In other words, the absolute start time would come from the server.
I haven't tried this yet, but I think it might work.