WIP
This commit is contained in:
parent
9b8e6cce02
commit
db8b8ef66b
5 changed files with 30 additions and 0 deletions
|
@ -62,6 +62,7 @@ extern "C" {
|
|||
fn LKVideoTrackAddRenderer(track: *const c_void, renderer: *const c_void);
|
||||
fn LKRemoteVideoTrackGetSid(track: *const c_void) -> CFStringRef;
|
||||
|
||||
fn LKDisplays();
|
||||
fn LKDisplaySources(
|
||||
callback_data: *mut c_void,
|
||||
callback: extern "C" fn(
|
||||
|
@ -73,6 +74,12 @@ extern "C" {
|
|||
fn LKCreateScreenShareTrackForDisplay(display: *const c_void) -> *const c_void;
|
||||
}
|
||||
|
||||
pub fn displays() {
|
||||
unsafe {
|
||||
LKDisplays();
|
||||
}
|
||||
}
|
||||
|
||||
pub type Sid = String;
|
||||
|
||||
pub struct Room {
|
||||
|
|
|
@ -9,6 +9,10 @@ use media::core_video::CVImageBuffer;
|
|||
use parking_lot::Mutex;
|
||||
use std::{future::Future, sync::Arc};
|
||||
|
||||
pub fn displays() {
|
||||
panic!()
|
||||
}
|
||||
|
||||
lazy_static! {
|
||||
static ref SERVERS: Mutex<HashMap<String, Arc<TestServer>>> = Default::default();
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue