Skip to content

Commit

Permalink
e2ee: also enable on p2p connections
Browse files Browse the repository at this point in the history
also enables e2ee on peer-to-peer connections. While a bit unnecessary
it avoids the confusing UX of things working until a third person joins
  • Loading branch information
fippo committed Apr 20, 2020
1 parent e4838d3 commit 2b58502
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/RTC/RTC.js
Original file line number Diff line number Diff line change
Expand Up @@ -506,7 +506,7 @@ export default class RTC extends Listenable {

// FIXME: We should rename iceConfig to pcConfig.

if (!isP2P && browser.supportsInsertableStreams()) {
if (browser.supportsInsertableStreams()) {
logger.debug('E2EE - setting insertable streams constraints');
iceConfig.forceEncodedAudioInsertableStreams = true;
iceConfig.forceEncodedVideoInsertableStreams = true;
Expand Down

0 comments on commit 2b58502

Please sign in to comment.