Permalink
Browse files

Fix typo

  • Loading branch information...
legastero committed Jan 8, 2019
1 parent b572654 commit 8c59553fbfb5ac8db256c44b8b06f8ef0c010e15
Showing with 5 additions and 2 deletions.
  1. +3 −0 src/jingle/ICESession.js
  2. +2 −2 src/jingle/SessionManager.js
@@ -378,6 +378,9 @@ export default class ICESession extends BaseSession {
if (maximumBitrate === 0) {
delete parameters.encodings[0].maximumBitrate;
} else {
if (!parameters.encodings.length) {
parameters.encodings[0] = {};
}
parameters.encodings[0].maxBitrate = maximumBitrate;
}

@@ -115,7 +115,7 @@ export default class SessionManager extends WildEmitter {
constraints: this.config.peerConnectionConstraints,
iceServers: this.iceServers,
initiator: true,
maxRelayBandwith: MAX_RELAY_BANDWIDTH,
maxRelayBandwidth: MAX_RELAY_BANDWIDTH,
parent: this,
peerID: peer,
sid,
@@ -131,7 +131,7 @@ export default class SessionManager extends WildEmitter {
constraints: this.config.peerConnectionConstraints,
iceServers: this.iceServers,
initiator: true,
maxRelayBandwith: MAX_RELAY_BANDWIDTH,
maxRelayBandwidth: MAX_RELAY_BANDWIDTH,
parent: this,
peerID: peer,
sid

0 comments on commit 8c59553

Please sign in to comment.