# How to custom the conference UI

**URL:** <https://devforum.zoom.us/t/how-to-custom-the-conference-ui/2810>\
**Category:** Windows\
**Created:** [December 25, 2018, 1:56am UTC](https://devforum.zoom.us/t/how-to-custom-the-conference-ui/2810 "2018-12-25T01:56:07Z")\
**Posts on this page:** 20\
**Page:** 2

<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:** [May 19, 2020, 4:19am UTC](https://devforum.zoom.us/t/how-to-custom-the-conference-ui/2810/21 "2020-05-19T04:19:49Z")

</div>

Thanks for helping out! 🙂

---

<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:** [May 19, 2020, 4:23am UTC](https://devforum.zoom.us/t/how-to-custom-the-conference-ui/2810/22 "2020-05-19T04:23:35Z")

</div>

Hi [t.barry-woods](https://devforum.zoom.us/u/t.barry-woods),

Thanks for the reply. The error code from the CreateVideoElement() could be retrieved by modifying the C# wrapper and print it out when debugging. Please note that: we have 3 different types of video elements: Preview/Active/Normal; For preview video element, you may create it at any point, but for active/normal video elements, it must be created only after the meeting is in “In-Meeting” state.

If you follow the above process and still get the error, then we might need the SDK log to investigate further.

Thanks!

---

<div class="post-metadata">

**Author:** ![bragma](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/bragma/32/4213_2.png) [@bragma](https://devforum.zoom.us/u/bragma)\
**Post date:** [May 19, 2020, 8:40pm UTC](https://devforum.zoom.us/t/how-to-custom-the-conference-ui/2810/23 "2020-05-19T20:40:56Z")

</div>

Hi @carson.zoom,  
I have the opposite problem. I can’t destroy a video element without getting SDKERR\_UNINITIALIZE. What’s the correct way to do it?

---

<div class="post-metadata">

**Author:** ![sam.decrock](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/sam.decrock/32/8656_2.png) [@sam.decrock](https://devforum.zoom.us/u/sam.decrock)\
**Post date:** [May 20, 2020, 8:36pm UTC](https://devforum.zoom.us/t/how-to-custom-the-conference-ui/2810/24 "2020-05-20T20:36:14Z")

</div>

> [@Wilmer\_Sun](#):
>
> a. call CreateCustomizedUIMgr() to create the UI manager

Hi, I’m trying to create a custom UI using the C# wrapper. However I cannot find the `CreateCustomizedUIMgr()` function.

Also, where do I call this (before joining the meeting, when connecting, when in meeting, …)?

And does creating the CustomizedUIMgr automatically prevent the default Zoom UI from loading or do I need to call something to prevent that?

---

<div class="post-metadata">

**Author:** ![sam.decrock](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/sam.decrock/32/8656_2.png) [@sam.decrock](https://devforum.zoom.us/u/sam.decrock)\
**Post date:** [May 20, 2020, 8:53pm UTC](https://devforum.zoom.us/t/how-to-custom-the-conference-ui/2810/25 "2020-05-20T20:53:27Z")

</div>

Yes! I finally found how to tell the SDK to use a custom UI:

> [@t.barry-woods](#):
>
> InitParam.config\_opts = new ConfigurableOptions() { optionalFeatures = 1 \<\< 5 }

I should have read the tutorials a little bit better: [https://marketplace.zoom.us/docs/sdk/native-sdks/windows/mastering-sdk/custom-ui-feature#1-initialize-the-sdk](https://marketplace.zoom.us/docs/sdk/native-sdks/windows/mastering-sdk/custom-ui-feature#1-initialize-the-sdk)

Now do I still need to call `CreateCustomizedUIMgr()` ?

---

<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:** [May 21, 2020, 7:48am UTC](https://devforum.zoom.us/t/how-to-custom-the-conference-ui/2810/26 "2020-05-21T07:48:57Z")

</div>

Hi Sam,

To use Custom UI, you will need to set the following at SDK initialization:

```auto
InitParam.config_opts = new ConfigurableOptions() { optionalFeatures = 1 << 5 }

```

This will tell SDK not to show the Zoom default UI. Once the Custom UI mode is enabled, you will need to draw your own UI, and handle each event. You may follow the steps that Wilmer has mentioned above:

> [@Wilmer\_Sun](#):
>
> a. call CreateCustomizedUIMgr() to create the UI manager  
> b. create a window which will contain the video contrainer created by step 3  
> c. create a video container by calling ICustomizedUIMgr::CreateVideoContainer()  
> d. create one or more video elements by calling IVideoRenderElement::CreateVideoElement()

These steps are for creating a video view and show it in the Custom UI. So you will need to repeat these steps for every video view you would like to have.

Hope this helps. Thanks!

---

<div class="post-metadata">

**Author:** ![sam.decrock](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/sam.decrock/32/8656_2.png) [@sam.decrock](https://devforum.zoom.us/u/sam.decrock)\
**Post date:** [May 21, 2020, 10:06am UTC](https://devforum.zoom.us/t/how-to-custom-the-conference-ui/2810/27 "2020-05-21T10:06:28Z")

</div>

> [@Wilmer\_Sun](#):
>
> a. call CreateCustomizedUIMgr() to create the UI manager

How do I do this in C#? I can’t seem to find that function.

I can only find `CZoomSDKeDotNetWrap.Instance.GetCustomizedUIMgrWrap()`

---

<div class="post-metadata">

**Author:** ![Wilmer\_Sun](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/wilmer_sun/32/61_2.png) [@Wilmer\_Sun](https://devforum.zoom.us/u/Wilmer_Sun)\
**Post date:** [May 21, 2020, 11:51am UTC](https://devforum.zoom.us/t/how-to-custom-the-conference-ui/2810/28 "2020-05-21T11:51:27Z")

</div>

Well, the introduce of using sdk is written to c++ user. We do not have document for C# user.

For C# sdk, we wrap the calling of CreateCustomizedUIMgr() in c++ wrapper. You can find it in ./wrap/customized\_ui\_components\_wrap/customized\_ui\_mgr\_wrap.cpp. You can just use the functions of the class CCustomizedUIMgrDotNetWrap to create video container/share render.

---

<div class="post-metadata">

**Author:** ![t.barry-woods](https://avatars.discourse-cdn.com/v4/letter/t/e274bd/32.png) [@t.barry-woods](https://devforum.zoom.us/u/t.barry-woods)\
**Post date:** [May 25, 2020, 3:11am UTC](https://devforum.zoom.us/t/how-to-custom-the-conference-ui/2810/29 "2020-05-25T03:11:06Z")

</div>

@sam.decrock @bragma @meldur has anyone got this working? I’ve tried following @bragma’s helpful suggestion but unfortunately I still have the exact same problem. When I run the custom UI code after the meeting status changes to MEETING\_STATUS\_INMEETING, I get the same result of an empty black rectangle in my application and a null video element in code. here’s my code for reference:  
`var ui = CZoomSDKeDotNetWrap.Instance.GetCustomizedUIMgrWrap();`  
`var container = ui.CreateVideoContainer(handle, bounds); // handle and bounds are valid`  
`var video = container.CreateVideoElement(VideoRenderElementType.VideoRenderElement_ACTIVE);`  
`var activeVideo = video as IActiveVideoRenderElementDotNetWrap; // activeVideo is always null`

---

<div class="post-metadata">

**Author:** ![bragma](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/bragma/32/4213_2.png) [@bragma](https://devforum.zoom.us/u/bragma)\
**Post date:** [May 25, 2020, 6:58am UTC](https://devforum.zoom.us/t/how-to-custom-the-conference-ui/2810/30 "2020-05-25T06:58:20Z")

</div>

@t.barry-woods, set a reasonable width and height on the container before creating the element. If I remember well, that was also required to make it work.

---

<div class="post-metadata">

**Author:** ![t.barry-woods](https://avatars.discourse-cdn.com/v4/letter/t/e274bd/32.png) [@t.barry-woods](https://devforum.zoom.us/u/t.barry-woods)\
**Post date:** [May 25, 2020, 7:49am UTC](https://devforum.zoom.us/t/how-to-custom-the-conference-ui/2810/31 "2020-05-25T07:49:16Z")

</div>

@bragma do you mean the element that `handle` points to, or the container returned by `CreateVideoContainer(handle, bounds)`? In my code, `bounds` has already been set to an area of around 300 X 300 pixels, which is calculated from the (WPF) ActualSize of the area I want the video to occupy. Is there something else I need to do to set the width and height?

---

<div class="post-metadata">

**Author:** ![bragma](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/bragma/32/4213_2.png) [@bragma](https://devforum.zoom.us/u/bragma)\
**Post date:** [May 25, 2020, 8:45am UTC](https://devforum.zoom.us/t/how-to-custom-the-conference-ui/2810/32 "2020-05-25T08:45:33Z")

</div>

Good question, actually I don’t remember. I could do some tests, but probably it’s quicker for you to make sure that both the container and the handle element have adequate width/height.

---

<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:** [May 29, 2020, 5:46am UTC](https://devforum.zoom.us/t/how-to-custom-the-conference-ui/2810/33 "2020-05-29T05:46:07Z")

</div>

Hi @t.barry-woods,

Based on the code you provided, everything looks good. Could you recompile the wrapper and add debug logs for the interface `IVideoRenderElementDotNetWrap^ CreateVideoElement` and see what is the reason that causes this issue?

Thanks!

---

<div class="post-metadata">

**Author:** ![xunm](https://avatars.discourse-cdn.com/v4/letter/x/d26b3c/32.png) [@xunm](https://devforum.zoom.us/u/xunm)\
**Post date:** [July 25, 2020, 3:23am UTC](https://devforum.zoom.us/t/how-to-custom-the-conference-ui/2810/34 "2020-07-25T03:23:45Z")

</div>

- After looking at it so much, I finally solved the custom UI

---

<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 29, 2020, 7:29am UTC](https://devforum.zoom.us/t/how-to-custom-the-conference-ui/2810/35 "2020-07-29T07:29:15Z")

</div>

Thanks for using Zoom SDK. Glad to hear that you have solved the Custom UI.

---

<div class="post-metadata">

**Author:** ![ajc0006](https://avatars.discourse-cdn.com/v4/letter/a/f9ae1b/32.png) [@ajc0006](https://devforum.zoom.us/u/ajc0006)\
**Post date:** [August 1, 2020, 4:28pm UTC](https://devforum.zoom.us/t/how-to-custom-the-conference-ui/2810/36 "2020-08-01T16:28:14Z")

</div>

Can you summarize that?

---

<div class="post-metadata">

**Author:** ![TimP](https://avatars.discourse-cdn.com/v4/letter/t/b19c9b/32.png) [@TimP](https://devforum.zoom.us/u/TimP)\
**Post date:** [September 25, 2020, 3:04pm UTC](https://devforum.zoom.us/t/how-to-custom-the-conference-ui/2810/37 "2020-09-25T15:04:34Z")

</div>

I had the same problem while using the Windows C++ SDK, and I was able to solve it as follows.

Problem:  
ICustomizedUIMgr::CreateVideoContainer() succeeds  
ICustomizedVideoContainer::CreateVideoElement() returns SDKERR\_MODULE\_LOAD\_FAILED (4)

Solution:  
Before trying to create the video element, show the video container:  
ICustomizedVideoContainer::Show()

Please add this to the documentation!

---

<div class="post-metadata">

**Author:** ![aliaksei.luferau](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/aliaksei.luferau/32/14709_2.png) [@aliaksei.luferau](https://devforum.zoom.us/u/aliaksei.luferau)\
**Post date:** [December 17, 2020, 11:08am UTC](https://devforum.zoom.us/t/how-to-custom-the-conference-ui/2810/38 "2020-12-17T11:08:45Z")

</div>

I created example illustrates how to implement Zoom Custom UI on WPF app. Can be found here: [https://github.com/luferau/zoom-custom-ui-wpf](https://github.com/luferau/zoom-custom-ui-wpf)

---

<div class="post-metadata">

**Author:** ![ziad.mansour](https://avatars.discourse-cdn.com/v4/letter/z/858c86/32.png) [@ziad.mansour](https://devforum.zoom.us/u/ziad.mansour)\
**Post date:** [January 16, 2021, 11:45am UTC](https://devforum.zoom.us/t/how-to-custom-the-conference-ui/2810/39 "2021-01-16T11:45:46Z")

</div>

Please can you provide me with the code pieces about how to create a video container and customize UI in C#

---

<div class="post-metadata">

**Author:** ![Michael\_Condon](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/michael_condon/32/13543_2.png) [@Michael\_Condon](https://devforum.zoom.us/u/Michael_Condon)\
**Post date:** [January 19, 2021, 8:20pm UTC](https://devforum.zoom.us/t/how-to-custom-the-conference-ui/2810/40 "2021-01-19T20:20:32Z")

</div>

Hey @ziad.mansour,

Thanks for using the dev forum!

Zoom does not actively support the C# wrapper, however, the interfaces are very similar in the C++ version. Here are the instructions to set one up in C++ [https://marketplace.zoom.us/docs/sdk/native-sdks/windows/mastering-sdk/custom-ui-feature](https://marketplace.zoom.us/docs/sdk/native-sdks/windows/mastering-sdk/custom-ui-feature).

Thanks!  
Michael

[Previous page](https://devforum.zoom.us/t/how-to-custom-the-conference-ui/2810.md?page=1)

[Next page](https://devforum.zoom.us/t/how-to-custom-the-conference-ui/2810.md?page=3)
