tokbox/Android 上的帧率始终为 30

Framerate is always 30 on tokbox/Android

我有一个 Android 应用程序,它在路由模式下使用 Opentok 和会话流式传输 audio/video。

我正在尝试更改帧率,但这没关系,它始终以 30fps 的速度流式传输。

有什么想法吗?谢谢

otPublisher = new Publisher.Builder(mContext).
                        frameRate(Publisher.CameraCaptureFrameRate.FPS_1).
                        build();

帧率只是对设备的建议。如果设备不支持该捕获帧率,则它将无法工作。来自 TokBox 文档

If the device does not support the specified frame rate, it will use the closest supported frame rate...

https://tokbox.com/developer/sdks/android/reference/com/opentok/android/Publisher.Builder.html#frameRate-com.opentok.android.Publisher.CameraCaptureFrameRate-