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
909 stars 283 forks source link

Video Chat Cards terribly on the WAN. #774

Open Gunther2689 opened 3 years ago

Gunther2689 commented 3 years ago

I want to set up a video chat between Hololens and PC using MR-WebRTC. I have a coTurn server configured to accept Stun/Turns. Everything is fine when I test on the LAN, but terrible on the WAN. The video captured by Hololens cards terribly in the PC when I test on the WAN. Transmitting a 331KB picture using MR-WebRTC on the WAN needs about 13s. I wonder how to figure out that if I have a successful NAT traversal and if NAT traversal is failed, MR-WebRTC would transmit data using a relay server or any other ways.

Hololens LocalVideo Webcam Source: Capture format:manual Width:1280 Height:720 Framerate:30

Environment: Windows10 Hololens2 MixedReality-WebRTC2.0.2 Unity 2019.4.26fc1 Architecture:ARM

Gunther2689 commented 3 years ago

By the way, Above-mentioned transmitting a 331KB picture uses a Datachannel.