rebroadcast: lgoging

This commit is contained in:
Koushik Dutta
2022-05-07 13:04:54 -07:00
parent c8dc734aa0
commit 2bf808cefb
3 changed files with 6 additions and 4 deletions

View File

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

View File

@@ -1,6 +1,6 @@
{
"name": "@scrypted/prebuffer-mixin",
"version": "0.1.257",
"version": "0.1.258",
"description": "Rebroadcast and Prebuffer for VideoCameras.",
"author": "Scrypted",
"license": "Apache-2.0",

View File

@@ -851,8 +851,10 @@ class PrebufferSession {
return;
let { isDefault } = this.getParser(rtspMode, sessionMso);
if (!isDefault)
if (!isDefault) {
this.console.warn('SEI packet detected while operating with Scrypted Parser. If there are issues streaming, consider using the Default parser.');
return;
}
this.console.warn('SEI packet detected while operating with Scrypted Parser as default. Restarting rebroadcast.');
session.kill();
this.startPrebufferSession();