How to change framerate when using MediaRecorder Class

后端 未结 1 741
我寻月下人不归
我寻月下人不归 2021-02-09 01:20

I try to record video using MediaRecorder Class.

However I find out that I failed to lower the framerate of the video stream.

I\'m using H.264 as my Video Encode

相关标签:
1条回答
  • 2021-02-09 01:46

    I have just ran into this too. From the docs (bold mine):

    On some devices that have auto-frame rate, this sets the maximum frame rate, not a constant frame rate. Actual frame rate will vary according to lighting conditions.

    So it looks like you can't really control the frame rate. The number you set is used like a hint.

    0 讨论(0)
提交回复
热议问题