mirror of
https://github.com/koush/scrypted.git
synced 2026-05-26 22:50:30 +01:00
homekit: fix aac transcoding for silent audio
This commit is contained in:
4
plugins/homekit/package-lock.json
generated
4
plugins/homekit/package-lock.json
generated
@@ -1,12 +1,12 @@
|
||||
{
|
||||
"name": "@scrypted/homekit",
|
||||
"version": "1.2.46",
|
||||
"version": "1.2.48",
|
||||
"lockfileVersion": 2,
|
||||
"requires": true,
|
||||
"packages": {
|
||||
"": {
|
||||
"name": "@scrypted/homekit",
|
||||
"version": "1.2.46",
|
||||
"version": "1.2.48",
|
||||
"dependencies": {
|
||||
"@koush/werift-src": "file:../../external/werift",
|
||||
"check-disk-space": "^3.4.0",
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@scrypted/homekit",
|
||||
"version": "1.2.46",
|
||||
"version": "1.2.48",
|
||||
"description": "HomeKit Plugin for Scrypted",
|
||||
"scripts": {
|
||||
"scrypted-setup-project": "scrypted-setup-project",
|
||||
|
||||
@@ -194,7 +194,7 @@ export async function* handleFragmentsRequests(streamId: number, device: Scrypte
|
||||
}
|
||||
|
||||
let audioArgs: string[];
|
||||
if (transcodeRecording || isDefinitelyNotAAC || debugMode.audio) {
|
||||
if (!noAudio && (transcodeRecording || isDefinitelyNotAAC || debugMode.audio)) {
|
||||
if (!(transcodeRecording || debugMode.audio))
|
||||
console.warn('Recording audio is not explicitly AAC, forcing transcoding. Setting audio output to AAC is recommended.', audioCodec);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user