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

outdated

TUICalling 是基于腾讯云实时音视频(TRTC)和即时通信 IM 服务组合而成的,支持1v1和多人视频通话。

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();
  }
}
12
likes
0
pub points
69%
popularity

Publisher

verified publishercomm.qq.com

TUICalling 是基于腾讯云实时音视频(TRTC)和即时通信 IM 服务组合而成的,支持1v1和多人视频通话。

License

unknown (license)

Dependencies

flutter, flutter_spinkit, fluttertoast, tencent_im_sdk_plugin, tencent_trtc_cloud, wakelock

More

Packages that depend on tim_ui_kit_calling_plugin