diff --git a/plugins/homekit/package-lock.json b/plugins/homekit/package-lock.json index d147ffed9..3dc1cfda9 100644 --- a/plugins/homekit/package-lock.json +++ b/plugins/homekit/package-lock.json @@ -1,12 +1,12 @@ { "name": "@scrypted/homekit", - "version": "1.1.58", + "version": "1.1.59", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "@scrypted/homekit", - "version": "1.1.58", + "version": "1.1.59", "dependencies": { "@koush/werift-src": "file:../../external/werift", "check-disk-space": "^3.3.0", diff --git a/plugins/homekit/package.json b/plugins/homekit/package.json index 148790ea9..91bd1d549 100644 --- a/plugins/homekit/package.json +++ b/plugins/homekit/package.json @@ -1,6 +1,6 @@ { "name": "@scrypted/homekit", - "version": "1.1.58", + "version": "1.1.59", "description": "HomeKit Plugin for Scrypted", "scripts": { "scrypted-setup-project": "scrypted-setup-project", diff --git a/plugins/homekit/src/types/camera/camera-streaming-ffmpeg.ts b/plugins/homekit/src/types/camera/camera-streaming-ffmpeg.ts index 26495d7f7..40b89070c 100644 --- a/plugins/homekit/src/types/camera/camera-streaming-ffmpeg.ts +++ b/plugins/homekit/src/types/camera/camera-streaming-ffmpeg.ts @@ -3,15 +3,13 @@ import { getDebugModeH264EncoderArgs } from '@scrypted/common/src/ffmpeg-hardwar import { addVideoFilterArguments } from '@scrypted/common/src/ffmpeg-helpers'; import { createBindZero } from '@scrypted/common/src/listen-cluster'; import { getSpsPps } from '@scrypted/common/src/sdp-utils'; -import sdk, { FFmpegInput, MediaStreamDestination, ScryptedDevice, VideoCamera } from '@scrypted/sdk'; +import { FFmpegInput, MediaStreamDestination, ScryptedDevice, VideoCamera } from '@scrypted/sdk'; import { RtpTrack, RtpTracks, startRtpForwarderProcess } from '../../../../webrtc/src/rtp-forwarders'; import { AudioStreamingCodecType, SRTPCryptoSuites } from '../../hap'; import { CameraStreamingSession, waitForFirstVideoRtcp } from './camera-streaming-session'; import { createCameraStreamSender } from './camera-streaming-srtp-sender'; import { checkCompatibleCodec, transcodingDebugModeWarning } from './camera-utils'; -const { mediaManager, log } = sdk; - export async function startCameraStreamFfmpeg(device: ScryptedDevice & VideoCamera, console: Console, storage: Storage, destination: MediaStreamDestination, ffmpegInput: FFmpegInput, session: CameraStreamingSession) { const request = session.startRequest;