Fixes #413
This commit is contained in:
@@ -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.
|
||||||
|
|||||||
Reference in New Issue
Block a user