rebroadcast: use large rtp packets with ffmpeg for efficient processing

This commit is contained in:
Koushik Dutta
2025-01-02 08:58:15 -08:00
parent e07cd13ef3
commit 29ab0e79de
3 changed files with 4 additions and 3 deletions

View File

@@ -247,6 +247,7 @@ export function createRtspParser(options?: StreamParserOptions): RtspStreamParse
'tcp',
...(options?.vcodec || []),
...(options?.acodec || []),
'-pkt_size', '64000',
'-f', 'rtsp',
],
findSyncFrame(streamChunks: StreamChunk[]) {