https://github.com/observertc/full-stack-examples
Full stack examples to integrate ObserveRTC
https://github.com/observertc/full-stack-examples
docker observertc webrtc-observer
Last synced: over 1 year ago
JSON representation
Full stack examples to integrate ObserveRTC
- Host: GitHub
- URL: https://github.com/observertc/full-stack-examples
- Owner: ObserveRTC
- Created: 2020-11-07T16:32:20.000Z (over 5 years ago)
- Default Branch: main
- Last Pushed: 2022-12-27T14:58:38.000Z (over 3 years ago)
- Last Synced: 2025-03-28T22:12:30.205Z (over 1 year ago)
- Topics: docker, observertc, webrtc-observer
- Language: TypeScript
- Homepage:
- Size: 1.34 MB
- Stars: 5
- Watchers: 3
- Forks: 3
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
Full stack examples for integrating ObserveRTC
============
This repository contains full stack examples to use and integrate ObserveRTC.
## Quick Start
In terminal, run:
```bash
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](https://observertc.org/docs/overview/schemas/#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
## Using Multiple SFUs
Examples of monitoring cascaded SFU environment requires to run multiple, at least two SFUs.
```bash
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.
## Dev mode
if you want to modify the [mediasoup-sfu](mediasoup-sfu/) or the [webrtc-app](my-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.
## Integration Requests or Running Issues
Please open an issue.
## Contribution
Make your changes locally and open a PR here.
## License
Apache-2.0