MixedReality-WebRTC | help mixed reality app developers integrate audio and video | Augmented Reality library

 by   microsoft C# Version: v2.0.2 License: MIT

kandi X-RAY | MixedReality-WebRTC Summary

kandi X-RAY | MixedReality-WebRTC Summary

MixedReality-WebRTC is a C# library typically used in Virtual Reality, Augmented Reality, Unity applications. MixedReality-WebRTC has no vulnerabilities, it has a Permissive License and it has medium support. However MixedReality-WebRTC has 2 bugs. You can download it from GitHub.

MixedReality-WebRTC is a collection of libraries to help mixed reality app developers to integrate peer-to-peer real-time audio and video communication into their application and improve their collaborative experience. MixedReality-WebRTC is part of the collection of repositories developed and maintained by the Mixed Reality Sharing team.
Support
    Quality
      Security
        License
          Reuse

            kandi-support Support

              MixedReality-WebRTC has a medium active ecosystem.
              It has 837 star(s) with 269 fork(s). There are 53 watchers for this library.
              OutlinedDot
              It had no major release in the last 12 months.
              There are 276 open issues and 319 have been closed. On average issues are closed in 35 days. There are no pull requests.
              It has a neutral sentiment in the developer community.
              The latest version of MixedReality-WebRTC is v2.0.2

            kandi-Quality Quality

              MixedReality-WebRTC has 2 bugs (0 blocker, 0 critical, 2 major, 0 minor) and 19 code smells.

            kandi-Security Security

              MixedReality-WebRTC has no vulnerabilities reported, and its dependent libraries have no vulnerabilities reported.
              MixedReality-WebRTC code analysis shows 0 unresolved vulnerabilities.
              There are 0 security hotspots that need review.

            kandi-License License

              MixedReality-WebRTC is licensed under the MIT License. This license is Permissive.
              Permissive licenses have the least restrictions, and you can use them in most projects.

            kandi-Reuse Reuse

              MixedReality-WebRTC releases are available to install and integrate.
              Installation instructions, examples and code snippets are available.
              MixedReality-WebRTC saves you 197 person hours of effort in developing the same functionality from scratch.
              It has 484 lines of code, 6 functions and 131 files.
              It has medium code complexity. Code complexity directly impacts maintainability of the code.

            Top functions reviewed by kandi - BETA

            kandi's functional review helps you automatically verify the functionalities of the libraries and avoid rework.
            Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of MixedReality-WebRTC
            Get all kandi verified functions for this library.

            MixedReality-WebRTC Key Features

            No Key Features are available at this moment for MixedReality-WebRTC.

            MixedReality-WebRTC Examples and Code Snippets

            No Code Snippets are available at this moment for MixedReality-WebRTC.

            Community Discussions

            QUESTION

            Mixed Reality WebRTC - Screen capturing with GraphicsCapturePicker
            Asked 2021-Apr-01 at 07:36

            Setup
            Hey,
            I'm trying to capture my screen and send/communicate the stream via MR-WebRTC. Communication between two PCs or PC with HoloLens worked with webcams for me, so I thought the next step could be streaming my screen. So I took the uwp application that I already had, which worked with my webcam and tried to make things work:

            • UWP App is based on the example uwp app from MR-WebRTC.
            • For Capturing I'm using the instruction from MS about screen capturing via GraphicsCapturePicker.

            So now I'm stuck in the following situation:

            1. I get a frame from the screen capturing, but its type is Direct3D11CaptureFrame. You can see it below in the code snipped.
            2. MR-WebRTC takes a frame type I420AVideoFrame (also in a code snipped).

            How can I "connect" them?

            • I420AVideoFrame wants a frame in the I420A format (YUV 4:2:0).
            • Configuring the framePool I can set the DirectXPixelFormat, but it has no YUV420.
            • I found this post on so, saying that it its possible.

            Code Snipped Frame from Direct3D:

            ...

            ANSWER

            Answered 2021-Apr-01 at 07:36

            I found a solution for my problem by creating an issue on the github repo. Answer was provided by KarthikRichie:

            1. You have to use the ExternalVideoTrackSource
            2. You can convert from the Direct3D11CaptureFrame to Argb32VideoFrame

             

            Source https://stackoverflow.com/questions/66800357

            QUESTION

            Using MixedReality-WebRTC Screen Capture
            Asked 2020-Dec-21 at 11:54

            I'm making a UWP app using MixedReality-WebRTC.

            Is there a way to get the current screen real-time, not a webcam?

            ...

            ANSWER

            Answered 2020-Dec-21 at 11:54

            Is there a way to get the current screen real-time

            Sure, you could use GraphicsCapturePicker to pick window that you want to capture, and use screen capture api the get real time frame with FrameArrived event.

            Source https://stackoverflow.com/questions/65389900

            QUESTION

            How to render video from ARGB Frames
            Asked 2020-Jul-30 at 12:46

            I'm using the Microsoft.MixedReality.WebRTC library and I am planing on using it for my next project - a Real-Time video chatting app. I have been able to establish a connection and pass video frames around.

            How would I properly render those Frames and display them as Video?

            Using WPF's MediaElement seems pretty easy, but I can only input an Uri object as source, I cannot feed it single frames, AFAIK.

            I have read that drawing Bitmaps is a possible solution, but I am sure this would mean many hours reinventing the wheel and testing, which I am not a fan of doing, unless there is no other way.

            The library works as follows: Each time a new frame is received by the client the Argb32VideoFrameReady event is raised. A Argb32VideoFrame struct object is then passed to the callback, which contains an IntPtr to the raw data. Height, Width and Stride are also provided.

            More Information on the specific struct here

            What would be some ways I could achieve this?

            I am planning on using WPF. The solution should target Windows 7+ and .Net Framework 4.6.2.

            Thanks in advance.

            ...

            ANSWER

            Answered 2020-Jul-30 at 12:46

            With an Image element in XAML

            Source https://stackoverflow.com/questions/63171628

            Community Discussions, Code Snippets contain sources that include Stack Exchange Network

            Vulnerabilities

            No vulnerabilities reported

            Install MixedReality-WebRTC

            NuGet (C++, C#) and UPM (Unity) packages are available for stable releases (release/* branches). See the Release page on GitHub or the Download documentation page for details. Note: The master branch contains the code for the next release, and therefore sometimes contains breaking API changes from the latest stable release. It is therefore not guaranteed to work with NuGet packages, which are only available for stable releases. In particular, the Unity library scripts are only guaranteed to be compatible with NuGet packages if copied from a release/* branch, though it is strongly recommended to use the UPM packages instead.
            The release/2.0 branch contains the latest stable version of the API, from which the NuGet and UPM packages are published. The master branch contains the current up-to-date code with latest developments. Care is generally taken to keep this branch in a fairly clean state (branch can build, tests pass). However the master branch contains API breaking changes compared to the latest release, and therefore is not compatible with NuGet/UPM packages and should be built from sources instead (see Building from sources documentation).
            MixedReality-WebRTC is a set of individual building blocks in the form of C and C# libraries building upon each other to deliver a consistent API to C/C++ and C# developers across its supported platforms, and a set of handful drop-in Unity3D components for easy integration. The pure C library allows easy integration as a shared module (DLL) into C/C++ projects while avoiding issues with compiler and CRT variants.

            Support

            The official documentation is hosted at https://microsoft.github.io/MixedReality-WebRTC/.
            Find more information at:

            Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items

            Find more libraries

            Stay Updated

            Subscribe to our newsletter for trending solutions and developer bootcamps

            Agree to Sign up and Terms & Conditions

            Share this Page

            share link

            Consider Popular Augmented Reality Libraries

            AR.js

            by jeromeetienne

            ar-cutpaste

            by cyrildiagne

            aframe

            by aframevr

            engine

            by playcanvas

            Awesome-ARKit

            by olucurious

            Try Top Libraries by microsoft

            vscode

            by microsoftTypeScript

            PowerToys

            by microsoftC#

            TypeScript

            by microsoftTypeScript

            terminal

            by microsoftC++

            Web-Dev-For-Beginners

            by microsoftJavaScript