flutter_zoom_sdk icon indicating copy to clipboard operation
flutter_zoom_sdk copied to clipboard

Meeting continuously getting disconnected right after status is connected - (Android & iOS )

Open waqas-alii opened this issue 3 years ago • 7 comments

I was able to join the meeting in past. But, now I'm not able to join the zoom meeting. every time I try to join the meeting it gets connected and then it gets disconnected with toast messages

MEETING_STATUS_CONNECTING MEETING_STATUS_DISCONNECTING METTING_STATUS_FAILED MEETING_STATUS_IDLE

I think this is due to some updates from zoom which need to be accommodated in this package.

@evilrat can you please accommodate the updates from zoom to your package so that it starts behaving as it should?

waqas-alii avatar Feb 01 '23 11:02 waqas-alii

same issue created on zoom portal which is resolved by updating the SDK - check this link

waqas-alii avatar Feb 01 '23 11:02 waqas-alii

@evilrat @iamgouravturka any update here?

waqas-alii avatar Feb 06 '23 13:02 waqas-alii

Anyone is welcome to use my fork. I've just updated both Android and iOS SDKs to the latest versions (5.14.0):

flutter_zoom_sdk: git: url: https://github.com/craigspicer/flutter_zoom_sdk.git ref: main

Run the same command after adding the above to your PubSpec.yaml:

flutter pub run flutter_zoom_sdk:unzip_zoom_sdk

I also added a method: returnToMeeting();

and functionality so that the user does not get asked for details when joining: userEmail: {email}, userId: {uid},

Please note: this does not work with the iOS simulator.

craigspicer avatar Mar 23 '23 11:03 craigspicer

Anyone is welcome to use my fork. I've just updated both Android and iOS SDKs to the latest versions (5.14.0):

flutter_zoom_sdk: git: url: https://github.com/craigspicer/flutter_zoom_sdk.git ref: main

Run the same command after adding the above to your PubSpec.yaml:

flutter pub run flutter_zoom_sdk:unzip_zoom_sdk

I also added a method: returnToMeeting();

and functionality so that the user does not get asked for details when joining: userEmail: {email}, userId: {uid},

I try your implementation, but I get on iOS

old data has cpoied done
flutter_zoom_sdk/SwiftFlutterZoomSdkPlugin.swift:166: Fatal error: Unexpectedly found nil while unwrapping an Optional value
flutter_zoom_sdk/SwiftFlutterZoomSdkPlugin.swift:166: Fatal error: Unexpectedly found nil while unwrapping an Optional value
* thread #1, queue = 'com.apple.main-thread', stop reason = Fatal error: Unexpectedly found nil while unwrapping an Optional value
    frame #0: 0x00000001a3f190f8 libswiftCore.dylib`_swift_runtime_on_report
libswiftCore.dylib`:
->  0x1a3f190f8 <+0>: ret    
libswiftCore.dylib`:
    0x1a3f190fc <+0>: b      0x1a3f190f8               ; _swift_runtime_on_report
libswiftCore.dylib`:
    0x1a3f19100 <+0>: adrp   x8, 365872
    0x1a3f19104 <+4>: ldrb   w0, [x8, #0xabc]
Target 0: (Runner) stopped.

xellDart avatar Mar 30 '23 16:03 xellDart

Hi. I forgot to mention that it does not work on iOS Simulator at all. If this error was on a physical device I will need to investigate.

craigspicer avatar Mar 30 '23 17:03 craigspicer

@craigspicer This solution worked to join regular meetings. But not able to join Webinars with it.

Stuck on MEETING_STATUS_CONNECTING

Logs:

[Meeting Status Polling] : MEETING_STATUS_IDLE - D/Surface (21277): Surface::disconnect(this=0x78eb2e3000,api=1) D/Surface (21277): Surface::disconnect(this=0x78eb2e3000,api=-1) D/Surface (21277): Surface::disconnect(this=0x78eb250000,api=1) I/flutter (21277): [Meeting Status Stream] : MEETING_STATUS_CONNECTING - Connect to the meeting server. E/NetdClient(21277): querySockNetidForUid nid:0, uid:10180, command.cmdId:11, id:0 I/flutter (21277): [Meeting Status Polling] : MEETING_STATUS_CONNECTING - I/flutter (21277): [Meeting Status Polling] : MEETING_STATUS_CONNECTING - I/flutter (21277): [Meeting Status Polling] : MEETING_STATUS_CONNECTING - I/flutter (21277): [Meeting Status Polling] : MEETING_STATUS_CONNECTING - I/flutter (21277): [Meeting Status Polling] : MEETING_STATUS_CONNECTING - I/flutter (21277): [Meeting Status Polling] : MEETING_STATUS_CONNECTING -

Manty-K avatar Apr 04 '23 06:04 Manty-K

Hi. You'll need an SDK key and secret. I believe the webinar feature is a paid feature so this needs to be done on Zoom's side. We used webinars in our production app and we had to ensure that we had access to this feature.

ZoomOptions zoomOptions = ZoomOptions(
    domain: "zoom.us",
    appKey: RemoteConfiguration.getZoomApiKey(),
    appSecret: RemoteConfiguration.getZoomSecret());

craigspicer avatar Apr 04 '23 06:04 craigspicer