Fix frame rate for extra video (#1002)

This commit is contained in:
Astagor 2022-05-10 23:57:08 +02:00 committed by GitHub
parent 61db9e3739
commit 0948035389
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -4283,7 +4283,7 @@ export default class RoomClient
try
{
const device = this._webcams[videoDeviceId];
const { resolution, aspectRatio } = store.getState().settings;
const { resolution, aspectRatio, frameRate } = store.getState().settings;
if (!device)
throw new Error('no webcam devices');
@ -4293,7 +4293,8 @@ export default class RoomClient
video :
{
deviceId : { ideal: videoDeviceId },
...getVideoConstrains(resolution, aspectRatio)
...getVideoConstrains(resolution, aspectRatio),
frameRate
}
});