Add RTX to downstream (#3247)

* Add RTX to downstream

* test
This commit is contained in:
Raja Subramanian
2024-12-13 09:57:03 +05:30
committed by GitHub
parent 79eda6b72b
commit 789d0484e2
6 changed files with 72 additions and 28 deletions
+1 -1
View File
@@ -3017,7 +3017,7 @@ func (p *ParticipantImpl) setupEnabledCodecs(publishEnabledCodecs []*livekit.Cod
func (p *ParticipantImpl) GetEnabledPublishCodecs() []*livekit.Codec {
codecs := make([]*livekit.Codec, 0, len(p.enabledPublishCodecs))
for _, c := range p.enabledPublishCodecs {
if c.Mime == "video/rtx" {
if strings.EqualFold(c.Mime, webrtc.MimeTypeRTX) {
continue
}
codecs = append(codecs, c)