AVRecorder.GetVideoOrientation
------------------------------

Queries current video orientation.

| Component | Version | macOS | Windows | Linux | Server | iOS SDK |
|---|---|---|---|---|---|---|
| [AVRecorder](component_AVRecorder.md) | [14.1](newinversion141.md) | ❌ No | ❌ No | ❌ No | ❌ No | ✅ Yes |

MBS( "AVRecorder.GetVideoOrientation"; AVSession ) 

**MBS**( **"AVRecorder.GetVideoOrientation";** /\* Queries current video orientation. \*/  
**$AVSession**) /\* The ID for the AVRecorder session as returned by [AVRecorder.Init](AVRecorderInit.md). \*/ 

### Parameters

| Parameter | Description | Example |
|---|---|---|
| AVSession | The ID for the AVRecorder session as returned by [AVRecorder.Init](AVRecorderInit.md). | $AVSession |

### Result

Returns value or error.

### Description

Queries current video orientation.  
Value can be PortraitUpsideDown, Portrait, LandscapeLeft, or LandscapeRight.  
### See also

- [AVRecorder.Init](AVRecorderInit.md)
- [AVRecorder.SetVideoOrientation](AVRecorderSetVideoOrientation.md)

### Release notes

- **Version 14.1**
    - Added [AVRecorder.GetVideoOrientation](https://www.mbsplugins.eu/AVRecorderGetVideoOrientation.shtml) and [AVRecorder.SetVideoOrientation](https://www.mbsplugins.eu/AVRecorderSetVideoOrientation.shtml) function.

### Blog Entries

- [New in MBS FileMaker Plugin 14.1](https://www.mbsplugins.de/archive/2024-03-19/New_in_MBS_FileMaker_Plugin_14/monkeybreadsoftware_blog_filemaker)
- [MBS FileMaker Plugin, version 14.1pr6](https://www.mbsplugins.de/archive/2024-03-07/MBS_FileMaker_Plugin_version_1/monkeybreadsoftware_blog_filemaker)

This function is free to use.

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

  
[AVRecorder.GetVideoMirrored](AVRecorderGetVideoMirrored.md) - [AVRecorder.HasQRCode](AVRecorderHasQRCode.md)

[HTML Version](AVRecorderGetVideoOrientation.shtml)