Fix ice-lite attribute

Fixes #2195
This commit is contained in:
Yutaka Takeda
2022-04-27 15:35:38 -07:00
parent 2cc6ea01ba
commit 9f990dbca4
2 changed files with 21 additions and 1 deletions

2
sdp.go
View File

@@ -538,7 +538,7 @@ func populateSDP(d *sdp.SessionDescription, isPlanB bool, dtlsFingerprints []DTL
if isICELite {
// RFC 5245 S15.3
d = d.WithValueAttribute(sdp.AttrKeyICELite, sdp.AttrKeyICELite)
d = d.WithValueAttribute(sdp.AttrKeyICELite, "")
}
return d.WithValueAttribute(sdp.AttrKeyGroup, bundleValue), nil