feat: server sdk (#47)
* New webrtc build scripts (Still not integrated within the SDK) * New livekit-api crate (Integrate the server sdk protocol of livekit) * Moved livekit-utils to livekit-protocol
This commit is contained in:
@@ -8,6 +8,7 @@ repository = "https://github.com/livekit/client-sdk-rust"
|
||||
|
||||
[dependencies]
|
||||
livekit = { path = "../livekit", version = "0.1.1" }
|
||||
livekit-protocol = { path = "../livekit-protocol", version = "0.1.0" }
|
||||
tokio = { version = "1.0", features = ["full"] }
|
||||
parking_lot = { version = "0.12.1", features = ["send_guard"] }
|
||||
prost = "0.11.0"
|
||||
|
||||
@@ -1,7 +1,6 @@
|
||||
use crate::{proto, server::FFIHandleId};
|
||||
use crate::server::FFIHandleId;
|
||||
use livekit::prelude::*;
|
||||
use livekit::webrtc::prelude::*;
|
||||
use std::any::Any;
|
||||
use crate::proto;
|
||||
|
||||
pub mod participant;
|
||||
pub mod publication;
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
use crate::{proto, server::FFIHandleId};
|
||||
use crate::proto;
|
||||
use crate::server::FFIHandleId;
|
||||
use livekit::webrtc::prelude::*;
|
||||
use livekit::webrtc::video_frame;
|
||||
use std::any::Any;
|
||||
|
||||
macro_rules! impl_yuv_into {
|
||||
(@fields, $buffer:ident, $data_y:ident, $data_u:ident, $data_v: ident) => {
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
use crate::proto;
|
||||
use lazy_static::lazy_static;
|
||||
use livekit::prelude::*;
|
||||
use livekit::webrtc::video_frame::{native::VideoFrameBufferExt, BoxVideoFrame, VideoFrameBuffer};
|
||||
use crate::proto;
|
||||
use parking_lot::{Mutex, RwLock};
|
||||
use prost::Message;
|
||||
use std::any::Any;
|
||||
|
||||
@@ -1,9 +1,9 @@
|
||||
use crate::proto;
|
||||
use crate::server::FFIServer;
|
||||
use futures_util::stream::StreamExt;
|
||||
use livekit::prelude::*;
|
||||
use livekit::webrtc::video_stream::native::NativeVideoStream;
|
||||
use tokio::sync::{mpsc, oneshot};
|
||||
use crate::proto;
|
||||
|
||||
pub async fn create_room(
|
||||
server: &'static FFIServer,
|
||||
|
||||
Reference in New Issue
Block a user