WebRtc.NET icon indicating copy to clipboard operation
WebRtc.NET copied to clipboard

UWP Support

Open NinoStella opened this issue 7 years ago • 6 comments

Are you planning a porting to UWP? It could be really useful.

NinoStella avatar Jun 18 '17 19:06 NinoStella

there is nothing to port, you can use c++ or c or c# interface

radioman avatar Jun 20 '17 20:06 radioman

I have a UWP c# project and cannot add reference to the webrtc.dll Tried to build a UWP library based on your code, but i encountered lots of incompatibilty isssues.

NinoStella avatar Jun 20 '17 20:06 NinoStella

Did you try staging branch https://github.com/radioman/WebRtc.NET/tree/staging ?

EbramTawfik avatar Jun 20 '17 20:06 EbramTawfik

Tried, but no luck. In UWP you can't easily use DllImport. The best approach seems to be creating a WiNRT Component but there are lots of limitation. For example, you can't use IntPtr as parameter, neither as return type. My c++ knowledge is limited so maybe i'm doing something wrong. If you are certain about the compatiblity of your code with UWP, please give me some hints, or if you can, please try yourself to build a UWP project.

NinoStella avatar Jun 20 '17 23:06 NinoStella

hm, it seems uwp is one huge bs..

radioman avatar Jun 22 '17 18:06 radioman

There's a UWP compatible WebRTC wrapper, you can even get it via Nuget: https://www.nuget.org/packages/WebRTC/

Here's the repo: https://github.com/webrtc-uwp/webrtc-uwp-sdk

monsdar avatar Feb 28 '18 08:02 monsdar