openvidu-browser: Fixed method invocation
Te condition always is returned true because the method is declared
This commit is contained in:
parent
64e5bccaf7
commit
6dba08afe4
@ -779,7 +779,7 @@ export class Stream extends EventDispatcher {
|
||||
if (!this.getWebRtcPeer() || !this.getRTCPeerConnection()) {
|
||||
return false;
|
||||
}
|
||||
if (this.isLocal && !!this.session.openvidu.advancedConfiguration.forceMediaReconnectionAfterNetworkDrop) {
|
||||
if (this.isLocal() && !!this.session.openvidu.advancedConfiguration.forceMediaReconnectionAfterNetworkDrop) {
|
||||
logger.warn('OpenVidu Browser advanced configuration option "forceMediaReconnectionAfterNetworkDrop" is enabled. Publisher stream ' + this.streamId + 'will force a reconnection');
|
||||
return true;
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user