Platforms to show: All Mac Windows Linux Cross-Platform

Back to AVCaptureViewControlMBS control.

AVCaptureViewControlMBS.setSession(session as AVCaptureSessionMBS, showVideoPreview as boolean, showAudioPreview as boolean)

Type Topic Plugin Version macOS Windows Linux iOS Targets
method AVFoundation MBS AVFoundation Plugin 18.3 ✅ Yes ❌ No ❌ No ❌ No Desktop only
Sets the session represented by this view.

session: The session to be represented.
showVideoPreview: Whether or not video preview should be shown. If YES, capture inputs for video media data will be added, removed, or modified depending on device availability and user selection.
showAudioPreview: Whether or not audio preview should be shown. If YES, capture inputs for audio media data will be added, removed, or modified depending on device availability and user selection.

The view must either show audio preview or video preview or both. Furthermore, the view may modify the capture session, for example, to access media data for preview or when the user select a new capture source. Only the default session is started and stopped automatically. The provided session must be manually started and stopped.

The items on this page are in the following plugins: MBS AVFoundation Plugin.


The biggest plugin in space...