# How to flip the video

**URL:** <https://devforum.zoom.us/t/how-to-flip-the-video/60758>\
**Category:** Android\
**Created:** [November 26, 2021, 5:23pm UTC](https://devforum.zoom.us/t/how-to-flip-the-video/60758 "2021-11-26T17:23:40Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![KAZUMA87](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/kazuma87/32/37556_2.png) [@KAZUMA87](https://devforum.zoom.us/u/KAZUMA87)\
**Post date:** [November 26, 2021, 5:23pm UTC](https://devforum.zoom.us/t/how-to-flip-the-video/60758/1 "2021-11-26T17:23:40Z")

</div>

**Description**

For the inner camera, my video will be displayed in reverse, is there any way to flip the mirror for this?  
From what I can find, that feature does not seem to exist in the ZoomSDK.

Is there any way to flip it?  
`videoView.setScaleX(-1f);`  
to flip the View itself, but it did not work.

Thanks.

**Which Android Meeting SDK version?**  
ZoomSDK Android v5.7.6.1918

---

<div class="post-metadata">

**Author:** ![jon.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/jon.zoom/32/13495_2.png) [@jon.zoom](https://devforum.zoom.us/u/jon.zoom)\
**Post date:** [November 29, 2021, 6:21pm UTC](https://devforum.zoom.us/t/how-to-flip-the-video/60758/2 "2021-11-29T18:21:59Z")

</div>

Hi @KAZUMA87, thanks for the post.

You can use the [enableMirrorEffect](https://marketplacefront.zoom.us/sdk/meeting/android/us/zoom/sdk/MeetingSettingsHelper.html#enableMirrorEffect-boolean-) method to enable or disable the mirroring of your video preview. Let me know if you are running into any issues with this method and I’ll be happy to help.

Thanks!

---

<div class="post-metadata">

**Author:** ![KAZUMA87](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/kazuma87/32/37556_2.png) [@KAZUMA87](https://devforum.zoom.us/u/KAZUMA87)\
**Post date:** [December 2, 2021, 7:13am UTC](https://devforum.zoom.us/t/how-to-flip-the-video/60758/3 "2021-12-02T07:13:23Z")

</div>

Hello @jon.zoom ,

Thanks for the advice. But I’m following the steps below and it’s not working.

1. `mZoomSDK = ZoomSDK.getInstance();`  
//Initialize and join the meeting

2. Write the following

```auto
@Override
    public void onZoomSDKInitializeResult(int errorCode, int internalErrorCode) {
        if (errorCode ! = ZoomError.ZOOM_ERROR_SUCCESS) {
            Toast.makeText(this, "Failed to initialize Zoom SDK. Error: " + errorCode + ", internalErrorCode=" + internalErrorCode, Toast.LENGTH_LONG).show();
        } else {
            //Toast.makeText(this, "Initialize Zoom SDK successfully.", Toast.LENGTH_LONG).show();
            mZoomSDK.getMeetingSettingsHelper().setCustomizedMeetingUIEnabled(true);
            mZoomSDK.getMeetingSettingsHelper().enableMirrorEffect(true);
            try {
                initViews();
            } catch (IOException | JSONException e) {
                e.printStackTrace();
            }
        }
    }

```

1. Add the following to the RecyclerView  
`holder.videoView.getVideoViewManager().addPreviewVideoUnit(holder.renderInfo);`

The video is displayed without any problem, but my video is still flipped left and right.  
Please let me know if there is something wrong in the description.

Thanks.

---

<div class="post-metadata">

**Author:** ![jon.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/jon.zoom/32/13495_2.png) [@jon.zoom](https://devforum.zoom.us/u/jon.zoom)\
**Post date:** [December 2, 2021, 8:32pm UTC](https://devforum.zoom.us/t/how-to-flip-the-video/60758/4 "2021-12-02T20:32:49Z")

</div>

Hi @KAZUMA87,

I’ve tested this setting with custom UI enabled and it definitely is working correctly. Is there any difference if you try setting the param to false?

Thanks!

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/3X/6/1/614bdd549b610bbaa46ff934617683a02bdaa03c.png) [@system](https://devforum.zoom.us/u/system)\
**Post date:** [January 2, 2022, 6:33am UTC](https://devforum.zoom.us/t/how-to-flip-the-video/60758/5 "2022-01-02T06:33:36Z")

</div>

Closed on January 2, 2022, 6:33am UTC

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
