mirror of
https://github.com/Monibuca/engine.git
synced 2025-10-05 16:46:58 +08:00
rtp时间戳计算修改
This commit is contained in:
@@ -95,7 +95,6 @@ func (s *Subscriber) Play(at *AudioTrack, vt *VideoTrack) {
|
||||
case <-streamExit:
|
||||
return
|
||||
default:
|
||||
utils.Println(vp.Timestamp, ap.Timestamp, ap.Timestamp > vp.Timestamp)
|
||||
if ap.Timestamp > vp.Timestamp || ap.Timestamp == 0 {
|
||||
s.OnVideo(vp.Copy(vst))
|
||||
vr.MoveNext()
|
||||
|
Reference in New Issue
Block a user