Skip to content

Commit

Permalink
fix(JSPC): fix addIceCandidate crash on FF
Browse files Browse the repository at this point in the history
  • Loading branch information
paweldomas committed Feb 27, 2017
1 parent c74b188 commit 9172dd4
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion modules/xmpp/JingleSessionPC.js
Original file line number Diff line number Diff line change
Expand Up @@ -394,7 +394,10 @@ export default class JingleSessionPC extends JingleSession {
// FIXME this code does not care to handle non-bundle transport
const rtcCandidate = new RTCIceCandidate({
sdpMLineIndex: 0,
sdpMid: "audio",
// FF comes up with more complex names like audio-23423,
// Given that it works on both Chrome and FF without
// providing it, let's leave it like this for the time being
//sdpMid: "audio",
candidate: line
});
// Will delay the addition until the remoteDescription is set
Expand Down

0 comments on commit 9172dd4

Please sign in to comment.