Skip to content

Commit

Permalink
new api for screen capture
Browse files Browse the repository at this point in the history
  • Loading branch information
yury committed Nov 7, 2024
1 parent b0be23b commit fc98d67
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions cidre/src/sc/stream.rs
Original file line number Diff line number Diff line change
Expand Up @@ -581,6 +581,14 @@ pub trait Delegate: objc::Obj {
#[objc::optional]
#[objc::msg_send(outputVideoEffectDidStopForStream:)]
fn output_video_effect_did_stop_for_stream(&mut self, stream: &Stream);

#[objc::optional]
#[objc::msg_send(streamDidBecomeActive:)]
fn stream_did_become_active(&mut self, stream: &Stream);

#[objc::optional]
#[objc::msg_send(streamDidBecomeInactive:)]
fn stream_did_become_inactive(&mut self, stream: &Stream);
}

define_obj_type!(pub AnyDelegate(ns::Id));
Expand Down

0 comments on commit fc98d67

Please sign in to comment.