You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Mar 22, 2022. It is now read-only.
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.
Thanks for the feedback. I actually solved this, it was a dumb mistake. I realized I never initialized the peer connection by calling _peerConnection.InitializeAsync(config).
As for the transceiver issue, I solved it by the method suggested in this issue: #547
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
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
The text was updated successfully, but these errors were encountered: