auto_join_3.3
Håvar Aambø Fosstveit 2020-04-09 19:09:14 +02:00
parent 0077c459e2
commit 6267f808db
1 changed files with 3 additions and 3 deletions

View File

@ -1136,7 +1136,8 @@ export default class RoomClient
} }
}); });
if(stream){ if (stream)
{
const track = stream.getVideoTracks()[0]; const track = stream.getVideoTracks()[0];
if (track) if (track)
@ -1156,7 +1157,6 @@ export default class RoomClient
}); });
} }
store.dispatch( store.dispatch(
producerActions.setProducerTrack(this._webcamProducer.id, track)); producerActions.setProducerTrack(this._webcamProducer.id, track));
} }