rebroadcast: Fix reversed logic

This commit is contained in:
Koushik Dutta
2022-05-18 18:40:53 -07:00
parent d7af1bf898
commit 77f1d7140a
3 changed files with 4 additions and 4 deletions

View File

@@ -1,12 +1,12 @@
{
"name": "@scrypted/prebuffer-mixin",
"version": "0.9.4",
"version": "0.9.5",
"lockfileVersion": 2,
"requires": true,
"packages": {
"": {
"name": "@scrypted/prebuffer-mixin",
"version": "0.9.4",
"version": "0.9.5",
"license": "Apache-2.0",
"dependencies": {
"@scrypted/common": "file:../../common",

View File

@@ -1,6 +1,6 @@
{
"name": "@scrypted/prebuffer-mixin",
"version": "0.9.4",
"version": "0.9.5",
"description": "Video Stream Rebroadcast, Prebuffer, and Management Plugin for Scrypted.",
"author": "Scrypted",
"license": "Apache-2.0",

View File

@@ -704,7 +704,7 @@ class PrebufferSession {
&& this.usingScryptedParser
&& h264Oddities
&& !this.stopInactive
&& sessionMso.tool === 'scrypted') {
&& sessionMso.tool !== 'scrypted') {
this.console.warn('H264 oddities were detected in prebuffered video stream, the Default Scrypted RTSP Parser will not be used. Falling back to FFmpeg. This can be overriden by setting the RTSP Parser to Scrypted.');
this.usingScryptedParser = false;
parser = FFMPEG_PARSER_TCP;