AVRecorder.SetVideoMirrored
---------------------------

Sets mirror state.

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

MBS( "AVRecorder.SetVideoMirrored"; AVSession; Mode ) 

**MBS**( **"AVRecorder.SetVideoMirrored";** /\* Sets mirror state. \*/  
**$AVSession**; /\* The ID for the AVRecorder session as returned by [AVRecorder.Init](AVRecorderInit.md). \*/   
**$Mode**) /\* The new mode.  
Pass 1 to mirror or 0 to not mirror.e.g. 0 \*/ 

### Parameters

| Parameter | Description | Example |
|---|---|---|
| AVSession | The ID for the AVRecorder session as returned by [AVRecorder.Init](AVRecorderInit.md). | $AVSession |
| Mode | The new mode.   Pass 1 to mirror or 0 to not mirror. | 0 |

### Result

Returns OK or error.

### Description

Sets mirror state.  
### Examples

Turn on mirroring:

 # disable auto mirror   
Set Variable \[ $r ; Value: MBS ( "[AVRecorder.SetAutomaticallyAdjustsVideoMirroring](AVRecorderSetAutomaticallyAdjustsVideoMirroring.md)"; $AVSession ; 0 ) \]   
\# enable mirror manually   
Set Variable \[ $r ; Value: MBS ( "AVRecorder.SetVideoMirrored"; $AVSession ; 1 ) \]  
### See also

- [AVRecorder.GetVideoMirrored](AVRecorderGetVideoMirrored.md)
- [AVRecorder.Init](AVRecorderInit.md)
- [AVRecorder.SetAutomaticallyAdjustsVideoMirroring](AVRecorderSetAutomaticallyAdjustsVideoMirroring.md)
- [AVRecorder.SetVideoDevice](AVRecorderSetVideoDevice.md)

### Release notes

- **Version 7.4**
    - Added [AVRecorder.GetAutomaticallyAdjustsVideoMirroring](http://www.mbsplugins.eu/AVRecorderGetAutomaticallyAdjustsVideoMirroring.shtml), [AVRecorder.GetVideoMirrored](http://www.mbsplugins.eu/AVRecorderGetVideoMirrored.shtml), [AVRecorder.IsVideoMirroringSupported](http://www.mbsplugins.eu/AVRecorderIsVideoMirroringSupported.shtml), [AVRecorder.SetAutomaticallyAdjustsVideoMirroring](http://www.mbsplugins.eu/AVRecorderSetAutomaticallyAdjustsVideoMirroring.shtml) and [AVRecorder.SetVideoMirrored](http://www.mbsplugins.eu/AVRecorderSetVideoMirrored.shtml) to mirror video on Mac/iOS.

### Blog Entries

- [MBS FileMaker Plugin, version 7.4pr3](https://www.mbsplugins.de/archive/2017-08-22/MBS_FileMaker_Plugin_version_7/monkeybreadsoftware_blog_filemaker)

This function checks for a license.

Created 15th August 2017 , last changed 21st August 2017

  
[AVRecorder.SetVideoDevice](AVRecorderSetVideoDevice.md) - [AVRecorder.SetVideoOrientation](AVRecorderSetVideoOrientation.md)

[HTML Version](AVRecorderSetVideoMirrored.shtml)