feat(qconnect): add session management protobuf types and outbound reporting
Add missing SRVR_CTRL session management message types (81-87, 97-101) that were completely absent from the protobuf definitions. Without these, prost silently discarded all session topology messages from the server. - Add 12 new proto structs for session/renderer/volume/quality events - Add decoder branches and map functions for all new message types - Add SessionManagementEvent variant to bypass queue reducer - Add v2_qconnect_report_playback_state and v2_qconnect_report_volume - Add comprehensive logging for inbound message diagnostics
This commit is contained in:
13 files changed
+950
-106
No files matched your search
@@ -1,6 +1,7 @@
|
||||
use async_trait::async_trait;
|
||||
use qconnect_core::{QConnectQueueState, QConnectRendererState, RendererCommand};
|
||||
use serde::{Deserialize, Serialize};
|
||||
use serde_json::Value;
|
||||
|
||||
#[derive(Debug, Clone, Serialize, Deserialize)]
|
||||
pub enum QconnectAppEvent {
|
||||
@@ -30,6 +31,12 @@ pub enum QconnectAppEvent {
|
||||
action_uuid: String,
|
||||
},
|
||||
QueueResyncTriggered,
|
||||
/// Session management event from server (types 81-87, 97-101).
|
||||
/// These don't affect the queue reducer but provide session topology info.
|
||||
SessionManagementEvent {
|
||||
message_type: String,
|
||||
payload: Value,
|
||||
},
|
||||
}
|
||||
|
||||
#[async_trait]
|
||||
|
||||
Reference in new issue
Block a user