57 Commits
Author SHA1 Message Date
Guillaume Meunier 99a5685c34 When the runtime does not track the hands:
- Hide them in the lobby
- Don't send tracking data in the stream
2024-03-30 13:44:51 +01:00
Patrick Nicolas 8e3979cc8c Use XrTime for all time data 2024-03-24 14:01:44 +01:00
Patrick Nicolas de3bf50975 Prepare for pipewire audio backend 2024-03-23 20:24:23 +01:00
Patrick Nicolas 00f50fb86f Use callback-based method for Android audio out 2024-03-16 13:36:07 +01:00
Patrick Nicolas d8048c392a Use vulkan types for encoder range and color model 2024-03-05 10:05:02 +01:00
Patrick Nicolas 842fae3b27 Encode TCP size on 16 bits 2024-03-05 09:25:15 +01:00
Patrick Nicolas 82ca58cbea Drop std::pair support in serialization 2024-03-05 09:23:27 +01:00
Patrick Nicolas 5adbeef2cd Drop unused data from feedback packets 2024-03-05 09:23:27 +01:00
Guillaume Meunier 1ec1f23862 Serialize string length on 16 bits 2024-03-05 09:23:27 +01:00
Patrick Nicolas 5cbaa76ad6 Blit images with one render pass per eye 2024-03-02 16:51:05 +01:00
Guillaume Meunier a2271d486a Add hand tracking 2024-02-25 16:09:32 +01:00
Patrick Nicolas 91f6dc08f0 Handle big UDP packets 2024-02-25 16:09:32 +01:00
Guillaume Meunier 9efe3852f4 Set the current active runtime when a headset connects 2024-02-19 23:36:28 +01:00
Patrick Nicolas e385e459ee Always do yuv conversion in vulkan 2024-02-18 16:15:55 +01:00
Patrick Nicolas a733e69796 Send encode timings 2024-02-18 09:03:46 +01:00
Guillaume Meunier ab2d1f02ce Cleanup 2024-02-18 09:03:46 +01:00
Guillaume Meunier 2e53f91f93 Add performance metrics plot 2024-02-18 09:03:46 +01:00
Patrick Nicolas 5589aaf301 Move vk_allocator to common 2024-02-07 18:25:54 +01:00
Patrick Nicolas df394ec079 Make vk_allocator a singleton 2024-02-07 18:25:54 +01:00
Patrick Nicolas 595d27f8dc Move singleton.h to common 2024-02-07 18:25:54 +01:00
Guillaume Meunier d84095e1ea Basic GUI 2024-01-28 11:33:35 +01:00
Patrick Nicolas 24d65d8c53 Add support for system boost 2024-01-08 09:13:44 +01:00
Patrick Nicolas d71135111f Merge hostname-sd and hostname files 2023-12-21 20:40:37 +01:00
Guillaume Meunier 27f1106221 Use add_custom_target instead of add_custom_command 2023-12-16 14:16:48 +01:00
Guillaume Meunier 59ebc4b87e Publish server and protocol version on avahi 2023-12-16 14:16:48 +01:00
Guillaume Meunier 3076e61f49 Added serialization of std::pair 2023-12-16 14:16:47 +01:00
Guillaume Meunier 7f08d096aa Move serialization hash unit tests in a separate file 2023-12-16 14:16:47 +01:00
Patrick Nicolas 94e60d4e8b Use same packet definitions for both sockets 2023-12-16 14:16:47 +01:00
Patrick Nicolas df786362e7 Only send I frames when necessary 2023-12-16 14:16:46 +01:00
Patrick Nicolas 60c97e0e7b Use client fov to compute foveation center 2023-12-14 23:39:26 +01:00
Patrick Nicolas 10fa78c21c Make encoder options explicit in cmake 2023-11-25 14:37:36 +01:00
Patrick Nicolas e2868547e2 remove copies in audio thread 2023-11-22 00:00:55 +01:00
Patrick Nicolas 8b0895913b Reduce some copies in serialization
Also update a bunch of stuff
2023-11-22 00:00:55 +01:00
Patrick Nicolas c799fa6aa4 Remove FEC code, reduce data copies 2023-11-22 00:00:55 +01:00
Patrick Nicolas a3729cc1bf remove useless shared_ptr 2023-11-22 00:00:55 +01:00
Patrick Nicolas bd8183bbd2 Set send buffer size 2023-11-22 00:00:55 +01:00
Patrick Nicolas 347052109d Add device-specific logic
Controller bindings have been moved to the new logic.
Recommended view sizes are now overriden as recommendation is based on
the integrated GPU while for streaming headsets can usually do much
better.
2023-11-20 21:14:28 +01:00
Patrick Nicolas 38fcf7dc00 Rework stream socket
Stream socket on server now uses the same port as the control socket.
Client does not assign a port to its stream socket, instead it sends a
handshake packet at the beginning, the server reads the remote port from
it.
2023-11-08 19:15:59 +01:00
Patrick Nicolas 3473f00e0c Add expedited forwarding ToS flag in stream socket 2023-10-20 11:27:23 +02:00
Guillaume Meunier 8de6b2283d Fix build error when building from a tarball instead of a git clone 2023-07-29 17:50:51 +02:00
Patrick Nicolas 2704b46927 Add timestamps for inputs 2023-06-30 12:25:15 +02:00
Patrick Nicolas 00fbfafb60 use control socket for audio data 2023-06-29 17:27:52 +02:00
Patrick Nicolas 5932b54d74 Allow encoders to change their settings 2022-12-04 19:01:44 +01:00
Patrick Nicolas 9dd10e5261 Improve audio latency
Switch from module-simple-protocol-tcp + null sink/source to pipe
sink/source and custom network streaming.
2022-12-04 18:09:11 +01:00
Patrick NicolasandGuillaume Meunier 2b4303272d Initial audio support
Co-authored-by: Guillaume Meunier <[email protected]>
2022-12-03 21:24:55 +01:00
Guillaume Meunier 6dce276889 clang-format 2022-11-28 22:35:10 +01:00
Guillaume MeunierandPatrick Nicolas f16cfa8ae8 Add continuous foveated encoding
Co-authored-by: Patrick Nicolas <[email protected]>
2022-11-28 22:35:02 +01:00
Patrick Nicolas c97512d912 specialize serialization of vector<uint8_t> 2022-11-27 10:18:28 +01:00
Patrick Nicolas 539466e664 specialize serialization for video data 2022-11-26 23:03:15 +01:00
Patrick Nicolas dc7f2cda21 Fix colorspace on headset 2022-11-14 19:41:17 +01:00