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.
We have generated a JWT token from the Meeting SDK client Id and client secret. (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.
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?
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.
# 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
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.
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