feat: basic ffi server to support other languages (#34)

* wip

* wip

* wip

* wip

not a fan of the way I do handles ..

* errors and async semantic

* fix example
This commit is contained in:
Théo Monnom
2023-01-25 00:09:19 +01:00
committed by GitHub
parent 84d2f234f5
commit 1610f86316
24 changed files with 1231 additions and 66 deletions
+1 -2
View File
@@ -362,7 +362,7 @@ impl App {
));
ui.label(format!(
"ParticipantCount: {:?}",
room.session().participants().read().len() + 1
room.session().participants().len() + 1
));
}
}
@@ -411,7 +411,6 @@ impl App {
let name = self.state.room.lock().as_ref().and_then(|room| {
room.session()
.participants()
.read()
.get(participant_sid)
.map(|p| p.name())
});