HoloLensCameraStream icon indicating copy to clipboard operation
HoloLensCameraStream copied to clipboard

Hololens 2: List of Supported Resolutions incomplete

Open lapislazinus opened this issue 5 years ago • 7 comments

The documentation mentions a variety of different camera profiles / resolutions to choose from. However, i only get two supported resolutions at runtime: 2272x1278 and 896x504, with 30 or 15 FPS each. I also noticed that the video stream is not opened using the center camera, but one of the tracking cameras on the side. This suspect this to be related, but i don't know whether i only get those two resolutions because the side camera only supports those or the other way around. I will investigate the issue further soon; any info on this will be much appreciated ;)

I am using Unity 2019.2.19f1

lapislazinus avatar Mar 02 '20 16:03 lapislazinus

Did some tests; what's weird aswell is that i only get the following 2 available devices (with Modes):

  • No Name, MediaStreamType = VideoRecord, SourceKind = Depth
  • QC Back Camera
    • MediaStreamType: VideoPreview, SourceKind: Color
    • MediaStreamType: Photo, SourceKind: Image
    • MediaStreamType: VideoRecord, SourceKind: Color

Im pretty sure that QC Back Camera corresponds to the Hololens front camera, which is opened by this plugin, although its location attribute says "Panel.Back"

lapislazinus avatar Mar 03 '20 15:03 lapislazinus

I got the same results with yours. I am using Unity 2019.3

pandalee86 avatar Mar 12 '20 07:03 pandalee86

How do you even get this to build for HL2, i only get 24 errors of missing functions. I am using 2019.4 though.

efsjouw avatar Aug 24 '20 09:08 efsjouw

@efsjouw Can you open a separate Issue/Question if you want help? With HL2, you need to build for UWP and ARM64, so the process is a bit different. I guess this project is abandoned though (for HL2 - HL1 should still work), so you might not want to invest your resources here

lapislazinus avatar Aug 24 '20 11:08 lapislazinus

@efsjouw Can you open a separate Issue/Question if you want help? With HL2, you need to build for UWP and ARM64, so the process is a bit different. I guess this project is abandoned though (for HL2 - HL1 should still work), so you might not want to invest your resources here

Alright https://github.com/VulcanTechnologies/HoloLensCameraStream/issues/69

efsjouw avatar Aug 25 '20 12:08 efsjouw

Is there maybe a maintained fork with the necessary changes for the HL2?

andy-held avatar Jan 25 '21 14:01 andy-held

I can use this repo with HL2 and Unity 2019.4 without problems. I had some problems with namespaces though, I can't remember exactly what I changed to make it work.

zorderjohn avatar Jan 28 '21 15:01 zorderjohn

Hello. I have just released a version in my repository that supports the latest Unity and Hololens2. Please try it out. https://github.com/EnoxSoftware/HoloLensCameraStream

EnoxSoftware avatar Nov 17 '22 06:11 EnoxSoftware