This repository contains full stack examples to use and integrate ObserveRTC.
In terminal, run:
SFU_ANNOUNCED_IP={MY_LOCAL_IP_ADDRESS} docker-compose up
MY_LOCAL_IP_ADDRESS is the IP address of your local network interface connect to the internet.
You can obtain it by typing ifconfig
in MacOs or Linux, or ipconfig
in Windows.
When containers are running, in your browser go to http://localhost:9000 (open it in two, or three tabs).
To see the collected reports, check the mongodb at: http://localhost:8081/ (the user is admin
, the password is password
).
To see some SFU metrics calculated by the sfu-montior go to http://localhost:5959/metrics
Examples of monitoring cascaded SFU environment requires to run multiple, at least two SFUs.
SFU_ANNOUNCED_IP={MY_LOCAL_IP_ADDRESS} docker-compose -f docker-compose-cascaded-sfus.yaml up
In your browser tabs you go to http://localhost:9000/?sfuPort=5959, and http://localhost:9000/?sfuPort=7171.
if you want to modify the mediasoup-sfu or the webrtc-app locally, then don't start it as a service in the docker-compose. Running the mediasoup-app or my-webrtc-app locally requires npm and typescript.
Please open an issue.
Make your changes locally and open a PR here.
Apache-2.0