Double-end time delay alignment method and device, server and storage medium
The embodiment of the invention discloses a double-end time delay alignment method and device, a server and a storage medium. The double-end time delay alignment method comprises the steps that a first terminal sends a first data packet to a second terminal at a first moment; the first terminal rece...
Saved in:
Main Authors | , , , , |
---|---|
Format | Patent |
Language | Chinese English |
Published |
14.08.2020
|
Subjects | |
Online Access | Get full text |
Cover
Loading…
Summary: | The embodiment of the invention discloses a double-end time delay alignment method and device, a server and a storage medium. The double-end time delay alignment method comprises the steps that a first terminal sends a first data packet to a second terminal at a first moment; the first terminal receives a second data packet sent by the second terminal and a third moment when the second data packetis sent at the second moment; the first terminal obtains a reference moment offset based on the first moment, the second moment and the third moment, and determines correction start time of the firstterminal according to the reference moment offset and the initial time; and the data are played at the correction start time. By adopting the method and the device, the double-end receiving delay duration can be effectively shortened.
本申请实施例公开了一种双端时延对齐方法及装置、服务器、存储介质,包括:第一终端在第一时刻向第二终端发送第一数据包;第一终端在第二时刻接收到第二终端发送的第二数据包及发送第二数据包的第三时刻;第一终端基于第一时刻、第二时刻和第三时刻得到基准时刻偏移量,根据基准时刻偏移量与初始时间确定第一终端的修正开始时间;在修正开始时间播放数据。采用本申请,可以有效缩短双端接收延迟时长。 |
---|---|
Bibliography: | Application Number: CN202010345606 |