mirror of
https://github.com/edumeet/edumeet.git
synced 2026-01-23 02:34:58 +00:00
Fix frame rate for extra video (#1002)
This commit is contained in:
parent
61db9e3739
commit
0948035389
1 changed files with 3 additions and 2 deletions
|
|
@ -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
|
||||
}
|
||||
});
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue