Skip to content
Donavan Becker edited this page Feb 21, 2020 · 15 revisions

Homebridge Audio Support

To use audio with the homebridge-ring plugin, you must have ffmpeg installed with the libfdk_aac library. Find your operating system below and run the suggested commands.

Once you have ffmpeg with libfdk_aac installed on your homebridge server, you should immediately be able to receive audio in your camera streams. There are a few known issues at this point:

  • Audio takes a few seconds to start after video stream appears - this lag time is due to ffmpeg taking some time to start up. I might be able to reduce this delay in the future, but no promises.
  • No two-way audio yet

Raspbian Linux:

curl -Lfs https://github.com/oznu/ffmpeg-for-homebridge/releases/download/v0.0.1/ffmpeg-raspbian-armv6l.tar.gz | sudo tar xzf - -C / --no-same-owner

Debian / Ubuntu Linux:

curl -Lfs https://github.com/oznu/ffmpeg-for-homebridge/releases/download/v0.0.1/ffmpeg-debian-$(uname -m).tar.gz | sudo tar xzf - -C / --no-same-owner

macOS:

curl -Lfs https://github.com/oznu/ffmpeg-for-homebridge/releases/download/v0.0.1/ffmpeg-darwin-x86_64.tar.gz | sudo tar xzfm - -C / --no-same-owner

Windows:

Install ffmpeg.exe from ffmpeg-for-homebridge, found on the releases page.

Docker-Homebridge:

ffmpeg, with libfdk-aac audio support is included in this image.

Other Platforms:

If you are running homebridge on a different platform, you will need to research how to build ffmpeg. The most important part is that you include --enable-libfdk-aac when building ffmpeg to enable the libfdk_aac codec.

Clone this wiki locally