# Is there a picture in picture mode?

**URL:** <https://devforum.zoom.us/t/is-there-a-picture-in-picture-mode/8505>\
**Category:** Android\
**Created:** [March 10, 2020, 9:37am UTC](https://devforum.zoom.us/t/is-there-a-picture-in-picture-mode/8505 "2020-03-10T09:37:09Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![johntyty2](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/johntyty2/32/3342_2.png) [@johntyty2](https://devforum.zoom.us/u/johntyty2)\
**Post date:** [March 10, 2020, 9:37am UTC](https://devforum.zoom.us/t/is-there-a-picture-in-picture-mode/8505/1 "2020-03-10T09:37:09Z")

</div>

**Description**  
Can zoom sdk implement picture in picture mode on android 6.0?

---

<div class="post-metadata">

**Author:** ![carson.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/carson.zoom/32/785_2.png) [@carson.zoom](https://devforum.zoom.us/u/carson.zoom)\
**Post date:** [March 10, 2020, 7:32pm UTC](https://devforum.zoom.us/t/is-there-a-picture-in-picture-mode/8505/2 "2020-03-10T19:32:51Z")

</div>

Hi [johntyty2](https://devforum.zoom.us/u/johntyty2),

Thanks for the post. Do you mean to minimize the video window and allow it to display over the apps? If so, if you are using Zoom default UI, this feature is not supported yet. If you are using Custom UI, we have this feature available and implemented in our demo app: [https://github.com/zoom/zoom-sdk-android](https://github.com/zoom/zoom-sdk-android)

 ![Screenshot_20200309-225614](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/2X/6/606e75ac23cccd8bcaba7733748cc77e87a645f5.png)

Hope this helps. Thanks!

---

<div class="post-metadata">

**Author:** ![johntyty2](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/johntyty2/32/3342_2.png) [@johntyty2](https://devforum.zoom.us/u/johntyty2)\
**Post date:** [March 11, 2020, 3:54am UTC](https://devforum.zoom.us/t/is-there-a-picture-in-picture-mode/8505/3 "2020-03-11T03:54:12Z")

</div>

Hi [Carson\_Chen](https://devforum.zoom.us/u/Carson_Chen),

 ![Screenshot_20200311-114435](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/2X/e/eb139c090c6abac78bc3a24e4353bee7a28fdf82.png)  
When I pressed this button, it will just leave the meeting and no any minimized video window appear.  
Is this button the minimize button?

---

<div class="post-metadata">

**Author:** ![johntyty2](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/johntyty2/32/3342_2.png) [@johntyty2](https://devforum.zoom.us/u/johntyty2)\
**Post date:** [March 11, 2020, 7:42am UTC](https://devforum.zoom.us/t/is-there-a-picture-in-picture-mode/8505/4 "2020-03-11T07:42:39Z")

</div>

it works now, turns out it works only when the meeting status is inmeeting 😂

---

<div class="post-metadata">

**Author:** ![carson.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/carson.zoom/32/785_2.png) [@carson.zoom](https://devforum.zoom.us/u/carson.zoom)\
**Post date:** [March 12, 2020, 1:01am UTC](https://devforum.zoom.us/t/is-there-a-picture-in-picture-mode/8505/5 "2020-03-12T01:01:32Z")

</div>

Hi [johntyty2](https://devforum.zoom.us/t/is-there-a-picture-in-picture-mode/8505/3),

Thanks for the reply and glad to hear that it is working now. The minimized video window appears if and only if there are 2+ participants in the meeting, based on the screenshot it looks like there is only 1 participant in the meeting.

Let me know if any other questions. Thanks!

---

<div class="post-metadata">

**Author:** ![Guangda](https://avatars.discourse-cdn.com/v4/letter/g/919ad9/32.png) [@Guangda](https://devforum.zoom.us/u/Guangda)\
**Post date:** [March 30, 2020, 7:15am UTC](https://devforum.zoom.us/t/is-there-a-picture-in-picture-mode/8505/6 "2020-03-30T07:15:50Z")

</div>

Hi Carson,

When I tried out the demo app to minimize the Zoom call window, the floaing window only display my own video, not the presenter’s video. Is it the expected behavior? If so, how to display the presenter’s video in the floating window?

Thanks a lot!

---

<div class="post-metadata">

**Author:** ![carson.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/carson.zoom/32/785_2.png) [@carson.zoom](https://devforum.zoom.us/u/carson.zoom)\
**Post date:** [March 31, 2020, 2:08am UTC](https://devforum.zoom.us/t/is-there-a-picture-in-picture-mode/8505/7 "2020-03-31T02:08:24Z")

</div>

Hi [Guangda](https://devforum.zoom.us/u/Guangda),

Thanks for the post. The current video shown in the mini window is the active speaker as you can see here:

> <https://github.com/zoom/zoom-sdk-android/blob/master/mobilertc-android-studio/sample/src/main/java/us/zoom/sdksample/inmeetingfunction/customizedmeetingui/view/MeetingWindowHelper.java#L125>

So whoever is speaking will be shown in the mini window. If you would like to show other user’s video, you may change the view.

Hope this helps. Thanks!

---

<div class="post-metadata">

**Author:** ![Guangda](https://avatars.discourse-cdn.com/v4/letter/g/919ad9/32.png) [@Guangda](https://devforum.zoom.us/u/Guangda)\
**Post date:** [April 2, 2020, 12:38am UTC](https://devforum.zoom.us/t/is-there-a-picture-in-picture-mode/8505/8 "2020-04-02T00:38:02Z")

</div>

Thanks Carson! that’s very helpful.

---

<div class="post-metadata">

**Author:** ![carson.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/carson.zoom/32/785_2.png) [@carson.zoom](https://devforum.zoom.us/u/carson.zoom)\
**Post date:** [April 3, 2020, 5:16am UTC](https://devforum.zoom.us/t/is-there-a-picture-in-picture-mode/8505/9 "2020-04-03T05:16:58Z")

</div>

Glad to hear it is working. Happy Zooming!

---

<div class="post-metadata">

**Author:** ![mattheusgetstudio](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/mattheusgetstudio/32/4176_2.png) [@mattheusgetstudio](https://devforum.zoom.us/u/mattheusgetstudio)\
**Post date:** [June 4, 2020, 9:00pm UTC](https://devforum.zoom.us/t/is-there-a-picture-in-picture-mode/8505/10 "2020-06-04T21:00:44Z")

</div>

Hello, I’m using the example application, even with more than two participants he leaves the meeting.

---

<div class="post-metadata">

**Author:** ![carson.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/carson.zoom/32/785_2.png) [@carson.zoom](https://devforum.zoom.us/u/carson.zoom)\
**Post date:** [June 5, 2020, 9:52am UTC](https://devforum.zoom.us/t/is-there-a-picture-in-picture-mode/8505/11 "2020-06-05T09:52:46Z")

</div>

Hi @mattheusgetstudio,

Thanks for the reply. Could you elaborate on the issue you are facing? What are the steps to reproduce the issue you are mentioning with our demo app?

Thanks!

---

<div class="post-metadata">

**Author:** ![mattheusgetstudio](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/mattheusgetstudio/32/4176_2.png) [@mattheusgetstudio](https://devforum.zoom.us/u/mattheusgetstudio)\
**Post date:** [June 23, 2020, 8:11pm UTC](https://devforum.zoom.us/t/is-there-a-picture-in-picture-mode/8505/12 "2020-06-23T20:11:27Z")

</div>

Hello, I’m using the sample project, I’m using a custom interface, I intend to minimize the window, but when I click on minimize, it leaves the meeting, isn’t it the behavior I expect, is there any possibility to minimize it?

---

<div class="post-metadata">

**Author:** ![bingqing.zhu.bp](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/bingqing.zhu.bp/32/11204_2.png) [@bingqing.zhu.bp](https://devforum.zoom.us/u/bingqing.zhu.bp)\
**Post date:** [June 25, 2020, 8:57am UTC](https://devforum.zoom.us/t/is-there-a-picture-in-picture-mode/8505/13 "2020-06-25T08:57:59Z")

</div>

Hello！I’m using PictureInPicture mode when video meeting.  
but when I pressed share screen button,it will just black video window appear.  
how can I get the video when using PictureInPicture mode?

 ![device-2020-06-25-171334](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/2X/a/a80fca123996c63bf74e9ad04ae46ff007cccea6.png)

---

<div class="post-metadata">

**Author:** ![carson.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/carson.zoom/32/785_2.png) [@carson.zoom](https://devforum.zoom.us/u/carson.zoom)\
**Post date:** [June 27, 2020, 12:51am UTC](https://devforum.zoom.us/t/is-there-a-picture-in-picture-mode/8505/14 "2020-06-27T00:51:12Z")

</div>

Hi @mattheusgetstudio,

Yes, we are able to identify an issue in the demo app, which is the window minimized function is accidentally bind with the back button instead of the minimize window function. You may find the implementation of the minimize button in here: [https://github.com/zoom/zoom-sdk-android/blob/master/mobilertc-android-studio/sample/src/main/java/us/zoom/sdksample/inmeetingfunction/customizedmeetingui/view/MeetingWindowHelper.java#L117](https://github.com/zoom/zoom-sdk-android/blob/master/mobilertc-android-studio/sample/src/main/java/us/zoom/sdksample/inmeetingfunction/customizedmeetingui/view/MeetingWindowHelper.java#L117)

Thanks!

---

<div class="post-metadata">

**Author:** ![carson.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/carson.zoom/32/785_2.png) [@carson.zoom](https://devforum.zoom.us/u/carson.zoom)\
**Post date:** [June 27, 2020, 12:53am UTC](https://devforum.zoom.us/t/is-there-a-picture-in-picture-mode/8505/15 "2020-06-27T00:53:57Z")

</div>

Hi @bingqing.zhu.bp,

Thanks for using Zoom SDK. It seems like the view is not able to get and show the proper video view. Are you modifying the demo code? Could you provide the steps to reproduce this?

Thanks!

---

<div class="post-metadata">

**Author:** ![bingqing.zhu.bp](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/bingqing.zhu.bp/32/11204_2.png) [@bingqing.zhu.bp](https://devforum.zoom.us/u/bingqing.zhu.bp)\
**Post date:** [June 30, 2020, 2:06am UTC](https://devforum.zoom.us/t/is-there-a-picture-in-picture-mode/8505/16 "2020-06-30T02:06:24Z")

</div>

Thanks for answer my question.  
The code has not been modify. I just use Picture In Picture mode when I shared screen.  
Do you have any idea with this problem?

---

<div class="post-metadata">

**Author:** ![carson.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/carson.zoom/32/785_2.png) [@carson.zoom](https://devforum.zoom.us/u/carson.zoom)\
**Post date:** [July 3, 2020, 6:07am UTC](https://devforum.zoom.us/t/is-there-a-picture-in-picture-mode/8505/17 "2020-07-03T06:07:03Z")

</div>

Hi @bingqing.zhu.bp,

Thanks for the reply. I have tried several times with our demo app but I am not able to reproduce the issue you are facing. Could you have a try with the latest version of SDK(Released this week)? Is this happening with a specific device or?

Thanks!

---

<div class="post-metadata">

**Author:** ![bingqing.zhu.bp](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/bingqing.zhu.bp/32/11204_2.png) [@bingqing.zhu.bp](https://devforum.zoom.us/u/bingqing.zhu.bp)\
**Post date:** [July 3, 2020, 4:37pm UTC](https://devforum.zoom.us/t/is-there-a-picture-in-picture-mode/8505/18 "2020-07-03T16:37:29Z")

</div>

hey! Carson!  
Thank you for reply me so quickly. I downloaded the latest version of SDK(v5.0.24433.0616),but the same problem was appeared.  
My paterner tried this new SDK without my problem. I think it is relate to  
specific device.My device is google pixel 4, Android 10.

Thanks!

---

<div class="post-metadata">

**Author:** ![carson.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/carson.zoom/32/785_2.png) [@carson.zoom](https://devforum.zoom.us/u/carson.zoom)\
**Post date:** [July 8, 2020, 7:42am UTC](https://devforum.zoom.us/t/is-there-a-picture-in-picture-mode/8505/19 "2020-07-08T07:42:43Z")

</div>

Hey @bingqing.zhu.bp,

Thanks for the reply. Hmm, that’s strange, we do not have the exact same device on our side so we are not able to test it. I have a Pixel 2, Android 10 here and I was not able to reproduce this issue. I will work with the engineering team on this and see if we could find any way to help you. Will get back to you shortly.

Thanks!

---

<div class="post-metadata">

**Author:** ![bobby\_hung](https://avatars.discourse-cdn.com/v4/letter/b/b782af/32.png) [@bobby\_hung](https://devforum.zoom.us/u/bobby_hung)\
**Post date:** [July 20, 2020, 12:09pm UTC](https://devforum.zoom.us/t/is-there-a-picture-in-picture-mode/8505/20 "2020-07-20T12:09:23Z")

</div>

@carson.zoom  
May I know how to close current meeting Activity or back to previous Activity after calling `MeetingWindowHelper.getInstance().showMeetingWindow(activity)`?

[Next page](https://devforum.zoom.us/t/is-there-a-picture-in-picture-mode/8505.md?page=2)
