hl2ss icon indicating copy to clipboard operation
hl2ss copied to clipboard

Would it be possible to run the appxbundle in the background on the hololens?

Open Michelvl92 opened this issue 1 year ago • 6 comments

Currently, this is not possible. Is this possible, and what would be the best way to do this?

I want to show a Unity application in the hololens 2 (the Unity application is currently running on an external computer that is rendering this unity view) and streamed to a viewer (that should be in the foreground). In the background, I want to run hl2ss server.

Michelvl92 avatar Mar 29 '23 06:03 Michelvl92

Did you find a solution so far, i would also be interested. Thanks

FlorianDirnberger avatar Apr 19 '23 12:04 FlorianDirnberger

May I ask you to elaborate your request? Do you want to render the data in the background and then displaying on another machine?

Birkenpapier avatar May 03 '23 20:05 Birkenpapier

I would also be interested in this. I want to run the hl2ss app in the background to stream sensor data to python, send that data to unity via a socket, and then play the scene on the Hololens 2 via a Holographic Remote Player. For that to work both the hl2ss app and the holographic remote player would need to run simultaneously.

manzoned avatar Oct 26 '23 17:10 manzoned

It seems it is not possible to run two holographic applications simultaneously. Here is an experimental 2D version of the appxbundle that can run alongside other apps: https://github.com/jdibenes/hl2ss/blob/main/etc/hl2ss_1.0.26.0_arm64_FLAT.appxbundle

jdibenes avatar Oct 27 '23 03:10 jdibenes

Thanks for sharing this. I can confirm that this 2D version can be run alongside other apps (e.g., Holographic Remoting Player).

However, I did notice some differences when running some of the sample codes in the viewer folder. For example, streaming the camera sensors works and plays, but the spatial input codes do not work properly/as with the original app bundle. The codes run, but the head, gaze and hand tracking do not provide proper values and are not projected onto the video frame.

manzoned avatar Oct 27 '23 14:10 manzoned

Any updates on this issue? Also interested, thx

zhangzhousuper avatar Jul 03 '24 03:07 zhangzhousuper