From a34b8ba928fdde64ad6cdb486966c6876e0cf97b Mon Sep 17 00:00:00 2001 From: Patrick Nicolas Date: Wed, 14 Aug 2024 11:52:13 +0200 Subject: [PATCH] Send supported codecs on init --- client/scenes/stream.cpp | 2 ++ common/wivrn_packets.h | 1 + 2 files changed, 3 insertions(+) diff --git a/client/scenes/stream.cpp b/client/scenes/stream.cpp index a761a3ce..c4310aff 100644 --- a/client/scenes/stream.cpp +++ b/client/scenes/stream.cpp @@ -127,6 +127,8 @@ std::shared_ptr scenes::stream::create(std::unique_ptrnetwork_session->send_control(info); self->update_local_floor(self->instance.now()); diff --git a/common/wivrn_packets.h b/common/wivrn_packets.h index 6d09a4df..15d11762 100644 --- a/common/wivrn_packets.h +++ b/common/wivrn_packets.h @@ -111,6 +111,7 @@ struct headset_info_packet bool hand_tracking; bool eye_gaze; bool face_tracking2_fb; + std::vector supported_codecs; // from preferred to least preferred }; struct handshake