Skip to content

Commit 130732d

Browse files
authored
Firefox compatible
1 parent 6297764 commit 130732d

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

step-06/js/main.js

+3-1
Original file line numberDiff line numberDiff line change
@@ -160,8 +160,10 @@ function signalingMessageCallback(message) {
160160

161161
} else if (message.type === 'candidate') {
162162
peerConn.addIceCandidate(new RTCIceCandidate({
163+
sdpMLineIndex: message.label,
164+
sdpMid: message.id,
163165
candidate: message.candidate
164-
}));
166+
}));// Firefox compatible
165167

166168
} else if (message === 'bye') {
167169
// TODO: cleanup RTC connection?

0 commit comments

Comments
 (0)