mirror of
https://github.com/koush/scrypted.git
synced 2026-02-12 01:54:27 +00:00
rebroadcast: fix recommending setting text
This commit is contained in:
4
plugins/prebuffer-mixin/package-lock.json
generated
4
plugins/prebuffer-mixin/package-lock.json
generated
@@ -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",
|
||||
|
||||
@@ -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",
|
||||
|
||||
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user