WIP
This commit is contained in:
parent
497232ee59
commit
0df97dce02
1 changed files with 1 additions and 3 deletions
|
@ -72,8 +72,6 @@ fn main() {
|
||||||
let stream: id = msg_send![stream, initWithFilter: filter configuration: config delegate: nil];
|
let stream: id = msg_send![stream, initWithFilter: filter configuration: config delegate: nil];
|
||||||
let error: id = nil;
|
let error: id = nil;
|
||||||
let _: () = msg_send![stream, addStreamOutput: output type: 0 sampleHandlerQueue: dispatch_get_main_queue() error: &error];
|
let _: () = msg_send![stream, addStreamOutput: output type: 0 sampleHandlerQueue: dispatch_get_main_queue() error: &error];
|
||||||
println!("Added stream output... error? {}", string_from_objc(msg_send![error, localizedDescription]));
|
|
||||||
|
|
||||||
|
|
||||||
let start_capture_completion = ConcreteBlock::new(move |error: id| {
|
let start_capture_completion = ConcreteBlock::new(move |error: id| {
|
||||||
if !error.is_null() {
|
if !error.is_null() {
|
||||||
|
@ -81,7 +79,7 @@ fn main() {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
println!("starting capture");
|
||||||
});
|
});
|
||||||
|
|
||||||
assert!(!stream.is_null());
|
assert!(!stream.is_null());
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue