flutter_zoom_plugin
flutter_zoom_plugin copied to clipboard
How to diable Meeting registration on joining meeting
@kevinbayes @gfiury @DzungTNgo @ShimiBaliti
Hello i am using the plugin and its works as gem to me but i have problem i am facing the issue when joining the meeting i get a pop up for registration which i don't want user to get registered ,how can i handle this background please suggest me how to implement this i am stuck at this .
Thanks in advance Jagan PS
i have attached the screen shot for your references please help me to bypass this problem
Hey @JAGANPS, you shouldn't be facing this problem
this.meetingOptions = new ZoomMeetingOptions(
userId: 'example',
meetingId: meetingId,
meetingPassword: meetingPassword,
disableDialIn: "true",
disableDrive: "true",
disableInvite: "true",
disableShare: "true",
noAudio: "false",
noDisconnectAudio: "false"
);
The userId
should be a valid Zoom User Id
The Zoom API to create an user The Zoom API to get an user
Let me know if you are already using a valid Id
@gfiury @kevinbayes @DzungTNgo @ShimiBaliti hi when I went through the documentation of zoom I came over the function void setRegisterWebinarInfo(java.lang.String name, java.lang.String email, boolean cancel) I am able to set the display name by passing userid but after it I get this function how to handle this at backend how to integrate this in my code.
@JAGANPS
You can't call that from Flutter because that is java code java.lang.String email
. You need to extend the class ZoomView.java
Here is the Zoom Doc: InMeetingServiceListener
The changes will look like this:
import us.zoom.sdk.InMeetingServiceListener;
public class ZoomView implements ..... InMeetingServiceListener {
...
...
...
@override
public void onJoinWebinarNeedUserNameAndEmail(InMeetingEventHandler eventHandler) {
eventHandler.setRegisterWebinarInfo(this.username, this.email, false);
}
}
The tricky part here is how are you gonna pass the username and the email. This is not a trivial change.
@kevinbayes @DzungTNgo @ShimiBaliti @gfiury
error: method does not override or implement a method from a supertype
@Override
^
1 error
When I remove the @override function still I get the webinar registration
I still get the same webinar registration which I am not able to pass even when I hard code it I am getting the same issue
public void onJoinWebinarNeedUserNameAndEmail(InMeetingEventHandler eventHandler) { eventHandler.setRegisterWebinarInfo("test",""[email protected]", false); }
I get the same issues please help me to solve this