rebroadcast: fix recommending setting text

This commit is contained in:
Koushik Dutta
2022-01-28 01:23:11 -08:00
parent 3182c126fc
commit ed88b40fe7
3 changed files with 4 additions and 4 deletions

View File

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

View File

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

View File

@@ -314,7 +314,7 @@ class PrebufferSession {
this.console.error('Detected audio codec is not mp4/mpegts compatible.', session.inputAudioCodec);
// show an alert if no audio config was explicitly specified. Force the user to choose/experiment.
if (isUsingDefaultAudioConfig && !probe.noAudio) {
log.a(`${this.mixin.name} is using the ${session.inputAudioCodec} audio codec and has had its audio disabled. Select Disable Audio on your Camera or select Reencode Audio in Rebroadcast Settings Audio Configuration to suppress this alert.`);
log.a(`${this.mixin.name} is using the ${session.inputAudioCodec} audio codec and has had its audio disabled. Select Disable Audio on your Camera or select Transcode Audio in Rebroadcast Settings Audio Configuration to suppress this alert.`);
this.incompatibleDetected = true;
// this will probably crash ffmpeg due to mp4/mpegts not being a valid container for pcm,
// and then it will automatically restart with pcm handling.