MCPcopy Create free account
hub / github.com/Roy3838/Observer / AndroidCaptureState

Class AndroidCaptureState

app/plugins/screen-capture/src/android.rs:190–195  ·  view source on GitHub ↗

Shared state for Android capture channels

Source from the content-addressed store, hash-verified

188
189/// Shared state for Android capture channels
190struct AndroidCaptureState {
191 frame_channel: RwLock<Option<Channel<FrameData>>>,
192 audio_channel: RwLock<Option<Channel<AudioData>>>,
193 audio_resampler: SharedResampler,
194 frame_count: std::sync::atomic::AtomicU64,
195}
196
197impl AndroidCaptureState {
198 fn new() -> Self {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected