通过蓝牙同步两个 iOS 设备
我不确定这是否可能,但我想我应该问一下。我需要在两个(或更多)ios 设备上同时触发一个事件。现在我使用蓝牙在所有设备上触发事件,但是,正如预期的那样,有一个小的(或不那么小的,取决于许多因素)延迟。
有办法实现这一点吗?或者我应该忘记它?
I'm not sure if this one is even possible, but I thought that I should ask. I need an event to be triggered on two (or more) ios devices at the exact same time. Right now I use Bluetooth to trigger the event on all devices, however, as expected, there is a small (or not so small, depending on many factors) delay.
Is there a way to achieve this? Or should I forget it?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
根据您的要求有多严格,您可以使用 NTP 协议之类的协议来同步设备时钟,然后发送每个设备应触发事件的特定时间。
Depending on how demanding your requirements are, you could use something like the NTP protocol to synchronise the device clocks, and then send a specific time at which each device should trigger the event.