WebRTC for ASP.NET developers

This post links some demos and tutorials for ASP.NET webforms and ASP.NET MVC developers to quick start and implement WebRTC in their applications.

First of all, please don't forget to check this post: I want to learn WebRTC!

Here is a simple one-to-one ASP.NET MVC based demo & source code:

This demo uses MS-SQL to store SDP and ICE messages and to sync the data among room participants. This demo is having following functionalities:
  1. Private/Public rooms creations
  2. Password protected rooms
  3. MS-SQL for signaling and presence detection
  4. One-to-One connections
  5. List of a public rooms, stats of each room, number of users in each room etc.

There is another XHR-based signaling demo and source code that can fit in any WebRTC application and demo:

This demo is having following features:
  1. It can be used in any WebRTC Experiment
  2. It uses MS-SQL for signaling
  3. It supports re-usability of the code
  4. It can be used with RTCMultiConnection.js and DataChannel.js
Here is how it can be used in RTCMultiConnection demos:
There is another implementation and source code that uses WebSync:
WebSync is an implementation of the Bayeux specification, commonly known as "comet", for the .NET framework and IIS. Ref
Try WebSync demos in action:
For those who wanna use SignalR instead:
P.S. This post will be updated for future ASP.NET based WebRTC demos e.g. SignalR demos.

4 comments:

  1. How to make one-to-Many ? (Broadcast) .

    ReplyDelete
  2. Try this demo ( http://websync.somee.com/RTCMultiConnection.aspx ) and select "audio+video" and "one-way". Source code of the demo is available here:

    https://github.com/muaz-khan/WebSync-Signaling/blob/master/Source-Code/RTCMultiConnection.aspx

    ReplyDelete
  3. It is really a great work and the way in which u r sharing the knowledge is excellent.Thanks for helping me to understand basic concepts. As a beginner in Dot Net programming your post help me a lot.Thanks for your informative article. dot net training in velachery | dot net training institute in velachery

    ReplyDelete
  4. Record screen testing in chrome dont works: https://www.webizberg.com/modules/screenreco/recordrtc/index.html

    Browser console shows this

    Refused to display 'https://accounts.google.com/o/oauth2/auth?client_id=41556190767-7amutgh7ug0…res__%2Fam%3DAQ%2Frt%3Dj%2Fd%3D1%2Frs%3DAGLTcCNPpHKM3srTJeEv5Qh22D1tZhRRJg' in a frame because it set 'X-Frame-Options' to 'sameorigin'.
    accounts.google.com/o/oauth2/auth?client_id=41556190767-7amutgh7ug0dfkkeb9f…res__%2Fam%3DAQ%2Frt%3Dj%2Fd%3D1%2Frs%3DAGLTcCNPpHKM3srTJeEv5Qh22D1tZhRRJg Failed to load resource: net::ERR_BLOCKED_BY_RESPONSE

    How to solve this ?

    ReplyDelete