# 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:** 1

<div class="post-metadata">

**Author:** ![N.H](https://avatars.discourse-cdn.com/v4/letter/n/ebca7d/32.png) [@N.H](https://devforum.zoom.us/u/N.H)\
**Post date:** [December 25, 2018, 1:56am UTC](https://devforum.zoom.us/t/how-to-custom-the-conference-ui/2810/1 "2018-12-25T01:56:07Z")

</div>

I would like to display the control buttons and the zoom conference screen in the same window.  
Can I implement the application screen like the attached figure?

 ![image](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/1X/826e95e7cf545e670bacd46871d0447ba5fba5fa.png)  
I am glad if you would reply.

Relate topic posted by me : [https://support.zoom.us/hc/en-us/community/posts/360033974771-How-to-call-a-meeting-without-a-new-window-](https://support.zoom.us/hc/en-us/community/posts/360033974771-How-to-call-a-meeting-without-a-new-window-)

---

<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:** [December 25, 2018, 8:37am UTC](https://devforum.zoom.us/t/how-to-custom-the-conference-ui/2810/2 "2018-12-25T08:37:55Z")

</div>

Yes. You can do that once you use the custom UI interfaces of the ZOOM SDK.

The following steps are the normal flow to use custom UI features:  
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()

For more details, please refer to the sdk demo.

Regards,  
Wilmer

---

<div class="post-metadata">

**Author:** ![N.H](https://avatars.discourse-cdn.com/v4/letter/n/ebca7d/32.png) [@N.H](https://devforum.zoom.us/u/N.H)\
**Post date:** [December 29, 2018, 12:47am UTC](https://devforum.zoom.us/t/how-to-custom-the-conference-ui/2810/3 "2018-12-29T00:47:55Z")

</div>

Thank you for your reply and detail information.  
I implemented the calling of CreateVideoContainer. It succeeded. Thank you so much.  
`ICustomizedUIMgr::CreateVideoContainer(<my application window handler>, <expected screen position>)`

Additionally, I have a question.  
I think that “Custom UI Feature” cannot be used in Zoom-Windows-Csharp-wrapper. Is it correct?

---

<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:** [December 29, 2018, 3:12am UTC](https://devforum.zoom.us/t/how-to-custom-the-conference-ui/2810/4 "2018-12-29T03:12:27Z")

</div>

You are welcome!

Custom UI feature can be used in c# wrapper. Currently, you need to write the wrapper yourself.

Regards,  
Wilmer

---

<div class="post-metadata">

**Author:** ![N.H](https://avatars.discourse-cdn.com/v4/letter/n/ebca7d/32.png) [@N.H](https://devforum.zoom.us/u/N.H)\
**Post date:** [January 7, 2019, 1:56am UTC](https://devforum.zoom.us/t/how-to-custom-the-conference-ui/2810/5 "2019-01-07T01:56:04Z")

</div>

I’m very sorry for my late reply.

I understood how to use Custom UI feature in C#.  
I’ll try to implement the wrapper.

Best regards,  
N.H

---

<div class="post-metadata">

**Author:** ![ankit.acet13](https://avatars.discourse-cdn.com/v4/letter/a/bc8723/32.png) [@ankit.acet13](https://devforum.zoom.us/u/ankit.acet13)\
**Post date:** [March 3, 2020, 4:51pm UTC](https://devforum.zoom.us/t/how-to-custom-the-conference-ui/2810/6 "2020-03-03T16:51:20Z")

</div>

Hi,

I am able to connect , open and join meeting if i use zoom meeting UI. it works fine for me.  
but I am not able to open custom UI, although in case of custom UI aproach I am able to join the meeting.

Here is the approach i am following :  
Initialization :  
Code snippet for initialization :  
ZOOM\_SDK\_DOTNET\_WRAP.InitParam param = new ZOOM\_SDK\_DOTNET\_WRAP.InitParam();  
param.web\_domain = “[https://zoom.us](https://zoom.us/)”;  
param.config\_opts.optionalFeatures = 32;

```auto
        ZOOM_SDK_DOTNET_WRAP.SDKError err = ZOOM_SDK_DOTNET_WRAP.CZoomSDKeDotNetWrap.Instance.Initialize(param);

```

AUTHENTICATION :  
Code Snippet for authentication :  
ZOOM\_SDK\_DOTNET\_WRAP.CZoomSDKeDotNetWrap.Instance.GetAuthServiceWrap().Add\_CB\_onAuthenticationReturn(onAuthenticationReturn);

```auto
        ZOOM_SDK_DOTNET_WRAP.AuthParam authparam = new ZOOM_SDK_DOTNET_WRAP.AuthParam();

        authparam.appKey = "XXXXXXXX";
        authparam.appSecret = "XXXXXXX";
        ZOOM_SDK_DOTNET_WRAP.CZoomSDKeDotNetWrap.Instance.GetAuthServiceWrap().SDKAuth(authparam);

```

Meeting status change event : there is one event onMeetingStatusChange, when the meeting status is MEETING\_STATUS\_INMEETING

Below Code executes :

videocontainer vc = new videocontainer();  
RECT t = new RECT  
{  
Right = 10,  
Left = 10,  
Bottom = 100,  
Top = 10  
};  
GCHandle handle1 = GCHandle.Alloc(vc);  
IntPtr parameter = (IntPtr)handle1;

```auto
                    var customUIContainer = ZOOM_SDK_DOTNET_WRAP.CZoomSDKeDotNetWrap.Instance.GetCustomizedUIMgrWrap().CreateVideoContainer(parameter, t);
                    //customUIContainer.
                    customUIContainer.CreateVideoElement(VideoRenderElementType.VideoRenderElement_ACTIVE);
                    customUIContainer.Show();

```

JOINING Meeting :  
Code snippet for the same :  
ZOOM\_SDK\_DOTNET\_WRAP.JoinParam joinparam = new ZOOM\_SDK\_DOTNET\_WRAP.JoinParam();  
[//joinparam.userType](https://joinparam.usertype/) = ZOOM\_SDK\_DOTNET\_WRAP.SDKUserType.SDK\_UT\_APIUSER;  
joinparam.userType = ZOOM\_SDK\_DOTNET\_WRAP.SDKUserType.SDK\_UT\_APIUSER;  
ZOOM\_SDK\_DOTNET\_WRAP.JoinParam4APIUser join\_api\_param = new ZOOM\_SDK\_DOTNET\_WRAP.JoinParam4APIUser();  
join\_api\_param.meetingNumber = 123456789;  
join\_api\_param.userName = “”;  
joinparam.apiuserJoin = join\_api\_param;

```auto
        ZOOM_SDK_DOTNET_WRAP.SDKError err = ZOOM_SDK_DOTNET_WRAP.CZoomSDKeDotNetWrap.Instance.GetMeetingServiceWrap().Join(joinparam);
		
		
		
		After following this approacg i am able to join meeting but custom UI provided by zoom is not getting opened.
		Can you please let me know if i am missing something or any problem with my approach.

```

---

<div class="post-metadata">

**Author:** ![ankit.acet13](https://avatars.discourse-cdn.com/v4/letter/a/bc8723/32.png) [@ankit.acet13](https://devforum.zoom.us/u/ankit.acet13)\
**Post date:** [March 3, 2020, 4:54pm UTC](https://devforum.zoom.us/t/how-to-custom-the-conference-ui/2810/7 "2020-03-03T16:54:14Z")

</div>

i found sdk\_demo\_v2\_2017 project solution in which custom UI is getting opened but this project is in .exe form. we need .dll file to be consumed in c# code.  
Do I need to write a new wrapper code to implement this and use it in c# as existing wrapper is not working for custom UI functionality.

---

<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 5, 2020, 1:25am UTC](https://devforum.zoom.us/t/how-to-custom-the-conference-ui/2810/8 "2020-03-05T01:25:27Z")

</div>

Hi [ankit.acet13](https://devforum.zoom.us/t/how-to-custom-the-conference-ui/2810/7),

Thanks for the reply and thanks for providing the code snippet. Yes, since the C# wrapper project is a community project and it does not include all interfaces in the native SDK, after a brief research, we found out that the part for custom UI in the C# wrapper is actually not containing all custom UI interfaces available in the native Windows SDK. Therefore the Custom UI might not work as expected in the C# wrapper.

I have forwarded this to the engineering team and we will add those interfaces in the C# wrapper in the next release. You could also implement the wrapper code if it this urgent. Pardon the inconvenience caused by this.

Hope this helps. Thanks!

---

<div class="post-metadata">

**Author:** ![ankit.acet13](https://avatars.discourse-cdn.com/v4/letter/a/bc8723/32.png) [@ankit.acet13](https://devforum.zoom.us/u/ankit.acet13)\
**Post date:** [March 5, 2020, 7:20am UTC](https://devforum.zoom.us/t/how-to-custom-the-conference-ui/2810/9 "2020-03-05T07:20:24Z")

</div>

thanks for reply. Could you please let me know when your next release is coming up. so that can adjust accordingly.

---

<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 6, 2020, 2:09am UTC](https://devforum.zoom.us/t/how-to-custom-the-conference-ui/2810/10 "2020-03-06T02:09:24Z")

</div>

Hi [ankit.acet13](https://devforum.zoom.us/t/how-to-custom-the-conference-ui/2810/9),

Thanks for the reply. We are targeting to have a release at the end of this month. Please follow our Github repo for any updates: [https://github.com/zoom/zoom-c-sharp-wrapper](https://github.com/zoom/zoom-c-sharp-wrapper)

Thanks!

---

<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:** [March 19, 2020, 1:12pm UTC](https://devforum.zoom.us/t/how-to-custom-the-conference-ui/2810/11 "2020-03-19T13:12:08Z")

</div>

Hi @carson.zoom, I’m also experiencing issues with custom UI with the C# wrapper. Here’s my code:  
var ui = CZoomSDKeDotNetWrap.Instance.GetCustomizedUIMgrWrap();  
var container = ui.CreateVideoContainer(handle, bounds);  
var video = container.CreateVideoElement(VideoRenderElementType.VideoRenderElement\_ACTIVE);  
container.Show();  
With this code, I get a plain black area where the video should be, and people on the call can hear me - but I don’t see any video or Zoom UI elements at all. If I add the line:  
video.Show();  
I get a null reference exception with no helpful details. Am I missing something, or should I wait for the fix?

---

<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 20, 2020, 10:38pm UTC](https://devforum.zoom.us/t/how-to-custom-the-conference-ui/2810/12 "2020-03-20T22:38:59Z")

</div>

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

Thanks for using Zoom SDK. When the element has successfully created, it won’t show upon creation. If this element is an active video element, we have an interface `start()` and `stop()` to control [https://zoom.github.io/zoom-sdk-windows/class\_i\_active\_video\_render\_element.html#ac4446616f0d8133d073eca040d986405;](https://zoom.github.io/zoom-sdk-windows/class_i_active_video_render_element.html#ac4446616f0d8133d073eca040d986405;) Even though this reference for Windows SDK, but the interface name is the same for both Windows SDK and C# wrapper.

Hope this helps. Thanks!

---

<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:** [March 23, 2020, 3:08am UTC](https://devforum.zoom.us/t/how-to-custom-the-conference-ui/2810/13 "2020-03-23T03:08:41Z")

</div>

Hi @carson.zoom, thanks for you response - I hadn’t realised that I needed to cast the IVideoRenderElementDotNetWrap to an IActiveVideoRenderElementDotNetWrap. Unfortunately I’m still having trouble - it seems that container.CreateVideoElement(VideoRenderElementType.VideoRenderElement\_ACTIVE) is returning null for me. I’ve set InitParam.config\_opts = new ConfigurableOptions() { optionalFeatures = 1 \<\< 5 }. Is there something else that I’m missing? Do I need to call the CreateVideoElement() method at a particular point in time or under certain circumstances? Here’s my code for your reference:

```
var window = Application.Current.MainWindow;
                    IntPtr handle = GetHandle(window);
                    RECT bounds = GetBounds(window);
                    var ui = CZoomSDKeDotNetWrap.Instance.GetCustomizedUIMgrWrap();
                    var container = ui.CreateVideoContainer(handle, bounds);
                    var video = container.CreateVideoElement(VideoRenderElementType.VideoRenderElement_ACTIVE); // video is always null
                    var activeVideo = video as IActiveVideoRenderElementDotNetWrap;
                    
                    Console.WriteLine("Showing container");
                    var error = container.Show();
                    if (error != SDKError.SDKERR_SUCCESS)
                    {
                        Console.WriteLine("Error at container.Show: " + error);
                        break;
                    }
                    Console.WriteLine("Starting activeVideo");
                    error = activeVideo.Start(); // null reference exception is thrown here
                    if (error != SDKError.SDKERR_SUCCESS)
                    {
                        Console.WriteLine("Error at video.Start: " + error);
                    }
```

---

<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 24, 2020, 6:13am UTC](https://devforum.zoom.us/t/how-to-custom-the-conference-ui/2810/14 "2020-03-24T06:13:54Z")

</div>

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

Thanks for the reply. I could not tell why you are getting unexpected results based on the code provided. Our C# wrapper’s source code is open source so the following resource could be helpful for troubleshooting this:

- [zoom-c-sharp-wrapper/zoom\_sdk\_c\_sharp\_wrap/h/customized\_ui/customized\_video\_container.h at 5500fbaac55b10068f1f05b166755048a8ca2034 · zoom/zoom-c-sharp-wrapper · GitHub](https://github.com/zoom/zoom-c-sharp-wrapper/blob/5500fbaac55b10068f1f05b166755048a8ca2034/zoom_sdk_c_sharp_wrap/h/customized_ui/customized_video_container.h#L179)
- [zoom-c-sharp-wrapper/zoom\_sdk\_c\_sharp\_wrap/customized\_video\_container\_dotnet\_wrap.h at 5500fbaac55b10068f1f05b166755048a8ca2034 · zoom/zoom-c-sharp-wrapper · GitHub](https://github.com/zoom/zoom-c-sharp-wrapper/blob/5500fbaac55b10068f1f05b166755048a8ca2034/zoom_sdk_c_sharp_wrap/customized_video_container_dotnet_wrap.h#L56)

And the process to create a video window in Custom UI is like Wilmer has mentioned above:

> [@Wilmer\_Sun](#):
>
> The following steps are the normal flow to use custom UI features:  
> 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()

Hope this helps. Thanks!

---

<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:** [March 24, 2020, 10:37am UTC](https://devforum.zoom.us/t/how-to-custom-the-conference-ui/2810/15 "2020-03-24T10:37:34Z")

</div>

Thanks @carson.zoom - yes I think I’ve followed the steps outlined in @Wilmer_Sun’s description. Unfortunately I don’t know C++, but as far as I can tell, the problem is probably coming from this line (#64) in **customized\_video\_container\_dotnet\_wrap.h** :  
`SDKError result = (SDKError)m_pSDKObj->CreateVideoElement(&pObj, (ZOOM_SDK_NAMESPACE::VideoRenderElementType)elementType);`  
The returned result must be something other than SKERR\_SUCCESS, but I have no way of telling what the error is or why. Any ideas?

---

<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:** [March 24, 2020, 10:56am UTC](https://devforum.zoom.us/t/how-to-custom-the-conference-ui/2810/16 "2020-03-24T10:56:17Z")

</div>

I’ve tried copying this code into the Zoom SDK Demo project in case there was something specific to my application. I got the same results - an empty black rectangle on my host window and a null reference exception at video.Start();

---

<div class="post-metadata">

**Author:** ![tommy](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/tommy/32/72769_2.png) [@tommy](https://devforum.zoom.us/u/tommy)\
**Post date:** [April 16, 2020, 5:23am UTC](https://devforum.zoom.us/t/how-to-custom-the-conference-ui/2810/17 "2020-04-16T05:23:48Z")

</div>

Hey @carson.zoom, any ideas?

Thanks,  
Tommy

---

<div class="post-metadata">

**Author:** ![meldur](https://avatars.discourse-cdn.com/v4/letter/m/c2a13f/32.png) [@meldur](https://devforum.zoom.us/u/meldur)\
**Post date:** [May 14, 2020, 9:50am UTC](https://devforum.zoom.us/t/how-to-custom-the-conference-ui/2810/18 "2020-05-14T09:50:01Z")

</div>

Hello. I have the same issue and I wonder if there is any progress in there?

---

<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 16, 2020, 8:26am UTC](https://devforum.zoom.us/t/how-to-custom-the-conference-ui/2810/19 "2020-05-16T08:26:21Z")

</div>

Hi @t.barry-woods  
have you tried creating the video element after the meeting is started? You can’t create an active video until the state of the meeting is INMEETING. It is annoying, but that’s it. The C++ returns an error, but the C# wrapper return null instead. And you’ll never know why 🙂

---

<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 18, 2020, 5:03am UTC](https://devforum.zoom.us/t/how-to-custom-the-conference-ui/2810/20 "2020-05-18T05:03:08Z")

</div>

Thanks for the tip @bragma - I’ll give this a try. The C# wrapper is not the most user friendly when it comes to communicating errors!

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