# Blank video when calling startActiveView while in a Breakout room

**URL:** <https://devforum.zoom.us/t/blank-video-when-calling-startactiveview-while-in-a-breakout-room/55559>\
**Category:** macOS\
**Created:** [August 10, 2021, 6:25pm UTC](https://devforum.zoom.us/t/blank-video-when-calling-startactiveview-while-in-a-breakout-room/55559 "2021-08-10T18:25:10Z")\
**Posts on this page:** 11\
**Page:** 1

<div class="post-metadata">

**Author:** ![matt.r.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/matt.r.zoom/32/25622_2.png) [@matt.r.zoom](https://devforum.zoom.us/u/matt.r.zoom)\
**Post date:** [August 10, 2021, 6:25pm UTC](https://devforum.zoom.us/t/blank-video-when-calling-startactiveview-while-in-a-breakout-room/55559/1 "2021-08-10T18:25:10Z")

</div>

**Description**

We’re seeing an issue when using Breakout rooms in conjunction with the `startActiveView` API in our custom UI.

To summarize:

- When using the `startActiveView` API in the main Zoom room (on the view we get from `getVideoView` on `ZoomSDKActiveVideoElement`), we have no problems with the video feed, and everything seems to work correctly
- If the meeting host joins a Breakout room with another participant, however, and we attempt to use `startActiveView`, the related view is blank and video feed never appears
- Our UI and code is, generally, identical between these two scenarios, and so the failure in the breakout room is a bit puzzling
- The startActiveView API is not returning any errors, and is reporting success, despite there being no video feed

So far I haven’t been able to find much in the way of clues as to what is going wrong. Initially I thought perhaps our UI was laid out incorrectly in the Breakout room, but that doesn’t appear to be the case.

Other notes:

- The NSView for hosting the video stream (from `getVideoView`) is visible, the frame is Ok, and the expected private subviews (Zoom SDK’s Metal-backed views) are also showing in the UI
- We get no error codes when calling `startActiveView`
- I have also tried tapping into the related delegate hooks for `ZoomSDKVideoContainerDelegate` to see if we were overlooking or misusing some callback there, but I can’t see any obvious callbacks which are occurring or any errors etc.

Apologies if I’m overlooking something obvious, but can anyone possibly offer any ideas/hints/suggestions as to what might be going wrong?

**Which macOS Client SDK version?**  
5.5.12511.0420

**To Reproduce(If applicable)**

(Please see notes above.)

**Screenshots**

**Device (please complete the following information):**

- Device: Apple MacBook Pro (13-inch)
- OS: macOS Big Sur 11.4

---

<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:** [August 11, 2021, 4:10pm UTC](https://devforum.zoom.us/t/blank-video-when-calling-startactiveview-while-in-a-breakout-room/55559/2 "2021-08-11T16:10:16Z")

</div>

Hi @matt.r.zoom, thanks for the post.

Sorry to hear you’re running into issues with the active speaker view in breakout rooms. Can you please confirm that the following steps to reproduce are correct?

1. Start a meeting from the Zoom client
2. Join the meeting using the SDK
3. From the client, assign the SDK user to a breakout room
4. From the SDK, join the breakout room
5. From the client join that same breakout room
6. After the host joins the breakout room, setup the active speaker view through the SDK
7. Observe blank video

Thanks!

---

<div class="post-metadata">

**Author:** ![matt.r.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/matt.r.zoom/32/25622_2.png) [@matt.r.zoom](https://devforum.zoom.us/u/matt.r.zoom)\
**Post date:** [August 11, 2021, 10:30pm UTC](https://devforum.zoom.us/t/blank-video-when-calling-startactiveview-while-in-a-breakout-room/55559/3 "2021-08-11T22:30:12Z")

</div>

Hi Jon,

Thanks for the reply; the above steps are pretty close to how we’re testing locally in our custom UI / client. Summarized:

1. Join a meeting as the host, where at least 1 other attendee has also joined (attendee is also using our custom client app + UI)
2. Create a Breakout room and assign the attendee to join
3. Ensure the attendee has joined the Breakout room
4. As host, also join the Breakout room
5. Setup the active speaker view (via the SDK, `getVideoView` + `startActiveView` etc.)

Result: view displays blank video.

---

<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:** [August 12, 2021, 9:28pm UTC](https://devforum.zoom.us/t/blank-video-when-calling-startactiveview-while-in-a-breakout-room/55559/4 "2021-08-12T21:28:57Z")

</div>

Hi @matt.r.zoom,

Thanks for confirming the steps to reproduce. Just to clarify, are you seeing this issue only from the host’s perspective, only from the attendee’s perspective, or both?

Thanks!

---

<div class="post-metadata">

**Author:** ![matt.r.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/matt.r.zoom/32/25622_2.png) [@matt.r.zoom](https://devforum.zoom.us/u/matt.r.zoom)\
**Post date:** [August 12, 2021, 11:00pm UTC](https://devforum.zoom.us/t/blank-video-when-calling-startactiveview-while-in-a-breakout-room/55559/5 "2021-08-12T23:00:51Z")

</div>

Hi Jon,  
Thanks again for the reply; primarily I have been testing the ‘active view’ from the host’s perspective. I’ve run a few tests from the attendee’s client as well, however, and the issue is the same.

---

<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:** [August 13, 2021, 10:13pm UTC](https://devforum.zoom.us/t/blank-video-when-calling-startactiveview-while-in-a-breakout-room/55559/6 "2021-08-13T22:13:58Z")

</div>

Hi @matt.r.zoom,

Thanks for confirming. We’ll investigate this and let you know as soon as we have any updates.

Thanks!

---

<div class="post-metadata">

**Author:** ![matt.r.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/matt.r.zoom/32/25622_2.png) [@matt.r.zoom](https://devforum.zoom.us/u/matt.r.zoom)\
**Post date:** [August 16, 2021, 4:32pm UTC](https://devforum.zoom.us/t/blank-video-when-calling-startactiveview-while-in-a-breakout-room/55559/7 "2021-08-16T16:32:14Z")

</div>

Thanks very much Jon. Any chance you could confirm whether your team has also reproduced this issue (or something similar)? We are trying to determine what the root culprit might be but so far haven’t been able to find much.

---

<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:** [August 17, 2021, 7:55pm UTC](https://devforum.zoom.us/t/blank-video-when-calling-startactiveview-while-in-a-breakout-room/55559/8 "2021-08-17T19:55:41Z")

</div>

Hi @matt.r.zoom,

We were not able to reproduce this, but upon closer investigation we figure out why. The short of it is that a new video element must be used. More information below.

All video elements provided by the macOS SDK are meant to coincide with the lifecycle of the current meeting instance. That means that when you leave a meeting, you must clean up all elements related to that meeting. Since breakout rooms are treated as distinct meetings, you will need to create a new video element when joining the breakout room, and then another when rejoining the main meeting.

Please let me know if anything is unclear or if you are still encountering issues after updating to this approach.

Thanks!

---

<div class="post-metadata">

**Author:** ![matt.r.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/matt.r.zoom/32/25622_2.png) [@matt.r.zoom](https://devforum.zoom.us/u/matt.r.zoom)\
**Post date:** [August 17, 2021, 9:15pm UTC](https://devforum.zoom.us/t/blank-video-when-calling-startactiveview-while-in-a-breakout-room/55559/9 "2021-08-17T21:15:21Z")

</div>

Hi Jon, thanks very much for providing this info, it looks like this fixes the issue. Thank you again

---

<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:** [August 18, 2021, 8:47pm UTC](https://devforum.zoom.us/t/blank-video-when-calling-startactiveview-while-in-a-breakout-room/55559/10 "2021-08-18T20:47:17Z")

</div>

Glad we were able to help get this resolved!

---

<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:** [September 18, 2021, 6:47am UTC](https://devforum.zoom.us/t/blank-video-when-calling-startactiveview-while-in-a-breakout-room/55559/11 "2021-09-18T06:47:23Z")

</div>

Closed on September 18, 2021, 6:47am UTC

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