Don't wait for local media
This commit is contained in:
@@ -1637,10 +1637,10 @@ export default class RoomClient
|
|||||||
if (this._produce)
|
if (this._produce)
|
||||||
{
|
{
|
||||||
if (this._mediasoupDevice.canProduce('audio'))
|
if (this._mediasoupDevice.canProduce('audio'))
|
||||||
await this.enableMic();
|
this.enableMic();
|
||||||
|
|
||||||
if (joinVideo && this._mediasoupDevice.canProduce('video'))
|
if (joinVideo && this._mediasoupDevice.canProduce('video'))
|
||||||
await this.enableWebcam();
|
this.enableWebcam();
|
||||||
}
|
}
|
||||||
|
|
||||||
store.dispatch(stateActions.setRoomState('connected'));
|
store.dispatch(stateActions.setRoomState('connected'));
|
||||||
|
|||||||
Reference in New Issue
Block a user