-
Notifications
You must be signed in to change notification settings - Fork 18
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
How to get started? #114
Comments
Sure, I am working on global-gateway so I will update README after that finished. In short, you can try the media-server in cluster mode in local machine like bellow: Start a inner-gateway (which used to route connect request to best node) RUST_LOG=info cargo run --package atm0s-media-server -- --node-id 1 --http-port 3000 gateway Start first media-server with Webrtc protocol RUST_LOG=info cargo run --package atm0s-media-server -- --node-id 2 --http-port 3001 --seeds /p2p/1/ip4/127.0.0.1/udp/50001 webrtc Start second media-server with Webrtc protocol RUST_LOG=info cargo run --package atm0s-media-server -- --node-id 3 --http-port 3002 --seeds /p2p/1/ip4/127.0.0.1/udp/50001 webrtc Wait 2 media-server utils it print out (around 10 seconds): '[WebrtcMediaServer] ping gateway success'.
Now you can access sample page in url: http://localhost:3000/samples/webrtc/ in there we have 2 page: Whip broadcast and Whep viewer. Note that, inner-gateway will select node based on usage so it will route to same media-server instance util it reach high usage. For testing media-exchange between system you can access to each media-server instance sample page like: First media-server: http://localhost:3001/samples/ Each node also expose a metric dashboard here:
|
How great this project is |
From the features in the readme I found that desktop sdk is not in the list. But I learned that desktop is in great need for some users or developers. So will you give it consideration like https://github.com/livekit/rust-sdks what they are doing? |
Do you have any plan so people who want to contribute to this project they will know what to do and how to get started? |
@Yosef0987 Actually I already have and old private Rust-SDK which used webrtc-rs so it take time to make it public. I have plan implement Rust-SDK with str0m instead for benchmarking and server/desktop integration. We are only in-depended small-team with limited resource so I am very happy if anyone can join with us. In current state I don't have effort to write a details dev-guide but feel free to ask any question I will answer as soon as possible. May be that answers can be collect to be a dev-guide in future. Ps: I just updated expired discord link in README |
You guys have done great job. |
@Yosef0987 Sorry I missed your reply, we are actively refactor for making it more clean architecture. I will be very glad too with your help. |
Can you update the readme so it will be easier for people who are interested in this project to run the demo?
just following the readme sfu server can not be started
The text was updated successfully, but these errors were encountered: