Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add sip-jibri container #1629

Open
wants to merge 186 commits into
base: master
Choose a base branch
from
Open

Add sip-jibri container #1629

wants to merge 186 commits into from

Conversation

emrahcom
Copy link
Contributor

@emrahcom emrahcom commented Oct 23, 2023

This PR adds sip-jibri container.

Even it is working, there are still some parts that need improvement. Please take this as a starting point. For now:

  • pjsua executable is downloaded from here. I will update this when it will be available as a package.
  • not tested on arm64
  • alsa is used instead of pulse
  • depends on the host config because of v4l2loopback and alsa
  • no document for now for the new environment variables and the host config in the Jitsi handbook

@saghul
Copy link
Member

saghul commented Jan 8, 2024

  • pjsua executable is downloaded from here. I will update this when it will be available as a package.

It should be possible to use an intemediate image to build it and then copy it to the final image. See how the prosody image uses an intermediate one to build some libraries. I'm not sure we intend to package it.

  • alsa is used instead of pulse

  • depends on the host config because of v4l2loopback and alsa

Is it possible to use PulseAudio's userland loopback capabilities? I'm not sure if there is a v4l2loopback replacement that we could use :-/

@emrahcom
Copy link
Contributor Author

emrahcom commented Jan 8, 2024

  • pjsua executable is downloaded from here. I will update this when it will be available as a package.

It should be possible to use an intemediate image to build it and then copy it to the final image. See how the prosody image uses an intermediate one to build some libraries. I'm not sure we intend to package it.

I will check this and update PR.

  • alsa is used instead of pulse
  • depends on the host config because of v4l2loopback and alsa

Is it possible to use PulseAudio's userland loopback capabilities? I'm not sure if there is a v4l2loopback replacement that we could use :-/

I didn't find a replacement for v4l2loopback and since the container is already dependent on host's config, I didn't try hardly to replace alsa. Looks like pulseaudio makes things more complicated unlike the standard jibri which has only need one loopback device.

Maybe pipewire will be a better alternative in the future.

@emrahcom
Copy link
Contributor Author

emrahcom commented Jan 8, 2024

@saghul,

I added an intermediate image to build pjsua and it works in my tests

@emrahcom
Copy link
Contributor Author

@saghul what do you think about the current status of PR?

@saghul
Copy link
Member

saghul commented Jan 12, 2024

That's quite some work, thanks @emrahcom ! I'll take a look.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants