docker-jitsi-meet icon indicating copy to clipboard operation
docker-jitsi-meet copied to clipboard

Add sip-jibri container

Open emrahcom opened this issue 2 years ago • 6 comments

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

emrahcom avatar Oct 23 '23 14:10 emrahcom

Rebased against the current master branch.

emrahcom avatar Nov 15 '23 12:11 emrahcom

  • 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 :-/

saghul avatar Jan 08 '24 11:01 saghul

  • 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 avatar Jan 08 '24 13:01 emrahcom

@saghul,

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

emrahcom avatar Jan 08 '24 15:01 emrahcom

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

emrahcom avatar Jan 12 '24 09:01 emrahcom

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

saghul avatar Jan 12 '24 10:01 saghul