Don't shard when using TCP

This commit is contained in:
Patrick Nicolas
2025-09-24 20:53:03 +02:00
parent 66ca73981d
commit 5873de80b8
3 changed files with 13 additions and 2 deletions
+5
View File
@@ -64,6 +64,11 @@ public:
wivrn_connection(const wivrn_connection &) = delete;
wivrn_connection & operator=(const wivrn_connection &) = delete;
bool has_stream() const
{
return stream;
}
bool is_active()
{
return active;
+4
View File
@@ -193,6 +193,10 @@ public:
void operator()(to_monado::disconnect &&);
void operator()(to_monado::set_bitrate &&);
bool has_stream()
{
return connection->has_stream();
}
template <typename T>
void send_stream(T && packet)
{