Initial audio support

Co-authored-by: Guillaume Meunier <guillaume.meunier@centraliens.net>
This commit is contained in:
Patrick Nicolas
2022-12-03 21:24:55 +01:00
committed by Guillaume Meunier
co-authored by Guillaume Meunier
parent b5417633a1
commit 2b4303272d
17 changed files with 786 additions and 9 deletions
+7
View File
@@ -49,6 +49,13 @@ void scenes::stream::operator()(to_headset::video_stream_parity_shard && shard)
shard_queue.push(std::move(shard));
}
void scenes::stream::operator()(to_headset::audio_stream_description && desc)
{
std::visit([&](auto & address){
audio_handle.emplace(desc, address);
}, network_session->address);
}
void scenes::stream::operator()(to_headset::video_stream_description && desc)
{
setup(desc);