Is it possible to use signalR on top of webRTC in order that non webRTC supported browsers will get only video data with no sound.
They will not be able to broadcast but only receive video data through signalR websocket and use the html5 canvas to show it.
So basically i need 1 regular webRTC upload streaming that signalR server Splits into 2 kind of streaming broadcasting one regular webRTC and one video data through websocket for use in the html5 canvas to show it.
.NET forums are moving to a new home on Microsoft Q&A, we encourage you to go to Microsoft Q&A for .NET for posting new questions and get involved today.
None
0 Points
6 Posts
webRTC with signalR on browsers live chat
Dec 03, 2016 07:49 PM|cheinan|LINK
Is it possible to use signalR on top of webRTC in order that non webRTC supported browsers will get only video data with no sound.
They will not be able to broadcast but only receive video data through signalR websocket and use the html5 canvas to show it.
So basically i need 1 regular webRTC upload streaming that signalR server Splits into 2 kind of streaming broadcasting one regular webRTC and one video data through websocket for use in the html5 canvas to show it.
Dose signalR can give me that solution?
Star
9831 Points
3120 Posts
Re: webRTC with signalR on browsers live chat
Dec 05, 2016 08:00 AM|Brando ZWZ|LINK
Hi cheinan,
As far as I know, SignalR is based on standards (WebSockets, LongPolling, ForeverFrame, etc.) which only stream text based JSON messages.
If you want to send the video data to client, you need to convert the data to JSON, then send it.
If you want to use signalR to achieve your requirement, I suggest you could transmits images as Data URIs.
More details, you could refer to follow link:
https://weblogs.asp.net/ricardoperes/video-streaming-with-asp-net-signalr-and-html5
Best Regards,
Brando
None
0 Points
6 Posts
Re: webRTC with signalR on browsers live chat
Dec 27, 2016 10:12 AM|cheinan|LINK
Thanks Brando for your replay
The link you gave me is to a primitive not efficient way of doing video chat that take image data from user as heavy base 64 encoded string
and use SignalR to upload it and broadcast it.
It dose not use webRTC.
I need on server side to transform the webRTC incoming streaming to image data string that SignalR will broadcast