This repository was archived by the owner on Oct 25, 2024. It is now read-only.
File tree Expand file tree Collapse file tree 3 files changed +4
-4
lines changed
Expand file tree Collapse file tree 3 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -466,7 +466,7 @@ export class ConferencePeerConnectionChannel extends EventDispatcher {
466466
467467 _rejectPromise ( error ) {
468468 if ( ! error ) {
469- const error = new ConferenceError ( 'Connection failed or closed.' ) ;
469+ error = new ConferenceError ( 'Connection failed or closed.' ) ;
470470 }
471471 // Rejecting corresponding promise if publishing and subscribing is ongoing.
472472 if ( this . _publishPromise ) {
Original file line number Diff line number Diff line change @@ -33,7 +33,7 @@ export class RemoteMixedStream extends StreamModule.RemoteStream {
3333
3434 this . settings = StreamUtilsModule . convertToPublicationSettings ( info . media ) ;
3535
36- this . capabilities = new StreamUtilsModule . convertToSubscriptionCapabilities (
36+ this . capabilities = StreamUtilsModule . convertToSubscriptionCapabilities (
3737 info . media ) ;
3838 }
3939}
Original file line number Diff line number Diff line change @@ -11,7 +11,7 @@ import * as PublicationModule from '../base/publication.js';
1111import * as MediaFormatModule from '../base/mediaformat.js' ;
1212import * as CodecModule from '../base/codec.js' ;
1313import * as SubscriptionModule from './subscription.js' ;
14-
14+ import Logger from '../base/logger.js' ;
1515
1616/**
1717 * @function extractBitrateMultiplier
@@ -21,7 +21,7 @@ import * as SubscriptionModule from './subscription.js';
2121 */
2222function extractBitrateMultiplier ( input ) {
2323 if ( typeof input !== 'string' || ! input . startsWith ( 'x' ) ) {
24- L . Logger . warning ( 'Invalid bitrate multiplier input.' ) ;
24+ Logger . warning ( 'Invalid bitrate multiplier input.' ) ;
2525 return 0 ;
2626 }
2727 return Number . parseFloat ( input . replace ( / ^ x / , '' ) ) ;
You can’t perform that action at this time.
0 commit comments