-
Notifications
You must be signed in to change notification settings - Fork 829
Description
Hey there,
I'm trying to add a camera stream to HomeKit but am noticing that the audio cuts out every ~3 seconds. AFAICT, this issue is specific to HomeKit as the stream's audio works correctly in VLC (using the raw RTMP stream) and Frigate (using the go2rtc re-stream). Here's the config I'm using:
go2rtc:
streams:
nanit:
- rtmp://<cameraIP>
homekit:
nanit:
name: Nanit
pin: <pin>
Here's the info on the RTMP stream from VLC:
I've tried re-encoding the stream using ffmpeg:rtmp://<cameraIP>#video=copy#audio=opus and ffmpeg:rtmp://<cameraIP>#video=copy#audio=aac, but neither seems to address the issue. I've also tried adding /16000 to the end of the audio parameter to force a specific sample rate.
My understanding is that this should have been fixed in #667, but is there something obvious I'm missing here? Or logs I can provide to help debug? Thanks in advance!