Skip to content

Commit 6bcfad7

Browse files
ice: add an empty user fragment to the ICE
1 parent 7a9d145 commit 6bcfad7

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

pkg/conference/matrix.go

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -87,9 +87,10 @@ func (c *Conference) onCandidates(participantID ParticipantID, ev *event.CallCan
8787
for i, candidate := range ev.Candidates {
8888
SDPMLineIndex := uint16(candidate.SDPMLineIndex)
8989
candidates[i] = webrtc.ICECandidateInit{
90-
Candidate: candidate.Candidate,
91-
SDPMid: &candidate.SDPMID,
92-
SDPMLineIndex: &SDPMLineIndex,
90+
Candidate: candidate.Candidate,
91+
SDPMid: &candidate.SDPMID,
92+
SDPMLineIndex: &SDPMLineIndex,
93+
UsernameFragment: new(string),
9394
}
9495
}
9596

0 commit comments

Comments
 (0)