rtc_room_engine 1.4.1 copy "rtc_room_engine: ^1.4.1" to clipboard
rtc_room_engine: ^1.4.1 copied to clipboard

Flutter plugin of rtc_room_engine SDK

Use this package as a library

Depend on it

Run this command:

With Dart:

 $ dart pub add rtc_room_engine

With Flutter:

 $ flutter pub add rtc_room_engine

This will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get):

dependencies:
  rtc_room_engine: ^1.4.1

Alternatively, your editor might support dart pub get or flutter pub get. Check the docs for your editor to learn more.

Import it

Now in your Dart code, you can use:

import 'package:rtc_room_engine/api/common/tui_common_define.dart';
import 'package:rtc_room_engine/api/common/tui_video_view.dart';
import 'package:rtc_room_engine/api/room/tui_room_define.dart';
import 'package:rtc_room_engine/api/room/tui_room_engine.dart';
import 'package:rtc_room_engine/api/room/tui_room_observer.dart';
import 'package:rtc_room_engine/bindings/native_bindings.dart';
import 'package:rtc_room_engine/bindings/tui_room_engine_native.dart';
import 'package:rtc_room_engine/impl/tui_room_engine_impl.dart';
import 'package:rtc_room_engine/utils/callback_define.dart';
import 'package:rtc_room_engine/utils/lib_load_utils.dart';
import 'package:rtc_room_engine/utils/tools.dart';