Skip to content

Commit 92df4bf

Browse files
committed
Include msid-semantic in Session Attributes
Chrome doesn't include the msid when responding to recvonly transceivers See crbug[0] for discussion [0] https://issues.chromium.org/u/1/issues/328522463
1 parent 659507c commit 92df4bf

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

peerconnection.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2318,6 +2318,7 @@ func (pc *PeerConnection) generateUnmatchedSDP(transceivers []*RTPTransceiver, u
23182318
if err != nil {
23192319
return nil, err
23202320
}
2321+
d.Attributes = append(d.Attributes, sdp.Attribute{Key: sdp.AttrKeyMsidSemantic, Value: "WMS*"})
23212322

23222323
iceParams, err := pc.iceGatherer.GetLocalParameters()
23232324
if err != nil {
@@ -2390,6 +2391,7 @@ func (pc *PeerConnection) generateMatchedSDP(transceivers []*RTPTransceiver, use
23902391
if err != nil {
23912392
return nil, err
23922393
}
2394+
d.Attributes = append(d.Attributes, sdp.Attribute{Key: sdp.AttrKeyMsidSemantic, Value: "WMS*"})
23932395

23942396
iceParams, err := pc.iceGatherer.GetLocalParameters()
23952397
if err != nil {

0 commit comments

Comments
 (0)