Send supported codecs on init

This commit is contained in:
Patrick Nicolas
2024-08-31 22:07:56 +02:00
parent fa5955f859
commit a34b8ba928
2 changed files with 3 additions and 0 deletions
+2
View File
@@ -127,6 +127,8 @@ std::shared_ptr<scenes::stream> scenes::stream::create(std::unique_ptr<wivrn_ses
if (not application::get_config().microphone)
info.microphone = {};
info.supported_codecs = decoder_impl::supported_codecs();
self->network_session->send_control(info);
self->update_local_floor(self->instance.now());
+1
View File
@@ -111,6 +111,7 @@ struct headset_info_packet
bool hand_tracking;
bool eye_gaze;
bool face_tracking2_fb;
std::vector<video_codec> supported_codecs; // from preferred to least preferred
};
struct handshake