Components All New MacOS Windows Linux iOS
Examples Mac & Win Server Client Guides Statistic FMM Blog Deprecated Old

AVRecorder.SetVideoOrientation

Sets the video orientation for iOS.

Component Version macOS Windows Linux Server iOS SDK
AVRecorder 14.1 ❌ No ❌ No ❌ No ❌ No ✅ Yes
MBS( "AVRecorder.SetVideoOrientation"; AVSession; Value )   More

Parameters

Parameter Description Example
AVSession The ID for the AVRecorder session as returned by AVRecorder.Init. $AVSession
Value Pass the new orientation.
Value can be PortraitUpsideDown, Portrait, LandscapeLeft, or LandscapeRight.
"LandscapeLeft"

Result

Returns OK or error.

Description

Sets the video orientation for iOS.
If the device is rotated, you may need to adjust the orientation of the camera view.

See also

Release notes

Blog Entries

This function is free to use.

Created 1st March 2024, last changed 1st March 2024


AVRecorder.SetVideoMirrored - AVRecorder.ShowPropertyDialog