pub unsafe trait SCStreamOutput: NSObjectProtocol {
// Provided method
unsafe fn stream_didOutputSampleBuffer_ofType(
&self,
stream: &SCStream,
sample_buffer: &CMSampleBuffer,
type: SCStreamOutputType,
)
where Self: Sized + Message { ... }
}Available on crate feature
SCStream only.Expand description
Provided Methods§
Sourceunsafe fn stream_didOutputSampleBuffer_ofType(
&self,
stream: &SCStream,
sample_buffer: &CMSampleBuffer,
type: SCStreamOutputType,
)
Available on crate feature objc2-core-media only.
unsafe fn stream_didOutputSampleBuffer_ofType( &self, stream: &SCStream, sample_buffer: &CMSampleBuffer, type: SCStreamOutputType, )
objc2-core-media only.stream:didOutputSampleBuffer:ofType:
Parameter sampleBuffer: the sample buffer
Parameter type: the sample buffer type
protocol method for passing back screen sample buffers