ICECandidate generates an empty sdpMid for local candidates. If the remote peer doesn't use sdpMLineIndex for locating a media description, all local candidates generated by Pion would be dropped, possibly leading to connectivity check timeout.
Motivation
N/A
Describe alternatives you've considered
N/A
Additional context
aiortc uses sdpMid alone for locating a media description. Since they don't support peer-reflexive candidates, connectivity check timeout occurs with Pion. For this issue, I opened this PR to make aiortc respect sdpMLineIndex.
Summary
ICECandidate
generates an emptysdpMid
for local candidates. If the remote peer doesn't usesdpMLineIndex
for locating a media description, all local candidates generated byPion
would be dropped, possibly leading to connectivity check timeout.Motivation
N/A
Describe alternatives you've considered
N/A
Additional context
aiortc
usessdpMid
alone for locating a media description. Since they don't supportpeer-reflexive
candidates, connectivity check timeout occurs withPion
. For this issue, I opened this PR to makeaiortc
respectsdpMLineIndex
.