Don't shard when using TCP
This commit is contained in:
@@ -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;
|
||||
|
||||
@@ -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)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user