Replies: 4 comments 2 replies
-
Yep. The idea is you implement IVideoSource for whatever video you want to stream. Within the video source you'll need to get the frames into an I420 pixel format, since that's what the
Yes... But to be honest it needs a bit of work as can be seen in issues like #380 and similar. The
Not really, at least not by me. As I'm sure you've found already it's a lot of work to support cross-platform apps. In theory .NET Core is meant to allow a single code base to work everywhere but in practice there are still a lot of quirks that have to be worked around. And then for features that aren't supported by .NET Core such as audio and video devices it's a huuuuge job. Instead the plan is to try and port the If you do give this library a spin I'd love to hear how you go! |
Beta Was this translation helpful? Give feedback.
-
I tried swapping out MixedReality WebRTC with SIP Sorcery this weekend. I ran into a few roadblocks, though. The first issue I had was After that, I had some problems with DataChannels. I need to push a lot of data through (file, screenshots, etc.), and I kept getting deadlocks in I then realized that |
Beta Was this translation helpful? Give feedback.
-
Best bet is to stick with JSON serialisation. The sipsorcery library should work fine with the browser's JSON serialise and deserialise calls. The The Getting Started WebRTC example has the code you need. Here's how to deserialise ICE candidates in the browser:
Yes, as alluded to in my post above more cracks have appeared in the data channels implementation. I've reluctantly come to the decision it will require a rewrite of the SCTP implementation from scratch. I'll hopefully be starting on it this week and hopefully it will only take a matter of weeks. If you've got some test code for you app and the sipsorcery library written then maybe come back and check again in a month or so when hopefully data channels will be in a better state. |
Beta Was this translation helpful? Give feedback.
-
DataChannels are working great now! :) Thanks! |
Beta Was this translation helpful? Give feedback.
-
Hello! I just discovered SipSorcery and have some questions. 😄
I've been working on an open-source remote control tool for a while now, and I'm using Microsoft's Mixed Reality WebRTC library for streaming the desktop.
It works great, but it doesn't support Linux or Mac. I currently have Windows and Linux implementations for my project, and will hopefully have time to do Mac some day. Currently, the Linux app is relaying diffed frames through the server via SignalR with MessagePack protocol. It would be nice to have a single, cross-platform library for WebRTC.
One of the nice things with the MixedReality-WebRTC library is that it has an
ExternalVideoTrackSource
class that lets you supply Argb32 frames for the source, making it easy to feed itBitmap
screen grabs.So my questions are:
ExternalVideoTrackSource
?SIPSorceryMedia.Windows
)?It seems like it might be kind of offensive asking "Is this better than XYZ" type of questions. I hope it doesn't come across like that. It's great to see a fully-managed implementation of WebRTC! 🎈
Thanks!
Beta Was this translation helpful? Give feedback.
All reactions