Skip to content
This repository was archived by the owner on Mar 22, 2022. It is now read-only.
This repository was archived by the owner on Mar 22, 2022. It is now read-only.

Help with Offer Creation (UWP Tutorial) #851

@IanMcAtee

Description

@IanMcAtee

Hi everyone,

I am looking for help with establishing the webRTC connection between a HoloLens and a UWP desktop app. I have followed the MR-WebRTC unity tutorial and have successfully connected the HoloLens to a Unity app. However, now I want to build a desktop UWP app for the HoloLens to connect to. I am attempting to follow the UWP tutorial and have gotten stuck on the last part, "establishing a Web-RTC connection". I have created a button whose on-click event "ConnectButton_Click" simply calls _peerConnection.CreateOffer() and adds the media transceivers. Unfortunately, I don't see an offer being sent on the NodeDss Signaler. I have confirmed that both the UWP app and the HoloLens are polling the signaling server and that the remote and local peer IDs are set correctly on both implementations. Moreover, the code for the transceiver creation gives me the following exception "Exception thrown: 'Microsoft.MixedReality.WebRTC.InvalidInteropNativeHandleException' in Microsoft.MixedReality.WebRTC.dll".

I am new to WebRTC and would really appreciate anyone's help in debugging these issues. I have attached my code for reference, let me know if you need anything additional information.

MainPage.pdf

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions