Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Increased Latency in PV Video Streaming When Deployed as Unity Plugin #77

Open
xli149 opened this issue Dec 11, 2023 · 3 comments
Open

Comments

@xli149
Copy link

xli149 commented Dec 11, 2023

Hello, thank you very much for being able to provide us with such a great open-source project. After installing the appxbundle on Hololens 2, I can successfully access PV video streaming, and the latency is relatively low. However, when I deploy it as a Unity plugin, I find that the latency of PV video streaming increases significantly, to about 1 second. Why is this happening? Is there any way to reduce latency?

Best Regards

@jdibenes
Copy link
Owner

Hello,
We believe this happens because running Unity + 1080p video compression is too demanding for the HoloLens hardware.
A possible workaround is to reduce PV resolution and/or framerate.

@xli149
Copy link
Author

xli149 commented Dec 13, 2023

Hello, We believe this happens because running Unity + 1080p video compression is too demanding for the HoloLens hardware. A possible workaround is to reduce PV resolution and/or framerate.

Thank you very much for your reply. If it's convenient, could you please let me know specifically which part of the code should be modified? I haven't found the location to adjust the resolution yet.

Best Regards

@jdibenes
Copy link
Owner

See client_stream_pv.py lines 32-35 and 79.
Supported resolutions and framerates are in pv_configurations.txt.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants