# Flutter zoom video SDK integration not working

**URL:** <https://devforum.zoom.us/t/flutter-zoom-video-sdk-integration-not-working/92122>\
**Category:** Flutter\
**Tags:** video-sdk\
**Created:** [July 20, 2023, 9:03am UTC](https://devforum.zoom.us/t/flutter-zoom-video-sdk-integration-not-working/92122 "2023-07-20T09:03:46Z")\
**Posts on this page:** 18\
**Page:** 1

<div class="post-metadata">

**Author:** ![evolvevocational](https://avatars.discourse-cdn.com/v4/letter/e/f14d63/32.png) [@evolvevocational](https://devforum.zoom.us/u/evolvevocational)\
**Post date:** [July 20, 2023, 9:03am UTC](https://devforum.zoom.us/t/flutter-zoom-video-sdk-integration-not-working/92122/1 "2023-07-20T09:03:46Z")

</div>

We have used flutter\_zoom\_videosdk 1.7.0. plugin ([flutter\_zoom\_videosdk | Flutter Package](https://pub.dev/packages/flutter_zoom_videosdk)).

We are facing some issues with the plugin flutter zoom VideoSdk 1.7.0. It’s still using JWT app-type token. Now we are unable to use the JWT token because that is deprecated. We are using the Server-to-Server OAuth token. What we did is simply replaced the JWT token with Server to server Oauth Token.  
It’s showing an invalid param issue.(ZoomVideoSDKError\_Session\_Invalid\_Param).  
The code for reference where we are facing issues is:-  
JoinSessionConfig joinSession = JoinSessionConfig(  
sessionName: args.sessionName,  
sessionPassword: args.sessionPwd,  
token: token,  
userName: args.displayName,  
audioOptions: SDKaudioOptions,  
videoOptions: SDKvideoOptions,  
sessionIdleTimeoutMins: int.parse(args.sessionIdleTimeoutMins),  
);  
await zoom.joinSession(joinSession);

Also, we are not sure which token to use out of Server to server Oauth token or OAuth type token.

Also if there is any sample app for Flutter that is using the server-to-server Oauth token or OAuth type token or if there is any implementation doc please provide it will be very helpful.

---

<div class="post-metadata">

**Author:** ![chunsiong.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/chunsiong.zoom/32/35488_2.png) [@chunsiong.zoom](https://devforum.zoom.us/u/chunsiong.zoom)\
**Post date:** [July 21, 2023, 12:10am UTC](https://devforum.zoom.us/t/flutter-zoom-video-sdk-integration-not-working/92122/2 "2023-07-21T00:10:27Z")

</div>

@evolvevocational ,

For the authentication of SDK, you will need to use the SDK Key and SDK Secret on [marketplace.zoom.us](http://marketplace.zoom.us) to sign a JWT token. This is not deprecated.

This is not to be confused with JWT App Type, which is a totally different application altogether.

---

<div class="post-metadata">

**Author:** ![evolvevocational](https://avatars.discourse-cdn.com/v4/letter/e/f14d63/32.png) [@evolvevocational](https://devforum.zoom.us/u/evolvevocational)\
**Post date:** [July 21, 2023, 11:16am UTC](https://devforum.zoom.us/t/flutter-zoom-video-sdk-integration-not-working/92122/3 "2023-07-21T11:16:21Z")

</div>

Hi @chunsiong.zoom

We have generated a JWT token from the Meeting SDK client Id and client secret. ([Meeting SDK Auth](https://developers.zoom.us/docs/meeting-sdk/auth/)). Then we added Token in our flutter code. after that tried to start a meeting. but Got some errors like onError, error: ZoomVideoSDKError\_JoinSession\_Token\_NoSessionName.

---

<div class="post-metadata">

**Author:** ![chunsiong.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/chunsiong.zoom/32/35488_2.png) [@chunsiong.zoom](https://devforum.zoom.us/u/chunsiong.zoom)\
**Post date:** [July 21, 2023, 11:40am UTC](https://devforum.zoom.us/t/flutter-zoom-video-sdk-integration-not-working/92122/4 "2023-07-21T11:40:29Z")

</div>

@evolvevocational ,

Meeting SDK is a different product from Video SDK. The ID and secret from Meeting SDK will not work for Video SDK.

You should download video sdk for flutter on [marketplace.zoom.us](http://marketplace.zoom.us)

If you are unable to find flutter sdk on [marketplace.zoom.us](http://marketplace.zoom.us) after signing in, you will need to sign up for a video SDK account here [Buy it now - Zoom](https://zoom.us/buy/videosdk)

---

<div class="post-metadata">

**Author:** ![evolvevocational](https://avatars.discourse-cdn.com/v4/letter/e/f14d63/32.png) [@evolvevocational](https://devforum.zoom.us/u/evolvevocational)\
**Post date:** [August 2, 2023, 12:19pm UTC](https://devforum.zoom.us/t/flutter-zoom-video-sdk-integration-not-working/92122/5 "2023-08-02T12:19:49Z")

</div>

Hi @chunsiong.zoom

I am not able to find the Zoom video SDK login link. I have already purchased zoom video SDK.  
can you pls help me?

---

<div class="post-metadata">

**Author:** ![chunsiong.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/chunsiong.zoom/32/35488_2.png) [@chunsiong.zoom](https://devforum.zoom.us/u/chunsiong.zoom)\
**Post date:** [August 2, 2023, 12:36pm UTC](https://devforum.zoom.us/t/flutter-zoom-video-sdk-integration-not-working/92122/6 "2023-08-02T12:36:54Z")

</div>

Hi @evolvevocational

For video sdk, you will need to sign in to these portal with the specific email address you used when purchasing.

[Zoom.us](http://Zoom.us) (used for video sdk related user and account settings)  
[Marketplace.zoom.us](http://Marketplace.zoom.us) (used for video sdk download and app management)

---

<div class="post-metadata">

**Author:** ![sattigeri.soham](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/sattigeri.soham/32/51064_2.png) [@sattigeri.soham](https://devforum.zoom.us/u/sattigeri.soham)\
**Post date:** [August 13, 2023, 11:25am UTC](https://devforum.zoom.us/t/flutter-zoom-video-sdk-integration-not-working/92122/7 "2023-08-13T11:25:14Z")

</div>

I am trying to integrate zoom with flutter and receiving the following error

[!] The ‘Pods-Runner’ target has transitive dependencies that include statically linked binaries: (ZoomVideoSDK)

---

<div class="post-metadata">

**Author:** ![vikeykumar9565](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/vikeykumar9565/32/51079_2.png) [@vikeykumar9565](https://devforum.zoom.us/u/vikeykumar9565)\
**Post date:** [August 14, 2023, 12:08pm UTC](https://devforum.zoom.us/t/flutter-zoom-video-sdk-integration-not-working/92122/8 "2023-08-14T12:08:30Z")

</div>

Hi @chunsiong.zoom

I am using Zoom vide SDK. And I am trying to switch the video myself to the remote user in full view using onSelectedUser(users.value[index]) this method. but in full view showing myself video view. can you please help me with this?

---

<div class="post-metadata">

**Author:** ![dpatel](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/dpatel/32/54052_2.png) [@dpatel](https://devforum.zoom.us/u/dpatel)\
**Post date:** [January 2, 2024, 5:14pm UTC](https://devforum.zoom.us/t/flutter-zoom-video-sdk-integration-not-working/92122/9 "2024-01-02T17:14:00Z")

</div>

Hi @vikeykumar9565

Have face any issues for black video when multiple user are connected in call. currently I am facing black view issues means video not rendered. Regarding full video view you need to use unique key for selected userId. so vide will create new widget when user selection changes.

---

<div class="post-metadata">

**Author:** ![pranav.jha](https://avatars.discourse-cdn.com/v4/letter/p/aeb1de/32.png) [@pranav.jha](https://devforum.zoom.us/u/pranav.jha)\
**Post date:** [February 20, 2024, 6:55am UTC](https://devforum.zoom.us/t/flutter-zoom-video-sdk-integration-not-working/92122/11 "2024-02-20T06:55:12Z")

</div>

How did you manage to fix the issue?

---

<div class="post-metadata">

**Author:** ![isabellajosey015](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/isabellajosey015/32/52552_2.png) [@isabellajosey015](https://devforum.zoom.us/u/isabellajosey015)\
**Post date:** [February 26, 2024, 7:44am UTC](https://devforum.zoom.us/t/flutter-zoom-video-sdk-integration-not-working/92122/12 "2024-02-26T07:44:45Z")

</div>

> [@dpatel](#):
>
> Have face any issues for black video when multiple user are connected in call. currently I am facing black view issues means video not rendered. Regarding full video view you need to use unique key for selected userId. so vide will create new widget when user selection changes.

It seems like you’re encountering a black video issue when multiple users are connected in a call. This issue arises when the video is not rendered, resulting in a black screen. To address this, ensure that each user’s video view is uniquely identified with a key tied to their selected user ID. By using unique keys for selected user IDs, the video widget will create a new view when the user selection changes, resolving the black video problem. This approach should help ensure that all participants’ videos are properly rendered during the call.

---

<div class="post-metadata">

**Author:** ![netscapelabsdevelope](https://avatars.discourse-cdn.com/v4/letter/n/53a042/32.png) [@netscapelabsdevelope](https://devforum.zoom.us/u/netscapelabsdevelope)\
**Post date:** [March 20, 2024, 10:18am UTC](https://devforum.zoom.us/t/flutter-zoom-video-sdk-integration-not-working/92122/13 "2024-03-20T10:18:11Z")

</div>

Got same issue can you please tell me how to fix it

---

<div class="post-metadata">

**Author:** ![hillary](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/hillary/32/49271_2.png) [@hillary](https://devforum.zoom.us/u/hillary)\
**Post date:** [March 21, 2024, 2:33pm UTC](https://devforum.zoom.us/t/flutter-zoom-video-sdk-integration-not-working/92122/14 "2024-03-21T14:33:42Z")

</div>

![zoom](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/3X/7/3/73b221a31a6eebac625cf52a3866921100276f8f.jpeg)

I tried with unique IDs but didn’t work for me. Works well on other devices but it is blank on android 9. Any other solution?

---

<div class="post-metadata">

**Author:** ![shakilahmedshaj](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/shakilahmedshaj/32/57760_2.png) [@shakilahmedshaj](https://devforum.zoom.us/u/shakilahmedshaj)\
**Post date:** [March 21, 2024, 10:47pm UTC](https://devforum.zoom.us/t/flutter-zoom-video-sdk-integration-not-working/92122/15 "2024-03-21T22:47:45Z")

</div>

hello brother, did you solved the problem? I am also facing this @vikeykumar9565

---

<div class="post-metadata">

**Author:** ![mducc1412](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/mducc1412/32/57881_2.png) [@mducc1412](https://devforum.zoom.us/u/mducc1412)\
**Post date:** [March 24, 2024, 11:55am UTC](https://devforum.zoom.us/t/flutter-zoom-video-sdk-integration-not-working/92122/16 "2024-03-24T11:55:36Z")

</div>

Just update your Podfile as bellow:

```auto
# Uncomment this line to define a global platform for your project
platform :ios, '12.0'

# CocoaPods analytics sends network stats synchronously affecting flutter build latency.
ENV['COCOAPODS_DISABLE_STATS'] = 'true'

project 'Runner', {
  'Debug' => :debug,
  'Profile' => :release,
  'Release' => :release,
}

def flutter_root
  generated_xcode_build_settings_path = File.expand_path(File.join('..', 'Flutter', 'Generated.xcconfig'), __FILE__ )
  unless File.exist?(generated_xcode_build_settings_path)
    raise "#{generated_xcode_build_settings_path} must exist. If you're running pod install manually, make sure flutter pub get is executed first"
  end

  File.foreach(generated_xcode_build_settings_path) do |line|
    matches = line.match(/FLUTTER_ROOT\=(.*)/)
    return matches[1].strip if matches
  end
  raise "FLUTTER_ROOT not found in #{generated_xcode_build_settings_path}. Try deleting Generated.xcconfig, then run flutter pub get"
end

require File.expand_path(File.join('packages', 'flutter_tools', 'bin', 'podhelper'), flutter_root)

flutter_ios_podfile_setup

target 'Runner' do
  flutter_install_all_ios_pods File.dirname(File.realpath( __FILE__ ))
  pod 'ZoomVideoSDK/ZoomVideoSDK', '1.9.0'
  pod 'ZoomVideoSDK/zoomcml', '1.9.0'
  pod 'ZoomVideoSDK/CptShare', '1.9.0'
  pod 'ZoomVideoSDK/zm_annoter_dynamic', '1.9.0'
end

target 'ScreenShare' do
    pod 'ZoomVideoSDK/ZoomVideoSDKScreenShare', '1.9.0'
end

post_install do |installer|
  installer.pods_project.targets.each do |target|
    flutter_additional_ios_build_settings(target)
  end
end

```

---

<div class="post-metadata">

**Author:** ![hillary](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/hillary/32/49271_2.png) [@hillary](https://devforum.zoom.us/u/hillary)\
**Post date:** [March 27, 2024, 9:34am UTC](https://devforum.zoom.us/t/flutter-zoom-video-sdk-integration-not-working/92122/17 "2024-03-27T09:34:57Z")

</div>

I found the Issue incase someone is struggling too

For Flutter version 3.16 and above, platform views functionality has been disrupted. Specifically, the VideoView component fails to render video on Android versions prior to 10. Checkout this issue in detail [here](https://github.com/flutter/flutter/issues/141068).

These platform view issues persist in subsequent Flutter releases, including version 3.19.x

As of the latest development in the Flutter master branch, the above issues have been addressed and resolved. Future releases of Flutter are expected to incorporate these fixes automatically.

In the interim, users encountering platform view issues in Flutter versions 3.16 and 3.19 are advised to revert to version 3.13.x. Please refer to the official Flutter documentation and release notes for updates on this issue

---

<div class="post-metadata">

**Author:** ![hillary](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/hillary/32/49271_2.png) [@hillary](https://devforum.zoom.us/u/hillary)\
**Post date:** [March 27, 2024, 2:35pm UTC](https://devforum.zoom.us/t/flutter-zoom-video-sdk-integration-not-working/92122/18 "2024-03-27T14:35:21Z")

</div>

Still getting the same error, using flutter\_zoom\_videosdk 1.10.1

---

<div class="post-metadata">

**Author:** ![pratik.p](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/pratik.p/32/49230_2.png) [@pratik.p](https://devforum.zoom.us/u/pratik.p)\
**Post date:** [June 27, 2024, 12:37pm UTC](https://devforum.zoom.us/t/flutter-zoom-video-sdk-integration-not-working/92122/19 "2024-06-27T12:37:58Z")

</div>

hi can you please share code or document how you integrated flutter with zoom?
