Skip to content

Commit 29ab0e7

Browse files
committed
rebroadcast: use large rtp packets with ffmpeg for efficient processing
1 parent e07cd13 commit 29ab0e7

File tree

3 files changed

+4
-3
lines changed

3 files changed

+4
-3
lines changed

common/src/rtsp-server.ts

+1
Original file line numberDiff line numberDiff line change
@@ -247,6 +247,7 @@ export function createRtspParser(options?: StreamParserOptions): RtspStreamParse
247247
'tcp',
248248
...(options?.vcodec || []),
249249
...(options?.acodec || []),
250+
'-pkt_size', '64000',
250251
'-f', 'rtsp',
251252
],
252253
findSyncFrame(streamChunks: StreamChunk[]) {

plugins/prebuffer-mixin/package-lock.json

+2-2
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

plugins/prebuffer-mixin/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@scrypted/prebuffer-mixin",
3-
"version": "0.10.39",
3+
"version": "0.10.40",
44
"description": "Video Stream Rebroadcast, Prebuffer, and Management Plugin for Scrypted.",
55
"author": "Scrypted",
66
"license": "Apache-2.0",

0 commit comments

Comments
 (0)