getUserMedia() Limited to 60 FPS Despite Camera Supporting 120 FPS

101 views
Skip to first unread message

Terry Lo

unread,
Jun 13, 2025, 6:06:07 AM6/13/25
to discuss-webrtc

I am experiencing an issue where navigator.mediaDevices.getUserMedia() returns a video stream limited to approximately 60 FPS, despite my camera (ACER WVGA 120fps User Facing) and system supporting 120 FPS. My setup includes a 165 Hz display, and I am using Chrome (version [insert your version]) on [insert OS, e.g., Windows 11].

Steps to Reproduce:

  1. Set constraints to { video: { width: 640, height: 360, frameRate: { exact: 120 } } }.
  2. Use navigator.mediaDevices.getUserMedia() to access the camera.
  3. Process the stream with MediaStreamTrackProcessor and measure actual frame intervals.
  4. Observe that the frame rate stabilizes around 60-66 FPS (frame intervals ~15-16 ms), even though the camera reports support for 120 FPS (confirmed via a camera FPS test tool).


Please advise if this is an intended limitation or a bug. Suggestions for enabling 120 FPS or pointers to relevant documentation would be appreciated.




Harald Alvestrand

unread,
Jun 13, 2025, 6:10:00 AM6/13/25
to discuss...@googlegroups.com
Before going further, can you fill in the details where the template says "Chrome (version [insert your version]) on [insert OS, e.g., Windows 11]."?

Different OSes have different limitations, the Chrome version may matter, and I don't think we've done much testing for 120hz support.

--
This list falls under the WebRTC Code of Conduct - https://webrtc.org/support/code-of-conduct.
---
You received this message because you are subscribed to the Google Groups "discuss-webrtc" group.
To unsubscribe from this group and stop receiving emails from it, send an email to discuss-webrt...@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/discuss-webrtc/aec14178-5bc0-4c73-a794-b2a930701d9en%40googlegroups.com.

Philipp Hancke

unread,
Jun 13, 2025, 2:44:16 PM6/13/25
to discuss...@googlegroups.com

Terry Lo

unread,
Jun 16, 2025, 4:02:48 AM6/16/25
to discuss-webrtc
The code is as attached: getUserMedia_0616.txt
Chrome version:137.0.7151.104 (Official Build) (64-bit)
OS:Windos 11 Pro


2025-06-16 100332.png



2025-06-16 095431.png

Philipp Hancke 在 2025年6月14日 星期六凌晨2:44:16 [UTC+8] 的信中寫道:
getUserMedia_0616.txt

Terry Lo

unread,
Jun 16, 2025, 4:02:53 AM6/16/25
to discuss-webrtc
The code is as attached: getUserMedia_0616.txt
Chrome version:137.0.7151.104 (Official Build) (64-bit)
OS:Windos 11 Pro

Philipp Hancke 在 2025年6月14日 星期六凌晨2:44:16 [UTC+8] 的信中寫道:
2025-06-16 100332.png
getUserMedia_0616.txt
2025-06-16 095431.png
Reply all
Reply to author
Forward
0 new messages