mirror of
https://github.com/livekit/livekit.git
synced 2026-10-23 15:12:43 +00:00
Do not parse padding only retransmit packets as VP8 payload. (#185)
This commit is contained in:
1 parent
1e2e53a575
commit
0a20acdf68
1 file changed
+1
-1
@@ -237,7 +237,7 @@ func (d *DownTrack) SetTransceiver(transceiver *webrtc.RTPTransceiver) {
|
||||
}
|
||||
|
||||
func (d *DownTrack) MaybeTranslateVP8(pkt *rtp.Packet, meta packetMeta) error {
|
||||
if d.vp8Munger == nil {
|
||||
if d.vp8Munger == nil || len(pkt.Payload) == 0 {
|
||||
return nil
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user