How to setup video conference app using NodeJS and React JS with jitsi videobridge as SFU server

I have installed jitsi-videobridge in my docker.

FROM ubuntu:20.04

# Install required packages
RUN apt-get update \
    && apt-get install -y gnupg2 curl \
    && curl | apt-key add - \
    && echo 'deb stable/' > /etc/apt/sources.list.d/jitsi-stable.list \
    && apt-get update \
    && apt-get install -y jitsi-videobridge2

# Expose ports
EXPOSE 10000/udp
EXPOSE 4443/tcp

CMD ["/usr/share/jitsi-videobridge/", "--host=localhost", "", "--port=5347", "--secret=mysecret", "--apis=xmpp,rest"] 

Now i need to setup my own web app using NodeJS and React js which will use jitsi-videobridge as my SFU server.

Is it possible ? Please direct me to the correct documentation.
I don’t need the Iframe based meeting.

1 Like

Some of the parameters passed there are no longer supported. You need to configure jvb and enable REST API and use that. Unfortunately there is no doc for that. You can install full jitsi-meet and enable some debug and stuffy the XMPP messages between jicofo and jvb to understand how it works so you can use it via REST.
Another option is to have the deployment and to use lib-jitsi-meet. That is a way easier option then the REST one: lib-jitsi-meet API (low level) | Jitsi Meet