mieszko4 / react-native-zoom-us

MIT License
126 stars 118 forks source link

iOS: joinMeeting with Zoom waiting room causes autoConnectAudio and connectAudio to fail #233

Closed vaughnkoch closed 1 year ago

vaughnkoch commented 2 years ago

TLDR: On iOS, calling joinMeeting with autoConnectAudio: true, when the user is in a waiting room, throws the error kAudioDevicePropertyMute returned err 2003332927. Subsequent calls to ZoomUs.connectAudio() have no effect until a short while after the user's admitted to the meeting.


Details:

I think I've found a bug with autoConnectAudio, at least on iOS. If the user tries to join a meeting, and isn't auto-admitted to the meeting, the setting autoConnectAudio does not work. The audio status stays at audioType = 2 which means MobileRTCAudioType_None. (see types here: https://marketplacefront.zoom.us/sdk/meeting/ios/_mobile_r_t_c_meeting_user_info_8h_source.html)

Furthermore, if the user joins the meeting, but is not admitted to the meeting, calls to ZoomUs.connectAudio() also fail.

The log below shows the audio turned on, but only after applying my workaround to call connectAudio after the userJoin event. I can provide logs without the workaround if that would be useful.

I'm also aware of the other closed issues similar to this one, but it seems like those had no definitive resolutions.

Tested with an upgraded react-native-zoom-us-test:

RNZoomUs (6.14.1):
ZoomSDK (= 5.11.3.4099.1)

Note: I only tested joinMeeting, not startMeeting.

Params:

const joinMeetingResult = await ZoomUs.joinMeeting({
  autoConnectAudio: true,
  userName: `Wick ${Platform.OS}`,
  meetingNumber: exampleJoinMeeting.meetingNumber || '',
  // password: exampleJoinMeeting.password || '',
  noMeetingErrorMessage: true, // Set this to be able to show Alert.alert
  noAudio: false,
  noVideo: false,
});

I was able to add an event hook like this:

const eventListener = zoomEmitter.addListener(
  'MeetingEvent',
  ({event, status, ...params}) => {
    console.log({event, status, params});

    ... some other events here...

    if (event === 'userJoin') {
      console.log('userJoin event triggered');
      ZoomUs.connectAudio().then((result: any) => {
          console.log('Completed connectAudio', result);
        })
        .catch((error: any) => {
          console.log('Ack!!', error);
        });

      ZoomUs.muteMyVideo(false)
        .then((result: any) => {
          console.log('Completed connectAudio', result);
        })
        .catch((error: any) => {
          console.log('Ack!!', error);
        });
    }
  },
);

... which results in this log. The userJoin event gets triggered a few times, but it eventually causes the audio to connect and unmute.

2022-08-30 20:19:34.387741-0700 ZoomUsTest[13255:95283466] [javascript] { event: 'success',
  status: 'MEETING_STATUS_CONNECTING',
  params: {} }
2022-08-30 20:19:34.532410-0700 ZoomUsTest[13255:95282974] *** CFMessagePort: bootstrap_register(): failed 1100 (0x44c) 'Permission denied', port = 0x2422b, name = '.1649462136.rpc'
See /usr/include/servers/bootstrap_defs.h for the error codes.
2022-08-30 20:19:34.683370-0700 ZoomUsTest[13255:95282974] onMeetingError, errorCode=0, message=success
2022-08-30 20:19:34.683743-0700 ZoomUsTest[13255:95283466] [javascript] { event: 'success', status: undefined, params: {} }
2022-08-30 20:19:34.791939-0700 ZoomUsTest[13255:95282974] Metal API Validation Enabled
2022-08-30 20:19:34.846293-0700 ZoomUsTest[13255:95282974] CreateAudioUnit use hardware aec = 0
2022-08-30 20:19:34.846491-0700 ZoomUsTest[13255:95282974] [IOS].CreateAudioUnit g_audioUinits.count = 1
2022-08-30 20:19:34.916804-0700 ZoomUsTest[13255:95282974] [aqme]            AQMEIO_HAL.cpp:669   kAudioDevicePropertyMute returned err 2003332927
2022-08-30 20:19:34.969320-0700 ZoomUsTest[13255:95283466] [javascript] { event: 'userJoin',
  status: undefined,
  params: { userList: [ 16782336 ] } }
2022-08-30 20:19:34.969626-0700 ZoomUsTest[13255:95283466] [javascript] { event: 'userJoin',
  status: undefined,
  params: { userList: [ 16778240 ] } }
2022-08-30 20:19:34.969947-0700 ZoomUsTest[13255:95283466] [javascript] { event: 'myVideoStatusChanged',
  status: undefined,
  params:
   { isMutedAudio: true,
     isMutedVideo: true,
     userRole: 'USERROLE_ATTENDEE',
     isTalking: false,
     audioType: 2 } }
2022-08-30 20:19:34.969978-0700 ZoomUsTest[13255:95282974] onMeetingStatusChanged, meetingState=3
2022-08-30 20:19:34.970149-0700 ZoomUsTest[13255:95283466] [javascript] { event: 'myVideoStatusChanged',
  status: undefined,
  params:
   { isMutedAudio: true,
     isMutedVideo: true,
     userRole: 'USERROLE_ATTENDEE',
     isTalking: false,
     audioType: 2 } }
2022-08-30 20:19:34.970277-0700 ZoomUsTest[13255:95283466] [javascript] { event: 'success',
  status: 'MEETING_STATUS_INMEETING',
  params: {} }
2022-08-30 20:19:34.971561-0700 ZoomUsTest[13255:95283466] [javascript] { event: 'myAudioStatusChanged',
  status: undefined,
  params:
   { isMutedAudio: true,
     isMutedVideo: true,
     userRole: 'USERROLE_ATTENDEE',
     isTalking: false,
     audioType: 2 } }
2022-08-30 20:19:34.971803-0700 ZoomUsTest[13255:95283466] [javascript] { event: 'myAudioStatusChanged',
  status: undefined,
  params:
   { isMutedAudio: true,
     isMutedVideo: true,
     userRole: 'USERROLE_ATTENDEE',
     isTalking: false,
     audioType: 2 } }
2022-08-30 20:19:34.973894-0700 ZoomUsTest[13255:95282974] connectAudio
2022-08-30 20:19:34.974033-0700 ZoomUsTest[13255:95282974] connectAudio
2022-08-30 20:19:34.974127-0700 ZoomUsTest[13255:95283466] [javascript] 'Completed connectAudio', undefined
2022-08-30 20:19:34.974244-0700 ZoomUsTest[13255:95283466] [javascript] 'Completed connectAudio', undefined
2022-08-30 20:19:34.983920-0700 ZoomUsTest[13255:95283466] [javascript] { event: 'myAudioTypeChanged',
  status: undefined,
  params:
   { isMutedAudio: false,
     isMutedVideo: true,
     userRole: 'USERROLE_ATTENDEE',
     isTalking: false,
     audioType: 0 } }
mieszko4 commented 2 years ago

It looks like https://github.com/mieszko4/react-native-zoom-us/pull/236 could fix this issue.

mieszko4 commented 2 years ago

Could you try with 6.15.0?

vaughnkoch commented 2 years ago

Hi, I tested this with 6.15.0 in both my own app and in react-native-zoom-us-test.

In both cases, I used autoConnectAudio: true and was able to connect the meeting and have it automatically join audio. So that part's fixed, thanks!

However, there is a different problem now. In both apps (mine and RNZU-test), both in iOS, setting enableCustomizedMeetingUI: true during RNZoom initialization causes the app to not display any Zoom UI at all. The RN page looks as if nothing happened. However, the user actually connects to the zoom meeting and is able to be admitted, without any UI difference in the iOS app.

I see in the RNZU-test app that this feature is currently enabled for Android. However, for iOS, this setting should at worst be a no-op. And, the readme examples should clearly state that this is for Android only at the moment.

For example, currently the readme has:

// initialize with extra config
await ZoomUs.initialize({
  clientKey: '...',
  clientSecret: '...',
  domain: 'zoom.us'
}, {
  disableShowVideoPreviewWhenJoinMeeting: true,
  enableCustomizedMeetingUI: true    //  <---- this needs a warning for Android
})
mieszko4 commented 2 years ago

In both cases, I used autoConnectAudio: true and was able to connect the meeting and have it automatically join audio. So that part's fixed, thanks!

That's kudos for @link692-dev !

I see in the RNZU-test app that this feature is currently enabled for Android. However, for iOS, this setting should at worst be a no-op. And, the readme examples should clearly state that this is for Android only at the moment.

Yeah, that's not implemented yet - sounds it is not so straightforward. We have an issue for that https://github.com/mieszko4/react-native-zoom-us/issues/113

Also we do have a warning in Currently only support for Android! https://github.com/mieszko4/react-native-zoom-us/blob/5f1e3e0e5112624938e531dc529605b156e2c596/docs/VIDEO-VIEW.md but feel free to open a PR with a comment in README.md.

It should be noop on iOS at the moment. Are you saying that there is a difference in IOS between enableCustomizedMeetingUI: true and enableCustomizedMeetingUI: false?

vaughnkoch commented 2 years ago

Yeah - setting enableCustomizedMeetingUI: true on iOS causes the app to not show any Zoom UI at all, although the backend logic still connects the user, who shows as connected to the other attendees. Changing this one setting to false makes everything work again. That applies to both my own app and the RNZU-test app.

vaughnkoch commented 2 years ago

Here's two logs for RNZU-test which compare the two settings.

enableCustomizedMeetingUI: true (does not show any Zoom UI, even though the meeting's connected underneath)

2022-09-15 12:12:22.085820-0700 ZoomUsTest[66397:24184439] [default] capability properties: could not find untranslocated node for <FSNode 0x600000b44340> { isDir = ?, path = '/private/var/folders/56/qnblghds4llctltlsjwcblv80000gn/X/0150B8FC-8731-5544-89D9-8D5624A40D17/d/Wrapper/ZoomUsTest.app' }, proceeding on the assumption it is not translocated: Error Domain=NSPOSIXErrorDomain Code=1 "Operation not permitted"
2022-09-15 12:12:22.091340-0700 ZoomUsTest[66397:24182883] [default] capability properties: could not find untranslocated node for <FSNode 0x600000b44340> { isDir = ?, path = '/private/var/folders/56/qnblghds4llctltlsjwcblv80000gn/X/0150B8FC-8731-5544-89D9-8D5624A40D17/d/Wrapper/ZoomUsTest.app' }, proceeding on the assumption it is not translocated: Error Domain=NSPOSIXErrorDomain Code=1 "Operation not permitted"
2022-09-15 12:12:22.093207-0700 ZoomUsTest[66397:24182883] [default] LSPrefs: could not find untranslocated node for <FSNode 0x600000b44340> { isDir = ?, path = '/private/var/folders/56/qnblghds4llctltlsjwcblv80000gn/X/0150B8FC-8731-5544-89D9-8D5624A40D17/d/Wrapper/ZoomUsTest.app' }, proceeding on the assumption it is not translocated: Error Domain=NSPOSIXErrorDomain Code=1 "Operation not permitted"
2022-09-15 12:12:22.094428-0700 ZoomUsTest[66397:24182883] [default] capability properties: could not find untranslocated node for <FSNode 0x600000b44340> { isDir = ?, path = '/private/var/folders/56/qnblghds4llctltlsjwcblv80000gn/X/0150B8FC-8731-5544-89D9-8D5624A40D17/d/Wrapper/ZoomUsTest.app' }, proceeding on the assumption it is not translocated: Error Domain=NSPOSIXErrorDomain Code=1 "Operation not permitted"
2022-09-15 12:12:22.095908-0700 ZoomUsTest[66397:24182883] [default] LSPrefs: could not find untranslocated node for <FSNode 0x600000b44340> { isDir = ?, path = '/private/var/folders/56/qnblghds4llctltlsjwcblv80000gn/X/0150B8FC-8731-5544-89D9-8D5624A40D17/d/Wrapper/ZoomUsTest.app' }, proceeding on the assumption it is not translocated: Error Domain=NSPOSIXErrorDomain Code=1 "Operation not permitted"
2022-09-15 12:12:22.096942-0700 ZoomUsTest[66397:24182883] [default] capability properties: could not find untranslocated node for <FSNode 0x600000b44340> { isDir = ?, path = '/private/var/folders/56/qnblghds4llctltlsjwcblv80000gn/X/0150B8FC-8731-5544-89D9-8D5624A40D17/d/Wrapper/ZoomUsTest.app' }, proceeding on the assumption it is not translocated: Error Domain=NSPOSIXErrorDomain Code=1 "Operation not permitted"
2022-09-15 12:12:22.098369-0700 ZoomUsTest[66397:24182883] [default] LSPrefs: could not find untranslocated node for <FSNode 0x600000b44340> { isDir = ?, path = '/private/var/folders/56/qnblghds4llctltlsjwcblv80000gn/X/0150B8FC-8731-5544-89D9-8D5624A40D17/d/Wrapper/ZoomUsTest.app' }, proceeding on the assumption it is not translocated: Error Domain=NSPOSIXErrorDomain Code=1 "Operation not permitted"
2022-09-15 12:12:22.247975-0700 ZoomUsTest[66397:24182883] [native] Running application ZoomUsTest ({
    initialProps =     {
    };
    rootTag = 1;
})
2022-09-15 12:12:22.340776-0700 ZoomUsTest[66397:24182883] [default] capability properties: could not find untranslocated node for <FSNode 0x600000b44340> { isDir = ?, path = '/private/var/folders/56/qnblghds4llctltlsjwcblv80000gn/X/0150B8FC-8731-5544-89D9-8D5624A40D17/d/Wrapper/ZoomUsTest.app' }, proceeding on the assumption it is not translocated: Error Domain=NSPOSIXErrorDomain Code=1 "Operation not permitted"
2022-09-15 12:12:22.341951-0700 ZoomUsTest[66397:24182883] [default] LSPrefs: could not find untranslocated node for <FSNode 0x600000b44340> { isDir = ?, path = '/private/var/folders/56/qnblghds4llctltlsjwcblv80000gn/X/0150B8FC-8731-5544-89D9-8D5624A40D17/d/Wrapper/ZoomUsTest.app' }, proceeding on the assumption it is not translocated: Error Domain=NSPOSIXErrorDomain Code=1 "Operation not permitted"
2022-09-15 12:12:22.409212-0700 ZoomUsTest[66397:24184453] [javascript] Running "ZoomUsTest" with {"rootTag":1,"initialProps":{}}
2022-09-15 12:12:22.409738-0700 ZoomUsTest[66397:24184447] [connection] nw_socket_handle_socket_event [C4:1] Socket SO_ERROR [61: Connection refused]
2022-09-15 12:12:22.409973-0700 ZoomUsTest[66397:24184444] [connection] nw_connection_get_connected_socket [C4] Client called nw_connection_get_connected_socket on unconnected nw_connection
2022-09-15 12:12:22.409998-0700 ZoomUsTest[66397:24184444] TCP Conn 0x600003c6a730 Failed : error 0:61 [61]
2022-09-15 12:12:22.432015-0700 ZoomUsTest[66397:24184453] [javascript] 'REDACTED KEY', 'REDACTED KEY'
2022-09-15 12:12:22.456154-0700 ZoomUsTest[66397:24182883] old data has cpoied done
2022-09-15 12:12:22.915591-0700 ZoomUsTest[66397:24184439] [AXLoading] No app-ax-ready callback found for catalyst!
2022-09-15 12:12:23.052206-0700 ZoomUsTest[66397:24182883] [plugin] AddInstanceForFactory: No factory registered for id <CFUUID 0x600000a7d9e0> 30010C1C-93BF-11D8-8B5B-000A95AF9C6A
2022-09-15 12:12:23.064535-0700 ZoomUsTest[66397:24182883] [plugin] AddInstanceForFactory: No factory registered for id <CFUUID 0x600000a7d9e0> 30010C1C-93BF-11D8-8B5B-000A95AF9C6A
2022-09-15 12:12:24.171839-0700 ZoomUsTest[66397:24182883] [plugin] AddInstanceForFactory: No factory registered for id <CFUUID 0x600000a7c0e0> F8BB1C28-BAE8-11D6-9C31-00039315CD46
2022-09-15 12:12:24.208800-0700 ZoomUsTest[66397:24182883] nZoomSDKInitializeResult, errorCode=0
2022-09-15 12:12:24.211817-0700 ZoomUsTest[66397:24184453] [javascript] { initializeResult: 'Initialize Zoom SDK successfully.' }
2022-09-15 12:12:29.877179-0700 ZoomUsTest[66397:24184453] [javascript] 'exampleJoinMeeting', { password: null, meetingNumber: '1234567890' }
2022-09-15 12:12:29.877287-0700 ZoomUsTest[66397:24184453] [javascript] About to call ZoomUs.joinMeeting
2022-09-15 12:12:29.883087-0700 ZoomUsTest[66397:24182883] joinMeeting, joinMeetingResult=0
2022-09-15 12:12:29.910910-0700 ZoomUsTest[66397:24182883] onMeetingStatusChanged, meetingState=1
2022-09-15 12:12:29.911923-0700 ZoomUsTest[66397:24184453] [javascript] { event: 'success',
  status: 'MEETING_STATUS_CONNECTING',
  params: {} }
2022-09-15 12:12:30.993779-0700 ZoomUsTest[66397:24182883] onMeetingStatusChanged, meetingState=1
2022-09-15 12:12:30.994208-0700 ZoomUsTest[66397:24184453] [javascript] { event: 'success',
  status: 'MEETING_STATUS_CONNECTING',
  params: {} }
2022-09-15 12:12:30.994396-0700 ZoomUsTest[66397:24182883] onMeetingStatusChanged, meetingState=1
2022-09-15 12:12:30.994839-0700 ZoomUsTest[66397:24184453] [javascript] { event: 'success',
  status: 'MEETING_STATUS_CONNECTING',
  params: {} }
2022-09-15 12:12:31.422262-0700 ZoomUsTest[66397:24182883] *** CFMessagePort: bootstrap_register(): failed 1100 (0x44c) 'Permission denied', port = 0x24e07, name = '.769987858.rpc'
See /usr/include/servers/bootstrap_defs.h for the error codes.
2022-09-15 12:12:31.553412-0700 ZoomUsTest[66397:24182883] onMeetingError, errorCode=0, message=success
2022-09-15 12:12:31.554672-0700 ZoomUsTest[66397:24184453] [javascript] { event: 'success', status: undefined, params: {} }
2022-09-15 12:12:31.555328-0700 ZoomUsTest[66397:24184453] [javascript] 'Completed ZoomUs.joinMeeting call', { joinMeetingResult: 'Connected to zoom meeting' }
2022-09-15 12:12:31.571953-0700 ZoomUsTest[66397:24182883] CreateAudioUnit use hardware aec = 0
2022-09-15 12:12:31.640299-0700 ZoomUsTest[66397:24182883] [IOS].CreateAudioUnit g_audioUinits.count = 1
2022-09-15 12:12:31.719006-0700 ZoomUsTest[66397:24182883] [aqme]            AQMEIO_HAL.cpp:669   kAudioDevicePropertyMute returned err 2003332927
2022-09-15 12:12:31.732225-0700 ZoomUsTest[66397:24182883] onMeetingStatusChanged, meetingState=11
2022-09-15 12:12:31.732375-0700 ZoomUsTest[66397:24182883] onMeetingStatusChanged, meetingState=11
2022-09-15 12:12:31.732726-0700 ZoomUsTest[66397:24184453] [javascript] { event: 'success',
  status: 'MEETING_STATUS_IN_WAITING_ROOM',
  params: {} }
2022-09-15 12:12:31.732987-0700 ZoomUsTest[66397:24184453] [javascript] { event: 'success',
  status: 'MEETING_STATUS_IN_WAITING_ROOM',
  params: {} }
2022-09-15 12:12:31.733279-0700 ZoomUsTest[66397:24182883] onMeetingStatusChanged, meetingState=11
2022-09-15 12:12:31.733370-0700 ZoomUsTest[66397:24182883] onMeetingStatusChanged, meetingState=11
2022-09-15 12:12:31.733545-0700 ZoomUsTest[66397:24184453] [javascript] { event: 'success',
  status: 'MEETING_STATUS_IN_WAITING_ROOM',
  params: {} }
2022-09-15 12:12:31.733873-0700 ZoomUsTest[66397:24184453] [javascript] { event: 'success',
  status: 'MEETING_STATUS_IN_WAITING_ROOM',
  params: {} }
2022-09-15 12:12:39.057856-0700 ZoomUsTest[66397:24182883] audioSessionDidInterruptNotification 1
2022-09-15 12:12:39.063405-0700 ZoomUsTest[66397:24182883] [] CMIOHardware.cpp:292:CMIOObjectGetPropertyData the System is exiting
2022-09-15 12:12:39.063448-0700 ZoomUsTest[66397:24182883] [] CMIOHardware.cpp:328:CMIOObjectGetPropertyData Error: 1970171760, failed
2022-09-15 12:12:39.063505-0700 ZoomUsTest[66397:24182883] [] CMIO_DALA_System.cpp:264:GetPropertyData error 1970171760 (unop) getting property selector (inot) scope (glob) element 0
2022-09-15 12:12:39.063615-0700 ZoomUsTest[66397:24182883] [] CMIOHardware.cpp:292:CMIOObjectGetPropertyData the System is exiting
2022-09-15 12:12:39.063641-0700 ZoomUsTest[66397:24182883] [] CMIOHardware.cpp:328:CMIOObjectGetPropertyData Error: 1970171760, failed
2022-09-15 12:12:39.063656-0700 ZoomUsTest[66397:24182883] [] CMIOHardware.cpp:292:CMIOObjectGetPropertyData the System is exiting
2022-09-15 12:12:39.063674-0700 ZoomUsTest[66397:24182883] [] CMIOHardware.cpp:328:CMIOObjectGetPropertyData Error: 1970171760, failed

enableCustomizedMeetingUI: false (works as expected):

2022-09-15 12:10:13.867417-0700 ZoomUsTest[62785:24142448] [default] capability properties: could not find untranslocated node for <FSNode 0x6000012df0e0> { isDir = ?, path = '/private/var/folders/56/qnblghds4llctltlsjwcblv80000gn/X/BA715070-BA4B-5B7B-833E-43842DEE2285/d/Wrapper/ZoomUsTest.app' }, proceeding on the assumption it is not translocated: Error Domain=NSPOSIXErrorDomain Code=1 "Operation not permitted"
2022-09-15 12:10:13.872424-0700 ZoomUsTest[62785:24141787] [default] capability properties: could not find untranslocated node for <FSNode 0x6000012df0e0> { isDir = ?, path = '/private/var/folders/56/qnblghds4llctltlsjwcblv80000gn/X/BA715070-BA4B-5B7B-833E-43842DEE2285/d/Wrapper/ZoomUsTest.app' }, proceeding on the assumption it is not translocated: Error Domain=NSPOSIXErrorDomain Code=1 "Operation not permitted"
2022-09-15 12:10:13.874466-0700 ZoomUsTest[62785:24141787] [default] LSPrefs: could not find untranslocated node for <FSNode 0x6000012df0e0> { isDir = ?, path = '/private/var/folders/56/qnblghds4llctltlsjwcblv80000gn/X/BA715070-BA4B-5B7B-833E-43842DEE2285/d/Wrapper/ZoomUsTest.app' }, proceeding on the assumption it is not translocated: Error Domain=NSPOSIXErrorDomain Code=1 "Operation not permitted"
2022-09-15 12:10:13.875734-0700 ZoomUsTest[62785:24141787] [default] capability properties: could not find untranslocated node for <FSNode 0x6000012df0e0> { isDir = ?, path = '/private/var/folders/56/qnblghds4llctltlsjwcblv80000gn/X/BA715070-BA4B-5B7B-833E-43842DEE2285/d/Wrapper/ZoomUsTest.app' }, proceeding on the assumption it is not translocated: Error Domain=NSPOSIXErrorDomain Code=1 "Operation not permitted"
2022-09-15 12:10:13.877186-0700 ZoomUsTest[62785:24141787] [default] LSPrefs: could not find untranslocated node for <FSNode 0x6000012df0e0> { isDir = ?, path = '/private/var/folders/56/qnblghds4llctltlsjwcblv80000gn/X/BA715070-BA4B-5B7B-833E-43842DEE2285/d/Wrapper/ZoomUsTest.app' }, proceeding on the assumption it is not translocated: Error Domain=NSPOSIXErrorDomain Code=1 "Operation not permitted"
2022-09-15 12:10:13.878210-0700 ZoomUsTest[62785:24141787] [default] capability properties: could not find untranslocated node for <FSNode 0x6000012df0e0> { isDir = ?, path = '/private/var/folders/56/qnblghds4llctltlsjwcblv80000gn/X/BA715070-BA4B-5B7B-833E-43842DEE2285/d/Wrapper/ZoomUsTest.app' }, proceeding on the assumption it is not translocated: Error Domain=NSPOSIXErrorDomain Code=1 "Operation not permitted"
2022-09-15 12:10:13.879637-0700 ZoomUsTest[62785:24141787] [default] LSPrefs: could not find untranslocated node for <FSNode 0x6000012df0e0> { isDir = ?, path = '/private/var/folders/56/qnblghds4llctltlsjwcblv80000gn/X/BA715070-BA4B-5B7B-833E-43842DEE2285/d/Wrapper/ZoomUsTest.app' }, proceeding on the assumption it is not translocated: Error Domain=NSPOSIXErrorDomain Code=1 "Operation not permitted"
2022-09-15 12:10:14.040995-0700 ZoomUsTest[62785:24141787] [native] Running application ZoomUsTest ({
    initialProps =     {
    };
    rootTag = 1;
})
2022-09-15 12:10:14.122325-0700 ZoomUsTest[62785:24141787] [default] capability properties: could not find untranslocated node for <FSNode 0x6000012df0e0> { isDir = ?, path = '/private/var/folders/56/qnblghds4llctltlsjwcblv80000gn/X/BA715070-BA4B-5B7B-833E-43842DEE2285/d/Wrapper/ZoomUsTest.app' }, proceeding on the assumption it is not translocated: Error Domain=NSPOSIXErrorDomain Code=1 "Operation not permitted"
2022-09-15 12:10:14.123526-0700 ZoomUsTest[62785:24141787] [default] LSPrefs: could not find untranslocated node for <FSNode 0x6000012df0e0> { isDir = ?, path = '/private/var/folders/56/qnblghds4llctltlsjwcblv80000gn/X/BA715070-BA4B-5B7B-833E-43842DEE2285/d/Wrapper/ZoomUsTest.app' }, proceeding on the assumption it is not translocated: Error Domain=NSPOSIXErrorDomain Code=1 "Operation not permitted"
2022-09-15 12:10:14.290599-0700 ZoomUsTest[62785:24142449] [connection] nw_socket_handle_socket_event [C5:1] Socket SO_ERROR [61: Connection refused]
2022-09-15 12:10:14.290777-0700 ZoomUsTest[62785:24142459] [connection] nw_connection_get_connected_socket [C5] Client called nw_connection_get_connected_socket on unconnected nw_connection
2022-09-15 12:10:14.290798-0700 ZoomUsTest[62785:24142459] TCP Conn 0x6000025e0000 Failed : error 0:61 [61]
2022-09-15 12:10:14.295183-0700 ZoomUsTest[62785:24142496] [javascript] Running "ZoomUsTest" with {"rootTag":1,"initialProps":{}}
2022-09-15 12:10:14.313548-0700 ZoomUsTest[62785:24142496] [javascript] 'REDACTED KEY', 'REDACTED KEY'
2022-09-15 12:10:14.338407-0700 ZoomUsTest[62785:24141787] old data has cpoied done
2022-09-15 12:10:14.753240-0700 ZoomUsTest[62785:24142459] [AXLoading] No app-ax-ready callback found for catalyst!
2022-09-15 12:10:14.937255-0700 ZoomUsTest[62785:24141787] [plugin] AddInstanceForFactory: No factory registered for id <CFUUID 0x6000013c8ce0> 30010C1C-93BF-11D8-8B5B-000A95AF9C6A
2022-09-15 12:10:14.947778-0700 ZoomUsTest[62785:24141787] [plugin] AddInstanceForFactory: No factory registered for id <CFUUID 0x6000013c8ce0> 30010C1C-93BF-11D8-8B5B-000A95AF9C6A
2022-09-15 12:10:16.047163-0700 ZoomUsTest[62785:24141787] [plugin] AddInstanceForFactory: No factory registered for id <CFUUID 0x600001204600> F8BB1C28-BAE8-11D6-9C31-00039315CD46
2022-09-15 12:10:16.081884-0700 ZoomUsTest[62785:24141787] nZoomSDKInitializeResult, errorCode=0
2022-09-15 12:10:16.085119-0700 ZoomUsTest[62785:24142496] [javascript] { initializeResult: 'Initialize Zoom SDK successfully.' }
2022-09-15 12:11:19.978245-0700 ZoomUsTest[62785:24142496] [javascript] 'exampleJoinMeeting', { password: null, meetingNumber: '1234567890' }
2022-09-15 12:11:19.978403-0700 ZoomUsTest[62785:24142496] [javascript] About to call ZoomUs.joinMeeting
2022-09-15 12:11:19.995624-0700 ZoomUsTest[62785:24141787] joinMeeting, joinMeetingResult=0
2022-09-15 12:11:20.141346-0700 ZoomUsTest[62785:24141787] onMeetingStatusChanged, meetingState=1
2022-09-15 12:11:20.142505-0700 ZoomUsTest[62785:24142496] [javascript] { event: 'success',
  status: 'MEETING_STATUS_CONNECTING',
  params: {} }
2022-09-15 12:11:21.110426-0700 ZoomUsTest[62785:24141787] onMeetingStatusChanged, meetingState=1
2022-09-15 12:11:21.110781-0700 ZoomUsTest[62785:24142496] [javascript] { event: 'success',
  status: 'MEETING_STATUS_CONNECTING',
  params: {} }
2022-09-15 12:11:21.205736-0700 ZoomUsTest[62785:24141787] [Default] [VolumeControllerCatalystSystemDataSource]Property read failed 2003332927
2022-09-15 12:11:21.205765-0700 ZoomUsTest[62785:24141787] [Default] [VolumeControllerCatalystSystemDataSource]reloadVolume - Failed to get volume
2022-09-15 12:11:21.205822-0700 ZoomUsTest[62785:24141787] [Default] [VolumeControllerCatalystSystemDataSource]Property read failed 2003332927
2022-09-15 12:11:21.205835-0700 ZoomUsTest[62785:24141787] [Default] [VolumeControllerCatalystSystemDataSource]reloadVolume - Failed to mute state
2022-09-15 12:11:21.206110-0700 ZoomUsTest[62785:24141787] [Default] [VolumeControllerCatalystSystemDataSource]Property read failed 2003332927
2022-09-15 12:11:21.206122-0700 ZoomUsTest[62785:24141787] [Default] [VolumeControllerCatalystSystemDataSource]reloadVolume - Failed to get volume
2022-09-15 12:11:21.206289-0700 ZoomUsTest[62785:24141787] [Default] [VolumeControllerCatalystSystemDataSource]Property read failed 2003332927
2022-09-15 12:11:21.206434-0700 ZoomUsTest[62785:24141787] [Default] [VolumeControllerCatalystSystemDataSource]reloadVolume - Failed to mute state
2022-09-15 12:11:21.206935-0700 ZoomUsTest[62785:24141787] [Default] [VolumeControllerCatalystSystemDataSource]Property read failed 2003332927
2022-09-15 12:11:21.206947-0700 ZoomUsTest[62785:24141787] [Default] [VolumeControllerCatalystSystemDataSource]reloadVolume - Failed to get volume
2022-09-15 12:11:21.206996-0700 ZoomUsTest[62785:24141787] [Default] [VolumeControllerCatalystSystemDataSource]Property read failed 2003332927
2022-09-15 12:11:21.207091-0700 ZoomUsTest[62785:24141787] [Default] [VolumeControllerCatalystSystemDataSource]reloadVolume - Failed to mute state
2022-09-15 12:11:21.307097-0700 ZoomUsTest[62785:24141787] onMeetingStatusChanged, meetingState=1
2022-09-15 12:11:21.307515-0700 ZoomUsTest[62785:24142496] [javascript] { event: 'success',
  status: 'MEETING_STATUS_CONNECTING',
  params: {} }
2022-09-15 12:11:21.490690-0700 ZoomUsTest[62785:24141787] *** CFMessagePort: bootstrap_register(): failed 1100 (0x44c) 'Permission denied', port = 0x1bc0b, name = '.768811368.rpc'
See /usr/include/servers/bootstrap_defs.h for the error codes.
2022-09-15 12:11:21.629434-0700 ZoomUsTest[62785:24141787] onMeetingError, errorCode=0, message=success
2022-09-15 12:11:21.629816-0700 ZoomUsTest[62785:24142496] [javascript] { event: 'success', status: undefined, params: {} }
2022-09-15 12:11:21.630050-0700 ZoomUsTest[62785:24142496] [javascript] 'Completed ZoomUs.joinMeeting call', { joinMeetingResult: 'Connected to zoom meeting' }
2022-09-15 12:11:21.679352-0700 ZoomUsTest[62785:24141787] CreateAudioUnit use hardware aec = 0
2022-09-15 12:11:21.728596-0700 ZoomUsTest[62785:24141787] [IOS].CreateAudioUnit g_audioUinits.count = 1
2022-09-15 12:11:21.818415-0700 ZoomUsTest[62785:24141787] [aqme]            AQMEIO_HAL.cpp:669   kAudioDevicePropertyMute returned err 2003332927
2022-09-15 12:11:21.846924-0700 ZoomUsTest[62785:24141787] onMeetingStatusChanged, meetingState=11
2022-09-15 12:11:21.847334-0700 ZoomUsTest[62785:24142496] [javascript] { event: 'success',
  status: 'MEETING_STATUS_IN_WAITING_ROOM',
  params: {} }
2022-09-15 12:11:21.847869-0700 ZoomUsTest[62785:24141787] onMeetingStatusChanged, meetingState=11
2022-09-15 12:11:21.848122-0700 ZoomUsTest[62785:24142496] [javascript] { event: 'success',
  status: 'MEETING_STATUS_IN_WAITING_ROOM',
  params: {} }
2022-09-15 12:11:21.848561-0700 ZoomUsTest[62785:24141787] onMeetingStatusChanged, meetingState=11
2022-09-15 12:11:21.848631-0700 ZoomUsTest[62785:24141787] onMeetingStatusChanged, meetingState=11
2022-09-15 12:11:21.848764-0700 ZoomUsTest[62785:24142496] [javascript] { event: 'success',
  status: 'MEETING_STATUS_IN_WAITING_ROOM',
  params: {} }
2022-09-15 12:11:21.848960-0700 ZoomUsTest[62785:24142496] [javascript] { event: 'success',
  status: 'MEETING_STATUS_IN_WAITING_ROOM',
  params: {} }
2022-09-15 12:11:24.197969-0700 ZoomUsTest[62785:24141787] onMeetingStatusChanged, meetingState=4
2022-09-15 12:11:24.198429-0700 ZoomUsTest[62785:24142496] [javascript] { event: 'success',
  status: 'MEETING_STATUS_DISCONNECTING',
  params: {} }
2022-09-15 12:11:24.201921-0700 ZoomUsTest[62785:24141787] [unspecified] An empty string is not a valid group container identifier.
2022-09-15 12:11:24.201960-0700 ZoomUsTest[62785:24141787] [unspecified] container_create_or_lookup_app_group_path_by_app_group_identifier: client sent invalid parameters
2022-09-15 12:11:24.219993-0700 ZoomUsTest[62785:24141787] [IOS].DestoryAudioUnit g_audioUinits.count = 1
2022-09-15 12:11:24.220067-0700 ZoomUsTest[62785:24141787] [IOS].DestoryAudioUnit dispose all audioUinits
2022-09-15 12:11:24.276498-0700 ZoomUsTest[62785:24141787] onMeetingStatusChanged, meetingState=1
2022-09-15 12:11:24.277208-0700 ZoomUsTest[62785:24142496] [javascript] { event: 'success',
  status: 'MEETING_STATUS_CONNECTING',
  params: {} }
2022-09-15 12:11:24.280667-0700 ZoomUsTest[62785:24142496] [javascript] { event: 'endedBySelf', status: undefined, params: {} }
2022-09-15 12:11:24.294597-0700 ZoomUsTest[62785:24164522]  AudioObjectPropertiesChanged: no such object
2022-09-15 12:11:24.297282-0700 ZoomUsTest[62785:24141787]  AudioObjectGetPropertyData: no object with given ID 113
2022-09-15 12:11:24.297309-0700 ZoomUsTest[62785:24141787]  AudioDeviceStop: no device with given ID
2022-09-15 12:11:24.343420-0700 ZoomUsTest[62785:24141787] [EventDispatcher] Found no UIEvent for backing event of type: 11; contextId: 0x6D7EE2C2; Event will not be dispatched
2022-09-15 12:11:24.729900-0700 ZoomUsTest[62785:24141787] onMeetingStatusChanged, meetingState=7
2022-09-15 12:11:24.731013-0700 ZoomUsTest[62785:24142496] [javascript] { event: 'success', status: 'MEETING_STATUS_ENDED', params: {} }
mieszko4 commented 1 year ago

I will close this since we have https://github.com/mieszko4/react-native-zoom-us/issues/113 for implementing Custom UI on iOS