Open SheehanC1 opened 3 years ago
I have the same question. The unity project can worl well on two PCs, but it doesn't work on a hololens 2 and a PC. Has there been any progress on this issue? Thank you!
I have the same question. The unity project can worl well on two PCs, but it doesn't work on a hololens 2 and a PC. Has there been any progress on this issue? Thank you!
It works after importing mrtk.
Hi @ANG0-0GNA. What versions of the MR-Web RTC, MRTK, and Unity did you use? And is your scene with the WebRTC stuff in it configured for MRTK as well? If so, did you have to change any of the MRTK configs for it to work? Thanks for any insights you can give!
hi @SheehanC1. webrtc: 2.02, mrtk: 2.6.1. I use the VideoChatDemo in webrtc.samples, and import the mrtk to VideoChatDemo.
Thanks @ANG0-0GNA!
Hi, @ANG0-0GNA Did you directly import MRTK to a project which contains VideoChatDemo? Did you import both WebRTC and MRTK via MixedRealityFeatureTool? Have you ever encounter any Unity Crash?
Hi, @ANG0-0GNA Did you directly import MRTK to a project which contains VideoChatDemo? Did you import both WebRTC and MRTK via MixedRealityFeatureTool? Have you ever encounter any Unity Crash?
@xuhaozheng Yes. Unity may crash.
@ANG0-0GNA So how did you make it runnable? Build the unity project and deploy it to Hololens directly?
I have the same question. The unity project can worl well on two PCs, but it doesn't work on a hololens 2 and a PC. Has there been any progress on this issue? Thank you!
It works after importing mrtk. How did you test and find it worked? I just tried to import MRTK to the VideoChatDemo and deploy it to the Hololens. It seems do not work.
Description: I followed the Unity Hello World tutorial for using MR WebRTC with Unity. I got it to successfully connect 2 PCs, but when I moved on to try a connection that's HoloLens and PC, the build in the HoloLens crashes the moment both are connected to the node-dss server running on the PC.
Steps To Reproduce
Expected behavior In the headset, you should see 2 screens, one displaying the local webcam capture of what the HoloLens is seeing, and the other screen displaying what the PC cam is seeing remotely. On the PC you should see something similar but with the local and remote swapped.
Screenshots Here is a screenshot of the errors/SDP messages logged the moment it tries to connect and immediately crashes
Environment
Additional context The game in the Hololens only crashes if the PC is also running its version of the game/in Unity and the Node.js is running the node-dss server to connect them. If the node-dss-server isn;t running or the game isn't running on the PC, it just captures and shows the Local video only (until the conditions are met for it to crash).
From what I can tell, it might be associated with the Preferred Video Codec where the PC is using VP8 or VP9 cause it has to and the HoloLens is using H264? similar issue maybe