Send supported codecs on init
This commit is contained in:
@@ -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());
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user