add server messages (with toasts!)
This commit is contained in:
@@ -608,6 +608,18 @@ struct handshake
|
||||
int stream_port;
|
||||
};
|
||||
|
||||
struct server_message
|
||||
{
|
||||
enum class kind : uint8_t
|
||||
{
|
||||
stream_toast,
|
||||
stream_toast_urgent,
|
||||
};
|
||||
|
||||
kind kind;
|
||||
std::string msg;
|
||||
};
|
||||
|
||||
struct foveation_parameter
|
||||
{
|
||||
// The number of source pixels for each ratio,
|
||||
@@ -766,6 +778,7 @@ using packets = std::variant<
|
||||
pin_check_2,
|
||||
pin_check_4,
|
||||
handshake,
|
||||
server_message,
|
||||
audio_stream_description,
|
||||
video_stream_description,
|
||||
audio_data,
|
||||
|
||||
Reference in New Issue
Block a user