mirror of
https://github.com/signalwire/freeswitch.git
synced 2026-10-31 07:34:19 +00:00
FS-8641 need to set min and max for less than 30 but if you set min and max to 30 and it doesn't support it it will fail, (maybe design these FPS params a little better webrtc politicians)
This commit is contained in:
1 parent
83c5294427
commit
2c7d53030c
2 files changed
+6
-3
No files matched your search
@@ -558,8 +558,11 @@
|
||||
video.optional.push({sourceId: obj.options.useCamera});
|
||||
}
|
||||
|
||||
if (bestFrameRate && !window.moz) {
|
||||
video.optional.push({minFrameRate: bestFrameRate});
|
||||
if (bestFrameRate) {
|
||||
video.optional.push({minFrameRate: bestFrameRate});
|
||||
if (bestFrameRate < 30) {
|
||||
video.optional.push({maxFrameRate: bestFrameRate});
|
||||
}
|
||||
}
|
||||
|
||||
} else {
|
||||
|
||||
Reference in new issue
Block a user