Skip to content
This repository has been archived by the owner on Jun 15, 2023. It is now read-only.

Add required audio packages for uStreamer with Janus #71

Merged
merged 1 commit into from
Nov 4, 2022
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -104,6 +104,13 @@
ustreamer_packages: "{{ ustreamer_packages }} + ['libjpeg9-dev']"
when: ustreamer_is_os_raspbian

- name: collect Raspberry Pi OS specific required apt packages for audio
set_fact:
ustreamer_packages: "{{ ustreamer_packages }} + ['libasound2-dev', 'libspeex-dev', 'libspeexdsp-dev', 'libopus-dev']"
# Audio support is only possible in Raspbian 11 or higher, as audio was added
# in uStreamer 5.x, which requires Raspbian 11.
when: ustreamer_is_os_raspbian and ustreamer_install_janus and ((ansible_distribution_major_version | int) >= 11)

- name: install libraspberrypi-dev if we're using OpenMax IL acceleration
set_fact:
ustreamer_packages: "{{ ustreamer_packages }} + ['libraspberrypi-dev']"
Expand Down