Skip to content
Permalink
Browse files

Fix mline index lookup

  • Loading branch information...
legastero committed Mar 31, 2019
1 parent 6b93a80 commit 78a4080ce3fbed691bb866e2a468756dd92550cd
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/jingle/ICESession.js
@@ -135,7 +135,7 @@ export default class ICESession extends BaseSession {
const remoteSDP = this.pc.remoteDescription.sdp;
const mediaSections = SDPUtils.getMediaSections(remoteSDP);
for (let i = 0; i < mediaSections.length; i++) {
if (SDPUtils.getMid(mediaSections[i]) === candidate.sdpMid) {
if (SDPUtils.getMid(mediaSections[i]) === sdpMid) {
sdpMLineIndex = i;
break;
}

0 comments on commit 78a4080

Please sign in to comment.
You can’t perform that action at this time.