progress with forwarder and peer
This commit is contained in:
+1
-1
@@ -432,7 +432,7 @@ func (b *Buffer) WritePacket(sn uint16, track *webrtc.Track, snOffset uint16, ts
|
||||
bufferPkt.SSRC = bSsrc
|
||||
return err
|
||||
}
|
||||
return errPacketNotFound
|
||||
return ErrPacketNotFound
|
||||
}
|
||||
|
||||
func (b *Buffer) onLostHandler(fn func(nack *rtcp.TransportLayerNack)) {
|
||||
|
||||
+1
-1
@@ -11,6 +11,6 @@ var (
|
||||
errShortPacket = errors.New("packet is not large enough")
|
||||
errNilPacket = errors.New("invalid nil packet")
|
||||
// buffer errors
|
||||
errPacketNotFound = errors.New("packet not found in cache")
|
||||
ErrPacketNotFound = errors.New("packet not found in cache")
|
||||
errPacketTooOld = errors.New("packet not found in cache, too old")
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user