Remove unused LKDisplays API

This commit is contained in:
Antonio Scandurra 2022-10-21 10:12:24 +02:00
parent 0ef62fc334
commit ae44a38285
4 changed files with 0 additions and 28 deletions

View file

@ -62,7 +62,6 @@ 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(
@ -74,12 +73,6 @@ extern "C" {
fn LKCreateScreenShareTrackForDisplay(display: *const c_void) -> *const c_void;
}
pub fn displays() {
unsafe {
LKDisplays();
}
}
pub type Sid = String;
pub struct Room {

View file

@ -9,10 +9,6 @@ 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();
}