This commit is contained in:
Håvar Aambø Fosstveit
2020-05-22 16:05:44 +02:00
parent 359bfac450
commit 2e3749cafe
+8
View File
@@ -1218,6 +1218,10 @@ export default class RoomClient
([ track ] = stream.getAudioTracks());
const { deviceId: trackDeviceId } = track.getSettings();
store.dispatch(settingsActions.setSelectedAudioDevice(trackDeviceId));
this._micProducer = await this._sendTransport.produce(
{
track,
@@ -1386,6 +1390,10 @@ export default class RoomClient
([ track ] = stream.getVideoTracks());
const { deviceId: trackDeviceId } = track.getSettings();
store.dispatch(settingsActions.setSelectedWebcamDevice(trackDeviceId));
if (this._useSimulcast)
{
// If VP9 is the only available video codec then use SVC.