WIP
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
use std::{env, path::PathBuf, process::Command};
|
||||
|
||||
fn main() {
|
||||
println!("cargo:rerun-if-changed=/Users/as-cii/Library/Developer/Xcode/DerivedData/LiveKitObjC-ftgpxknhsgkrocbhhgjkyyvkgkbj/Build/Products/Debug/libLiveKitObjC.a");
|
||||
println!("cargo:rustc-link-search=/Users/as-cii/Library/Developer/Xcode/DerivedData/LiveKitObjC-ftgpxknhsgkrocbhhgjkyyvkgkbj/Build/Products/Debug");
|
||||
println!("cargo:rustc-link-lib=static=LiveKitObjC");
|
||||
println!("cargo:rustc-link-lib=framework=ScreenCaptureKit");
|
||||
|
||||
@@ -47,8 +47,14 @@ const NSUTF8StringEncoding: NSUInteger = 4;
|
||||
|
||||
actions!(capture, [Quit]);
|
||||
|
||||
extern "C" {
|
||||
fn BuildLKRoom() -> *const c_void;
|
||||
}
|
||||
|
||||
fn main() {
|
||||
class!(LKRoom);
|
||||
unsafe {
|
||||
BuildLKRoom();
|
||||
}
|
||||
|
||||
SimpleLogger::init(LevelFilter::Info, Default::default()).expect("could not initialize logger");
|
||||
|
||||
|
||||
Reference in New Issue
Block a user