microsoft / MixedReality-WebRTC

MixedReality-WebRTC is a collection of components to help mixed reality app developers integrate audio and video real-time communication into their application and improve their collaborative experience
https://microsoft.github.io/MixedReality-WebRTC/
MIT License
903 stars 278 forks source link

Question: is this windows only? #298

Open psantosl opened 4 years ago

psantosl commented 4 years ago

Built an example on Linux and runs and says:

$ ./testMicrosoft.MixedReality.WebRTC
One or more errors occurred. (Unable to load shared library 'Microsoft.MixedReality.WebRTC.Native.dll' or one of its dependencies. In order to help diagnose loading problems, consider setting the LD_DEBUG environment variable: libMicrosoft.MixedReality.WebRTC.Native.dll: cannot open shared object file: No such file or directory)
Program termined.
djee-ms commented 4 years ago

We currently support Windows Desktop and UWP (C++/C#/Unity), and Android (via Unity only). Although the C# library is .NET Standard so should work on Linux, you'd have to also build the native implementation. We do not provide a precompiled Linux native library, nor do we officially support that it even builds. We currently rely on the WebRTC UWP SDK project for the native implementation, and that project does not support Linux. We have plans to move to consume the Google repository directly, which would potentially unlock Linux since Google does support Linux, although there is no plan at this time to effectively add Linux support officially. So short answer: Linux is not supported.

psantosl commented 4 years ago

Thanks! We'll take a look and check if we can make it build in Linux and macOS, it would be awesome to have a datachannel for cross-platform.

psantosl commented 4 years ago

Sorry if it is too obvious but, is there a makefile or something for https://github.com/microsoft/MixedReality-WebRTC/tree/master/libs/mrwebrtc

djee-ms commented 4 years ago

Until now there's only a Visual Studio solution; this may change in the future as we're looking at a cross-platform solution as we expand beyond Windows, but nothing is available/ready yet. However you can have a look at the CMakeLists.txt used in Android Studio to get inspired. Caveat: I think we forgot to upgrade it after merging multi-track support (#283) so it's missing some files.

asheesh1996 commented 3 years ago

Sorry if it is too obvious but, is there a makefile or something for https://github.com/microsoft/MixedReality-WebRTC/tree/master/libs/mrwebrtc

Were you able to compile it successfully for linux ??