fix: revert recent changes to determine simulcast from sdp (#3565)
* Revert "Audio uses signal SignalCid and SdpCid. (#3564)" This reverts commitcdfbb106d1. * Revert "Keep simulcast information tied to receiver. (#3563)" This reverts commited5e2f16b2. * Revert "chore(logs): log VLS type for VP9/AV1 (#3561)" This reverts commitad010cfc43. * Revert "fix(video): determine svc/simulcast from SDP for advanced codecs (#3549)" This reverts commit15f565510c. * chore(deps): update protocol
This commit is contained in:
@@ -141,12 +141,7 @@ func (p *ParticipantImpl) setCodecPreferencesVideoForPublisher(offer webrtc.Sess
|
||||
}
|
||||
var mimeType string
|
||||
for _, c := range info.Codecs {
|
||||
// this is reading streamID from SDP which is technically SDP cid,
|
||||
// but it is not set in TrackInfo by the time this is checked,
|
||||
// hence the check on signal cid.
|
||||
// As a result, this will fail for clients that use different cid
|
||||
// while signalling and while doing negotiation (e. g. Firefox)
|
||||
if c.SignalCid == streamID {
|
||||
if c.Cid == streamID {
|
||||
mimeType = c.MimeType
|
||||
break
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user