fix:调大帧数据发送速率和网络缓冲区大小

This commit is contained in:
liyi 2025-06-18 15:14:57 +08:00
parent b9258830f2
commit f8847ca483

View File

@ -110,8 +110,8 @@ class TalkViewNativeDecodeState {
// H264帧缓冲区相关
final List<Map<String, dynamic>> h264FrameBuffer = <Map<String, dynamic>>[]; // H264帧缓冲区
final int maxFrameBufferSize = 15; //
final int targetFps = 30; // ,native的缓冲区
final int maxFrameBufferSize = 150; //
final int targetFps = 60; // ,native的缓冲区
Timer? frameProcessTimer; //
bool isProcessingFrame = false; //
int lastProcessedTimestamp = 0; //