webrtc / samples

WebRTC Web demos and samples
https://webrtc.github.io/samples
BSD 3-Clause "New" or "Revised" License
13.96k stars 5.71k forks source link

Sample to use WebRTC in Blazor #1413

Open Regenhardt opened 3 years ago

Regenhardt commented 3 years ago

Please read first!

Please use discuss-webrtc for general technical discussions and questions.

Note: If the checkboxes above are not checked (which you do after the issue is posted), the issue will be closed.

Browser affected

Browser name including version (e.g. Chrome 64.0.3282.119) Everything supporting WebAssembly, e.g. Firefox 84.0.2

Description

I don't know, and can't find anything about, how to open a WebRTC-channel using Blazor, Microsoft's frontend framework running C# byte code in a WASM runtime.

Steps to reproduce

Expected results

Something that at least brings me on the right path towards using WebRTC in Blazor.

Actual results

No information there except for a github repo from years ago that delivers WebRTC for WinForms.

melihercan commented 3 years ago

Hi @Regenhardt ,

Please check out this link: https://github.com/melihercan/WebRTCme

This framework provides WebRTC support both for Blazor and Xamarin Forms with a single common API. See the DemoApp that runs both on Blazor and Xamarin. Thanks, Melih

Regenhardt commented 3 years ago

Thanks, but I was hoping to find something about using framework calls that go to WASM-native features. Turns out WebRTC isn't accessible without going through jsinterop yet. Will keep it in mind when I actually start implementing it though!