Skip to content

Conversation

@MaZderMind
Copy link

While trying to setup an "real world" application with HTTP, HTML and JS which would transfer audio to a rust-webrtc application I found no example that showed how to transfer ice-candidates from the browser to the application an back, even though this seems to be one of the most common use-cases. For people getting started with WebRTC this can be a real show-stopper, proven by various comments about communication only working in Local-LAN where the webrtc-server can freely connect to the browser and no further ice-negotiation is required.

I therefore would like to sponsor this minimal, documented and functionally-complete example which showcases the use of the rust webrtc-crate together with actix and appropriate html + javascript to create a internet-compatible WebRTC connection.

Please let me know if you have any requests for changes.
Best regards,
Peter

…le on how to set up a WebRTC-Connection over HTTP and with HTML and JavaScript.
@MaZderMind
Copy link
Author

Commenting to myself: We should implement https://w3c.github.io/webrtc-pc/#perfect-negotiation-example on both sides; this would probably also solve re-negotiation in case one side roams networks (which is currently not handled).

@rainliu
Copy link
Member

rainliu commented Jan 8, 2026

please fix clippy/fmt warning

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants