WebRTC over Asp.Net Core - Any examples?

This page summarizes the projects mentioned and recommended in the original post on reddit.com/r/csharp

Our great sponsors
  • SonarLint - Deliver Cleaner and Safer Code - Right in Your IDE of Choice!
  • Scout APM - Less time debugging, more time building
  • SaaSHub - Software Alternatives and Reviews
  • Pion WebRTC

    Pure Go implementation of the WebRTC API

    I'm currently building a new product with .NET 5 that creates a WebRTC data channel with clients and also sends them video over WebRTC. In preparation, I evaluated the current WebRTC landscape. The gist is that almost all WebRTC implementations are in other languages (usually C++), so native interop is nearly unavoidable if you want to use C#. I ultimately decided to create a small native library (.so file) using the excellent Pion WebRTC library for Go and then created a C# wrapper for it using C#'s native interop APIs (e.g. DllImport, Marshal.GetFunctionPointerForDelegate()). So far this has been working well and I have both data communication and video streams working, but I should add the caveat that I haven't shipped the service to production yet (I'm still a couple months of development away from that).

  • janus-gateway

    Janus WebRTC Server

    - Janus (C / C++)

  • SonarLint

    Deliver Cleaner and Safer Code - Right in Your IDE of Choice!. SonarLint is a free and open source IDE extension that identifies and catches bugs and vulnerabilities as you code, directly in the IDE. Install from your favorite IDE marketplace today.

  • jitsi

    Jitsi is an audio/video and chat communicator that supports protocols such as SIP, XMPP/Jabber, IRC and many other useful features.

    - Jitsi (Java)

  • gst-plugins-bad

    'Bad' GStreamer plugins and helper libraries. This module has been merged into the main GStreamer repo for further development.

    - G-streamer: Notably, this is the only WebRTC library I saw that actually has a C# client, but I was deterred by the fact that the WebRTC plugin is grouped in with the "bad plugins".

  • kms-core

    Core library of Kurento Media Server

    - Kurento (C++)

  • mediasoup

    Cutting Edge WebRTC Video Conferencing

    - Mediasoup (Node)

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts