mirror of
https://github.com/lkmio/lkm.git
synced 2025-10-05 15:16:49 +08:00
处理rtmp时间戳超过0xFFFFFF的情况
This commit is contained in:
@@ -2,6 +2,7 @@ package stream
|
||||
|
||||
import "math"
|
||||
|
||||
// JitterBuffer 只处理乱序的JitterBuffer
|
||||
type JitterBuffer struct {
|
||||
maxSeqNum uint16
|
||||
minSeqNum uint16
|
||||
@@ -10,9 +11,9 @@ type JitterBuffer struct {
|
||||
count int
|
||||
minStartCount int
|
||||
|
||||
first bool
|
||||
queue []interface{}
|
||||
onPacket func(packet interface{})
|
||||
first bool
|
||||
}
|
||||
|
||||
func (j *JitterBuffer) emit() {
|
||||
|
Reference in New Issue
Block a user