Skip to content

Commit

Permalink
Properly set RTCPFeedback in trackMultiCodec
Browse files Browse the repository at this point in the history
Resolves #53
  • Loading branch information
Sean-Der committed Apr 19, 2024
1 parent a75299f commit b751fb8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/webrtc/track_multi_codec.go
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit b751fb8

Please sign in to comment.