Skip to content

Commit

Permalink
Firefox compatible
Browse files Browse the repository at this point in the history
  • Loading branch information
limhi authored Jun 15, 2017
1 parent 6297764 commit 130732d
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion step-06/js/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -160,8 +160,10 @@ function signalingMessageCallback(message) {

} else if (message.type === 'candidate') {
peerConn.addIceCandidate(new RTCIceCandidate({
sdpMLineIndex: message.label,
sdpMid: message.id,
candidate: message.candidate
}));
}));// Firefox compatible

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

0 comments on commit 130732d

Please sign in to comment.