Add call2
Co-Authored-By: Kirill Bulatov <kirill@zed.dev> Co-Authored-By: Mikayla Maki <mikayla@zed.dev>
This commit is contained in:
parent
483ac9491a
commit
3bcae6d7de
9 changed files with 67 additions and 45 deletions
|
@ -150,6 +150,10 @@ pub struct Room {
|
|||
_delegate: RoomDelegate,
|
||||
}
|
||||
|
||||
// SAFETY: LiveKit objects are thread-safe: https://github.com/livekit/client-sdk-swift#thread-safety
|
||||
unsafe impl Send for Room {}
|
||||
unsafe impl Sync for Room {}
|
||||
|
||||
impl Room {
|
||||
pub fn new() -> Arc<Self> {
|
||||
Arc::new_cyclic(|weak_room| {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue