Search code examples
c#unity-game-engineaugmented-realityhololens

the methods of live streaming from PC to HoloLens 2


I want to stream real-time video from the PC's screen capture or the webcam connected on PC to the HoloLens 2. I have tried to use obs-studio to capture video on PC and use vlc to receive and play the stream on HoloLens 2. But the delay is more than two seconds. Are there some other more effective methods to achieve this?

Thank you very much!


Solution

  • Regular low latency video streaing methods result in subsecond latency. Effectively the end-to-end latency can be well under 100 ms, however this requires that you use proper mix of technologies including: screen capture, video codecs, hardware acceleraton, networking, Unity integration. The technologies you mentioned are far from optimal stack and hence the result you are observing.