diff --git a/plugins/prebuffer-mixin/package-lock.json b/plugins/prebuffer-mixin/package-lock.json index c2a7835eb..b45416a39 100644 --- a/plugins/prebuffer-mixin/package-lock.json +++ b/plugins/prebuffer-mixin/package-lock.json @@ -1,12 +1,12 @@ { "name": "@scrypted/prebuffer-mixin", - "version": "0.1.182", + "version": "0.1.183", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "@scrypted/prebuffer-mixin", - "version": "0.1.182", + "version": "0.1.183", "license": "Apache-2.0", "dependencies": { "@scrypted/common": "file:../../common", diff --git a/plugins/prebuffer-mixin/package.json b/plugins/prebuffer-mixin/package.json index bb7bd6f45..224fc0020 100644 --- a/plugins/prebuffer-mixin/package.json +++ b/plugins/prebuffer-mixin/package.json @@ -1,6 +1,6 @@ { "name": "@scrypted/prebuffer-mixin", - "version": "0.1.182", + "version": "0.1.183", "description": "Rebroadcast and Prebuffer for VideoCameras.", "author": "Scrypted", "license": "Apache-2.0", diff --git a/plugins/prebuffer-mixin/src/main.ts b/plugins/prebuffer-mixin/src/main.ts index 044b6bb17..9ee52657e 100644 --- a/plugins/prebuffer-mixin/src/main.ts +++ b/plugins/prebuffer-mixin/src/main.ts @@ -483,7 +483,8 @@ class PrebufferSession { // the HomeKit plugin was blasting RTP packets out from RTSP mode, // but the bitstream had no SPS/PPS information, resulting in the video never loading // in the Home app. - ffmpegInput.inputArguments.push('-bsf:v', 'dump_extra'); + if (rtspMode) + ffmpegInput.inputArguments.push('-bsf:v', 'dump_extra'); session = await startParserSession(ffmpegInput, rbo); } }