auto_join_3.3
Håvar Aambø Fosstveit 2020-05-22 16:05:44 +02:00
parent 359bfac450
commit 2e3749cafe
1 changed files with 8 additions and 0 deletions

View File

@ -1218,6 +1218,10 @@ export default class RoomClient
([ track ] = stream.getAudioTracks()); ([ track ] = stream.getAudioTracks());
const { deviceId: trackDeviceId } = track.getSettings();
store.dispatch(settingsActions.setSelectedAudioDevice(trackDeviceId));
this._micProducer = await this._sendTransport.produce( this._micProducer = await this._sendTransport.produce(
{ {
track, track,
@ -1386,6 +1390,10 @@ export default class RoomClient
([ track ] = stream.getVideoTracks()); ([ track ] = stream.getVideoTracks());
const { deviceId: trackDeviceId } = track.getSettings();
store.dispatch(settingsActions.setSelectedWebcamDevice(trackDeviceId));
if (this._useSimulcast) if (this._useSimulcast)
{ {
// If VP9 is the only available video codec then use SVC. // If VP9 is the only available video codec then use SVC.