# After join meeting, window not working and not recognizing mic and camera

**URL:** <https://devforum.zoom.us/t/after-join-meeting-window-not-working-and-not-recognizing-mic-and-camera/43708>\
**Category:** macOS\
**Created:** [February 18, 2021, 8:07pm UTC](https://devforum.zoom.us/t/after-join-meeting-window-not-working-and-not-recognizing-mic-and-camera/43708 "2021-02-18T20:07:44Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![m.zhang](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/m.zhang/32/18203_2.png) [@m.zhang](https://devforum.zoom.us/u/m.zhang)\
**Post date:** [February 18, 2021, 8:07pm UTC](https://devforum.zoom.us/t/after-join-meeting-window-not-working-and-not-recognizing-mic-and-camera/43708/1 "2021-02-18T20:07:44Z")

</div>

**Description**  
In my own application, after JWT authentication, I joined the meeting with the meeting service from getMeetingService(). The Meeting Window shows up correctly, but it fails to recognize camera and pickup microphone. (Correct access to microphone and camera have been granted in System Preferences → Security&Privacy). I’ve also modified my `info.plist` based on the sample application. The UI also semi-freeze in that leave meeting will not close window properly. I couldn’t seem to figure out what went wrong or what is contributing to this behaviour. Can someone help please?

**Which Client macOS SDK version?**  
v5.4.54802.0124

**Screenshots**

 ![Screen Shot 2021-02-18 at 3.01.59 PM](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/3X/7/7/77b10fad58db97a7c3258ce7caa28f136c7824af.png)  
As shown in the image above, clicking on Start Video has no effect. After clicking on Join Audio, a pop up window appears but when adjusting microphone, no audio can be captured/detected.  
It also appears like some of the icon did not load appropriately since some of them have `LN_XXX` instead of the actual name.

**Device Information**

- Device: Macbook Pro
- OS: macOS Catalina
- Version 10.15.7

**Additional context**  
Console output after Meeting UI shows up:

```auto
2021-02-18 14:43:14.645439-0500 MyApp[9588:1175262] Mac Address: 68:xx
2021-02-18 14:43:15.335624-0500 MyApp[9588:1175262] *** Assertion failure in -[NSMenu insertItem:atIndex:], /AppleInternal/BuildRoot/Library/Caches/com.apple.xbs/Sources/AppKit/AppKit-1894.60.100/Menus.subproj/NSMenu.m:729
2021-02-18 14:43:15.335973-0500 MyApp[9588:1175262] [General] Invalid parameter not satisfying: index <= [_itemArray count]
2021-02-18 14:43:15.338091-0500 MyApp[9588:1175262] [General] (
	0 CoreFoundation 0x00007fff362aa727 __exceptionPreprocess + 250
	1 libobjc.A.dylib 0x00007fff6f1e2a9e objc_exception_throw + 48
	2 CoreFoundation 0x00007fff362d3a40 +[NSException raise:format:arguments:] + 88
	3 Foundation 0x00007fff389e7ead -[NSAssertionHandler handleFailureInMethod:object:file:lineNumber:description:] + 191
	4 AppKit 0x00007fff334803e9 -[NSMenu insertItem:atIndex:] + 898
	5 ZoomSDKVideoUI 0x0000000100dba359 -[ZMMeetingMenuMgr appendMeetingMenu:] + 286
	6 ZoomSDKVideoUI 0x0000000100db801e -[ZMMeetingViewMenuMgr onConfReady] + 43
	7 ZoomSDKVideoUI 0x0000000100d9ad1b -[ZPConfUIMgr onConfReady] + 381
	8 ZoomSDKVideoUI 0x0000000100cd6dd1 -[ZMNotificationCenter confReadyNotification:] + 81
	9 CoreFoundation 0x00007fff36224259 __CFNOTIFICATIONCENTER_IS_CALLING_OUT_TO_AN_OBSERVER__ + 12
	10 CoreFoundation 0x00007fff362241ed ___CFXRegistrationPost1_block_invoke + 63
	11 CoreFoundation 0x00007fff36224162 _CFXRegistrationPost1 + 372
	12 CoreFoundation 0x00007fff36223dce ___CFXNotificationPost_block_invoke + 80
	13 CoreFoundation 0x00007fff361f3fbc -[_CFXNotificationRegistrar find:object:observer:enumerator:] + 1745
	14 CoreFoundation 0x00007fff361f3385 _CFXNotificationPost + 1586
	15 ZoomSDKVideoUI 0x0000000100bc2227 _ZN9CSBConfUI19OnConfStatusChangedE8CONF_CMDj + 4909
	16 ZoomSDKVideoUI 0x0000000100bddd71 _ZN16CSBConfUIWrapper19OnConfStatusChangedE8CONF_CMDj + 29
	17 zVideoApp 0x0000000111693328 TermModule + 506212
	18 zVideoApp 0x00000001116ced81 TermModule + 750525
	19 zVideoApp 0x000000011160122e zVideoApp + 508462
	20 zVideoApp 0x0000000111608e2d zVideoApp + 540205
	21 mcm 0x0000000111231968 mcm + 47464
	22 ssb_sdk 0x000000011115f23e TermModule + 158552
	23 ssb_sdk 0x0000000111158e5c TermModule + 132982
	24 ssb_sdk 0x0000000111166fc0 TermModule + 190682
	25 util 0x00000001034dc7fd _ZN3ssb16thread_wrapper_t11process_msgEj + 189
	26 util 0x00000001034dbdaa _ZN3ssb16thread_wrapper_t10thread_runEPv + 48
	27 util 0x00000001034e933c main_heartbeat + 89
	28 mcm 0x000000011125873e mcm + 206654
	29 mcm 0x0000000111259535 mcm + 210229
	30 zVideoApp 0x00000001116d5c00 TermModule + 778812
	31 zVideoApp 0x000000011161bcb0 TermModule + 17132
	32 CoreFoundation 0x00007fff36249468 __CFRUNLOOP_IS_CALLING_OUT_TO_A_TIMER_CALLBACK_FUNCTION__ + 20
	33 CoreFoundation 0x00007fff36248fce __CFRunLoopDoTimer + 872
	34 CoreFoundation 0x00007fff36248ab9 __CFRunLoopDoTimers + 322
	35 CoreFoundation 0x00007fff3622d70d __CFRunLoopRun + 1885
	36 CoreFoundation 0x00007fff3622c953 CFRunLoopRunSpecific + 466
	37 HIToolbox 0x00007fff34e47abd RunCurrentEventLoopInMode + 292
	38 HIToolbox 0x00007fff34e477d5 ReceiveNextEventCommon + 584
	39 HIToolbox 0x00007fff34e47579 _BlockUntilNextEventMatchingListInModeWithFilter + 64
	40 AppKit 0x00007fff3348d039 _DPSNextEvent + 883
	41 AppKit 0x00007fff3348b880 -[NSApplication(NSEvent) _nextEventMatchingEventMask:untilDate:inMode:dequeue:] + 1352
	42 AppKit 0x00007fff3347d58e -[NSApplication run] + 658
	43 AppKit 0x00007fff3344f396 NSApplicationMain + 777
	44 MyApp 0x0000000100036b59 main + 9
	45 libdyld.dylib 0x00007fff70382cc9 start + 1
)
2021-02-18 14:43:14.645439-0500 MyApp[9588:1175262] Mac Address: 68:
2021-02-18 14:43:28.308340-0500 MyApp[9588:1176028] Persistent UI failed to open file

```

I’ve added the following to my `info.plist`

```auto
	<key>NSAppTransportSecurity</key>
	<dict>
		<key>NSAllowsArbitraryLoads</key>
		<true/>
	</dict>
	<key>NSAppleEventsUsageDescription</key>
	<string></string>
	<key>LSApplicationCategoryType</key>
	<string></string>
	<key>com.apple.security.application-groups</key>
	<array>
		<string>com.zoom.capturethread</string>
	</array>
	<key>NSCameraUsageDescription</key>
	<string>In order for participants to see you, requires access to your camera.</string>
	<key>NSMicrophoneUsageDescription</key>
	<string>In order to speak to participants, requires access to your microphone.</string>

```

---

<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:** [February 18, 2021, 8:24pm UTC](https://devforum.zoom.us/t/after-join-meeting-window-not-working-and-not-recognizing-mic-and-camera/43708/2 "2021-02-18T20:24:52Z")

</div>

Hi @m.zhang, thanks for the post.

Can you please verify the Xcode version you are running and whether or not your machine has an M1 chip?

Thanks!

---

<div class="post-metadata">

**Author:** ![m.zhang](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/m.zhang/32/18203_2.png) [@m.zhang](https://devforum.zoom.us/u/m.zhang)\
**Post date:** [February 18, 2021, 8:26pm UTC](https://devforum.zoom.us/t/after-join-meeting-window-not-working-and-not-recognizing-mic-and-camera/43708/3 "2021-02-18T20:26:27Z")

</div>

Hi @jon.zoom , I’m using Xcode 10.3 and my mac has an Intel processor (quite a old macbook pro) and not a M1 chip. Also, just a bit more information, on other user’s perspective (let’s say I join the same meeting from a mobile device), the user from the SDK window shows up as “connecting to audio…”

---

<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:** [February 18, 2021, 10:25pm UTC](https://devforum.zoom.us/t/after-join-meeting-window-not-working-and-not-recognizing-mic-and-camera/43708/4 "2021-02-18T22:25:38Z")

</div>

Hi @m.zhang,

Thanks for confirming. Can you please provide the full SDK log file from your application so that we may investigate further? The file should be located at `~/Library/Logs/${APPLICATION_NAME}`. You’ll know you have the correct file if the contents are encrypted.

Thanks!

---

<div class="post-metadata">

**Author:** ![m.zhang](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/m.zhang/32/18203_2.png) [@m.zhang](https://devforum.zoom.us/u/m.zhang)\
**Post date:** [February 18, 2021, 10:30pm UTC](https://devforum.zoom.us/t/after-join-meeting-window-not-working-and-not-recognizing-mic-and-camera/43708/5 "2021-02-18T22:30:30Z")

</div>

Hi @jon.zoom , I do see the log and it seems quite unreadable with all the weird characters, which probably means the log file is encrypted. Do you want the raw file or should I decrypt it first? If so, how do I decrypt it? 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:** [February 18, 2021, 11:23pm UTC](https://devforum.zoom.us/t/after-join-meeting-window-not-working-and-not-recognizing-mic-and-camera/43708/6 "2021-02-18T23:23:21Z")

</div>

Hi @m.zhang,

Yes, that’s the one! You can send it as-is to [developersupport@zoom.us](mailto:developersupport@zoom.us) and we will begin investigating.

Thanks!

---

<div class="post-metadata">

**Author:** ![m.zhang](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/m.zhang/32/18203_2.png) [@m.zhang](https://devforum.zoom.us/u/m.zhang)\
**Post date:** [February 22, 2021, 2:26pm UTC](https://devforum.zoom.us/t/after-join-meeting-window-not-working-and-not-recognizing-mic-and-camera/43708/7 "2021-02-22T14:26:12Z")

</div>

Hi @jon.zoom ,

I see on [https://support.zoom.us/hc/en-us/requests/9877335](https://support.zoom.us/hc/en-us/requests/9877335) ,the status of the request has been solved. Did I miss your response to this investigation? What did you find out? Thank you so much for your help!

---

<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:** [February 22, 2021, 7:29pm UTC](https://devforum.zoom.us/t/after-join-meeting-window-not-working-and-not-recognizing-mic-and-camera/43708/8 "2021-02-22T19:29:43Z")

</div>

Hi @m.zhang,

Apologies for the confusion on that. When you send the logs over to our support email, a ticket is automatically created in our tracking system. Since we are working through this on the dev forum, that ticket is essentially a duplicate of this thread, so we typically will close it out.

Regarding the issue, during our investigation we determined that the application appears to have crashed due to something related to your main menu and are working towards a fix. To help us ensure we get the fix right, can you please send a screenshot of your applications main menu?

Thanks!

---

<div class="post-metadata">

**Author:** ![m.zhang](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/m.zhang/32/18203_2.png) [@m.zhang](https://devforum.zoom.us/u/m.zhang)\
**Post date:** [February 22, 2021, 7:31pm UTC](https://devforum.zoom.us/t/after-join-meeting-window-not-working-and-not-recognizing-mic-and-camera/43708/9 "2021-02-22T19:31:02Z")

</div>

Hi @jon.zoom , What do you mean by the main menu? Could you elaborate?

---

<div class="post-metadata">

**Author:** ![m.zhang](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/m.zhang/32/18203_2.png) [@m.zhang](https://devforum.zoom.us/u/m.zhang)\
**Post date:** [February 22, 2021, 9:31pm UTC](https://devforum.zoom.us/t/after-join-meeting-window-not-working-and-not-recognizing-mic-and-camera/43708/10 "2021-02-22T21:31:05Z")

</div>

Below is the code I’m using. Not sure if this helps or not, but I wasn’t sure if any UI work needs to be done if at the moment I only hope to get the default UI working. Do I need any meeting handlers of some sort?

```auto
if isAuthed(){ // After successful JWT authentication
      print("Join meeting without login")
      let meetingNumber = Int64(" *******")!
      let userName = "Test User"
      let meetingPasscode = " ****"
      
      let sdk: ZoomSDK = ZoomSDK.shared()
      let meetingService = sdk.getMeetingService()
      let joinParams = ZoomSDKJoinMeetingElements()
      joinParams.userType = ZoomSDKUserType_WithoutLogin
      joinParams.webinarToken = nil
      joinParams.participantId = nil
      joinParams.meetingNumber = meetingNumber
      joinParams.displayName = userName;
      joinParams.password = meetingPasscode;
      joinParams.isDirectShare = false;
      joinParams.displayID = 0;
      joinParams.isNoVideo = true;
      joinParams.isNoAuido = true;
      joinParams.vanityID = nil;
      joinParams.zak = nil;
      
      let audioSetting = sdk.getSettingService().getAudioSetting()
      let ret = meetingService?.joinMeeting(joinParams)
      print(ret)
      
    } else {
      print("Authorization must happen before meeting service is available")
    }

```

---

<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:** [February 22, 2021, 11:54pm UTC](https://devforum.zoom.us/t/after-join-meeting-window-not-working-and-not-recognizing-mic-and-camera/43708/11 "2021-02-22T23:54:03Z")

</div>

Hi @m.zhang,

The main menu is the NSMenu dropdown menu for your application. You can access it when your application is running through the top toolbar on your machine.

Thanks!

---

<div class="post-metadata">

**Author:** ![m.zhang](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/m.zhang/32/18203_2.png) [@m.zhang](https://devforum.zoom.us/u/m.zhang)\
**Post date:** [February 23, 2021, 12:46am UTC](https://devforum.zoom.us/t/after-join-meeting-window-not-working-and-not-recognizing-mic-and-camera/43708/12 "2021-02-23T00:46:20Z")

</div>

Hi @jon.zoom ,  
We have purposely made the main menu empty since we wanted to disable user from accessing it. Thus, when our application is running, when mouse over the top bar, click on the name of our application has no effect and does not display a main menu. Does this not work with ZoomSDK default UI? How does this affect ZoomSDK? Thank you!

---

<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:** [February 23, 2021, 8:20pm UTC](https://devforum.zoom.us/t/after-join-meeting-window-not-working-and-not-recognizing-mic-and-camera/43708/13 "2021-02-23T20:20:21Z")

</div>

Hi @m.zhang, thanks for the additional info.

We will be adding protection against this in the next release. The SDK adds a `Meeting` menu when in a meeting, so this crash is preventing that from being created.

Thanks!

---

<div class="post-metadata">

**Author:** ![m.zhang](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/m.zhang/32/18203_2.png) [@m.zhang](https://devforum.zoom.us/u/m.zhang)\
**Post date:** [February 23, 2021, 9:50pm UTC](https://devforum.zoom.us/t/after-join-meeting-window-not-working-and-not-recognizing-mic-and-camera/43708/14 "2021-02-23T21:50:24Z")

</div>

Hi @jon.zoom ,

That’s great to hear! Thank you for making this improvement! Do you have a rough idea about when the next release is?

---

<div class="post-metadata">

**Author:** ![m.zhang](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/m.zhang/32/18203_2.png) [@m.zhang](https://devforum.zoom.us/u/m.zhang)\
**Post date:** [February 23, 2021, 10:17pm UTC](https://devforum.zoom.us/t/after-join-meeting-window-not-working-and-not-recognizing-mic-and-camera/43708/15 "2021-02-23T22:17:38Z")

</div>

Hi @jon.zoom ,

Also, would this behaviour also be present if I’m embedding ZoomSDK with a custom UI? Thanks!

---

<div class="post-metadata">

**Author:** ![m.zhang](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/m.zhang/32/18203_2.png) [@m.zhang](https://devforum.zoom.us/u/m.zhang)\
**Post date:** [February 25, 2021, 4:47pm UTC](https://devforum.zoom.us/t/after-join-meeting-window-not-working-and-not-recognizing-mic-and-camera/43708/16 "2021-02-25T16:47:45Z")

</div>

Hi @jon.zoom ,

Could you respond when you get a chance please? Your response is crucial to our development. 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:** [February 25, 2021, 6:52pm UTC](https://devforum.zoom.us/t/after-join-meeting-window-not-working-and-not-recognizing-mic-and-camera/43708/17 "2021-02-25T18:52:45Z")

</div>

Hi @m.zhang,

Please accept my deepest apologies on the delayed response.

> Do you have a rough idea about when the next release is?

We do not yet have an exact release date for the next SDK version. Historically we have aimed for a release cadence of every 2-3 months, but we do not guarantee a new release in this time period.

> Also, would this behaviour also be present if I’m embedding ZoomSDK with a custom UI? Thanks!

Based on my testing, the same menu is not present in a custom UI.

Thanks!

---

<div class="post-metadata">

**Author:** ![m.zhang](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/m.zhang/32/18203_2.png) [@m.zhang](https://devforum.zoom.us/u/m.zhang)\
**Post date:** [February 25, 2021, 7:12pm UTC](https://devforum.zoom.us/t/after-join-meeting-window-not-working-and-not-recognizing-mic-and-camera/43708/18 "2021-02-25T19:12:31Z")

</div>

Hi @jon.zoom ,

I’ll adopt a custom UI then. Thank you very much for your help!

---

<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:** [February 25, 2021, 10:21pm UTC](https://devforum.zoom.us/t/after-join-meeting-window-not-working-and-not-recognizing-mic-and-camera/43708/19 "2021-02-25T22:21:14Z")

</div>

Always happy to help!

Please don’t hesitate to reach out if you need any further help with the custom UI approach. 🙂

---

<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:** [March 28, 2021, 8:21am UTC](https://devforum.zoom.us/t/after-join-meeting-window-not-working-and-not-recognizing-mic-and-camera/43708/20 "2021-03-28T08:21:24Z")

</div>

Closed on March 28, 2021, 8:21am UTC

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