tim_ui_kit_calling_plugin 1.1.1 copy "tim_ui_kit_calling_plugin: ^1.1.1" to clipboard
tim_ui_kit_calling_plugin: ^1.1.1 copied to clipboard

Tencent Cloud Voice Call and Video Call, works with Tencent Cloud Chat, supports both one-to-one and group calling.

example/main.dart

import 'package:flutter/cupertino.dart';
import 'package:flutter/material.dart';
import 'package:tim_ui_kit_calling_plugin/tim_ui_kit_calling_plugin.dart';

void main() {
  runApp(MaterialApp(
    navigatorKey: TUICalling.navigatorKey,
    home: Home(),
  ));
}

class Home extends StatefulWidget {
  const Home({Key? key}) : super(key: key);

  @override
  _HomeState createState() => _HomeState();
}

class _HomeState extends State<Home> {
  final _calling = TUICalling();

  @override
  void initState() {
    super.initState();
    final userID = '1234756';
    final userSig = ''; // userSig
    final sdkAppId = 0; // 控制台申请的sdkAppID
    _calling.init(sdkAppID: sdkAppId, userID: userID, userSig: userSig);
    _calling.enableFloatingWindow();
  }

  @override
  Widget build(BuildContext context) {
    // TODO: implement build
    // throw UnimplementedError();
    return Container();
  }
}
10
likes
100
pub points
65%
popularity

Publisher

verified publishercomm.qq.com

Tencent Cloud Voice Call and Video Call, works with Tencent Cloud Chat, supports both one-to-one and group calling.

Homepage

Documentation

API reference

License

unknown (LICENSE)

Dependencies

flutter, flutter_spinkit, fluttertoast, permission_handler, tencent_im_base, tencent_trtc_cloud, wakelock

More

Packages that depend on tim_ui_kit_calling_plugin