This repository contains a modified version of PJSUA suitable for use with Jibri.
Changes from upstream:
- Auto fullscreen remote video window
- Auto exit after a call is ended
- Auto keyframe request interval
- Video quality tweaks
At the time of this writing FFmpeg + x264 are used as the H.264 implementation.
Dependencies:
apt install build-essential libv4l-dev libsdl2-dev libavcodec-dev libavdevice-dev libavfilter-dev libavformat-dev libavresample-dev libavutil-dev libswresample-dev libswscale-dev libasound2-dev libopus-dev libvpx-dev
Build process:
git clone -b jibri-XXX https://github.com/jitsi/pjproject
cd pjproject
./configure
make dep
make
The binary will be located in pjsip-apps/bin/
.
PJSUA can be launched as follows:
pjsua --config-file jibri.cfg sip:alice@atlanta.com
When doing so, an outgoing call will be automagically started and upon finish PJSUA will exit.