add missing strings.EqualFold for some mimeType comparisons (#2701)

This commit is contained in:
Antti Tapaninen
2024-05-04 11:47:29 +05:30
committed by GitHub
parent 26c2f7cd9a
commit 45ed030ce6
3 changed files with 5 additions and 4 deletions
+1 -1
View File
@@ -469,7 +469,7 @@ func (t *MediaTrackReceiver) AddSubscriber(sub types.LocalParticipant) (types.Su
codec := receiver.Codec()
var found bool
for _, pc := range potentialCodecs {
if codec.MimeType == pc.MimeType {
if strings.EqualFold(codec.MimeType, pc.MimeType) {
found = true
break
}