Removed REMB references for publisher (#605)

This commit is contained in:
David Zhao
2022-04-07 18:24:11 -07:00
committed by GitHub
parent a55f3a6921
commit 4475a028b6
6 changed files with 6 additions and 19 deletions
+1 -3
View File
@@ -121,7 +121,7 @@ func (b *Buffer) SetLogger(logger logger.Logger) {
}
}
func (b *Buffer) Bind(params webrtc.RTPParameters, codec webrtc.RTPCodecCapability, o Options) {
func (b *Buffer) Bind(params webrtc.RTPParameters, codec webrtc.RTPCodecCapability) {
b.Lock()
defer b.Unlock()
if b.bound {
@@ -190,8 +190,6 @@ func (b *Buffer) Bind(params webrtc.RTPParameters, codec webrtc.RTPCodecCapabili
}
b.pPackets = nil
b.bound = true
b.logger.Debugw("NewBuffer", "MaxBitRate", o.MaxBitRate)
}
// Write adds an RTP Packet, out of order, new packet may be arrived later