From b751fb8c21a103cd4d9c600e69063a9c714beba0 Mon Sep 17 00:00:00 2001 From: Sean DuBois Date: Thu, 18 Apr 2024 23:23:08 -0400 Subject: [PATCH] Properly set RTCPFeedback in trackMultiCodec Resolves #53 --- internal/webrtc/track_multi_codec.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/webrtc/track_multi_codec.go b/internal/webrtc/track_multi_codec.go index f7627a4..7393960 100644 --- a/internal/webrtc/track_multi_codec.go +++ b/internal/webrtc/track_multi_codec.go @@ -32,7 +32,7 @@ func (t *trackMultiCodec) Bind(ctx webrtc.TrackLocalContext) (webrtc.RTPCodecPar } } - return webrtc.RTPCodecParameters{RTPCodecCapability: webrtc.RTPCodecCapability{MimeType: webrtc.MimeTypeH264}}, nil + return webrtc.RTPCodecParameters{RTPCodecCapability: webrtc.RTPCodecCapability{MimeType: webrtc.MimeTypeH264, RTCPFeedback: videoRTCPFeedback}}, nil } func (t *trackMultiCodec) Unbind(webrtc.TrackLocalContext) error {