跟随engine修改

This commit is contained in:
langhuihui
2021-02-23 13:18:57 +08:00
parent 238e00fb1d
commit bccac4b296
3 changed files with 12 additions and 16 deletions

View File

@@ -178,7 +178,7 @@ func (rtc *WebRTC) Publish(streamPath string) bool {
if err = pack.Unmarshal(b[:i]); err != nil {
return
}
etrack.Push(pack.Timestamp, pack.Payload)
etrack.PushRTP(pack)
}
})
} else {