reconnect WIP

This commit is contained in:
Théo Monnom
2022-12-14 23:38:20 +01:00
parent da91efd3a5
commit 4465afad0c
25 changed files with 1039 additions and 657 deletions
+8 -1
View File
@@ -1,3 +1,5 @@
use livekit::events::TrackSubscribedEvent;
#[derive(Debug)]
pub enum AsyncCmd {
RoomConnect { url: String, token: String },
@@ -5,5 +7,10 @@ pub enum AsyncCmd {
#[derive(Debug)]
pub enum UiCmd {
ConnectResult,
ConnectResult {
result: livekit::room::RoomResult<()>,
},
TrackSubscribed {
event: TrackSubscribedEvent,
},
}