Open shargeel071 opened 3 years ago
MeetingWidget({Key key, meetingId, meetingPassword}) : super(key: key) { this.zoomOptions = new ZoomOptions( domain: "zoom.us", appKey: " my key", <-------- appSecret: "using my key", <-------- );
In this section, you have to provide your own zoom app key and secret. First, you have to create your application on zoom by clicking on the marketplace. inside the marketplace, you have to be select the application type. The application type should be SDK. After creating the application successfully, on the left side of the page, there is an app credentials option. Inside this, there is an appKey and appSecret. You have to use this.
Your Environment
flutter doctor
):import 'package:flutter_zoom_plugin/zoom_view.dart'; import 'package:flutter_zoom_plugin/zoom_options.dart';
import 'package:flutter/material.dart';
class MeetingWidget extends StatelessWidget {
ZoomOptions zoomOptions; ZoomMeetingOptions meetingOptions;
Timer timer;
MeetingWidget({Key key, meetingId, meetingPassword}) : super(key: key) { this.zoomOptions = new ZoomOptions( domain: "zoom.us", appKey: " my key", appSecret: "using my key", ); this.meetingOptions = new ZoomMeetingOptions( userId: 'example', meetingId: meetingId, meetingPassword: meetingPassword, disableDialIn: "true", disableDrive: "true", disableInvite: "true", disableShare: "true", noAudio: "false", noDisconnectAudio: "false" ); }
bool _isMeetingEnded(String status) { var result = false;
}
@override Widget build(BuildContext context) { // Use the Todo to create the UI. return Scaffold( appBar: AppBar( title: Text('Loading meeting '), ), body: Padding( padding: EdgeInsets.all(16.0), child: ZoomView(onViewCreated: (controller) {
}
}