Live stream of facebook on jitsi meet

Hi,
How can we integrate facebook live stream in jitsi meet, similar like youtube stream.

apt-get install stunnel

JIBRI_TMPL=https://raw.githubusercontent.com/jitsi-contrib/installers/main/templates/jibri
wget -O /etc/stunnel/facebook.conf $JIBRI_TMPL/etc/stunnel/facebook.conf
systemctl restart stunnel4.service

wget -O /usr/local/bin/ffmpeg $JIBRI_TMPL/usr/local/bin/ffmpeg
chmod 755 /usr/local/bin/ffmpeg

And use the full RTMP link as stream key

1 Like

thanks, but where shall i put facebook stream url. Also, how do i get the RTMP link as stream key and how i can use the same in jitsi.

  1. start live stream from menu
  2. write the Facebook stream URL as live stream key

Thanks emrah, It doesn’t work. I get the error live stream has been stopped, when i put facebook stream key.

To use facebook live stream in jitsi , following things need to be done.

jibri/StreamingJibriService.kt at master · jitsi/jibri · GitHub (In JIbri you have to add the facebook stream, similar like const val YOUTUBE_URL = “rtmp://a.rtmp.youtube.com/live2” , we have to create for facebook_url), compile the jibri, copy the.jar to deploy location.

  1. Install FFMPEG4 ( older version has issue with rtmps )

  2. ffmpeg -re -y -i “.mp4” -c:a copy -ac 1 -ar 44100 -b:a 96k -vcodec libx264 -pix_fmt yuv420p -tune zerolatency -f flv -maxrate 2000k -preset veryfast “rtmps://live-api-s.facebook.com:443/rtmp/”
    run this command and test it on ubuntu server.

then customize ffmpeg config, refer below url. So youtube and facebook stream can work simultaneously.