Live UIKit Barrage

English | 简体中文

Live UIKit Barrage is a barrage component of Interactive Live Streaming (tencent_live_uikit). By integrating this component, you can add interactive barrage functionality to your live streaming with just a few lines of code.

Features

  • Supports sending and displaying regular text messages
  • Supports sending and displaying emoji messages
  • Supports custom barrage styles

Environment Preparation

Flutter

  • Flutter 3.27.4 or higher.
  • Dart 3.6.2 or higher.

Android

  • Android Studio 3.5 or higher.
  • Android devices with Android 5.0 or higher.

iOS

  • Xcode 15.0 or higher.
  • Ensure your project has a valid developer signature.

Getting Started

Install

Follow the documentation to add the live_uikit_barrage package as a pubspec dependency.

Activate service

To use the barrage functionality in interactive live streaming, ensure you have activated the service.

  1. Activate the Service You can activate the service and obtain the SDKAppID and SDKSecretKey in the Console.

  2. Configure SDKAppID and SDKSecretKey Open the example/lib/debug/generate_test_user_sig.dart file and fill in the obtained SDKAppID and SDKSecretKey:

    static int sdkAppId = 0; // Replace with your SDKAppID
    static String secretKey = ''; // Replace with your SDKSecretKey
    

Example Experience

If you want to quickly integrate or experience the interactive barrage effect, you can refer to the Example to integrate it into your application, or directly run the example program to experience it.

If you want to quickly integrate interactive live streaming functionality into your application, you can integrate the Interactive Live Streaming (tencent_live_uikit) component.

Feedback and Support

If you have any needs or feedback, you can contact: info_rtc@tencent.com.

Libraries

common/constants/constants
common/constants/index
common/index
common/language/gen/barrage_localizations
common/language/gen/barrage_localizations_en
common/language/gen/barrage_localizations_zh
common/language/index
common/resources/colors
common/resources/emoji
common/resources/images
common/resources/index
live_uikit_barrage
third_party/extended_text/extended_text
third_party/extended_text/src/extended/gradient/gradient_config
third_party/extended_text/src/extended/rendering/paragraph
third_party/extended_text/src/extended/widgets/rich_text
third_party/extended_text/src/extended/widgets/text
third_party/extended_text/src/extended/widgets/text_overflow_widget
third_party/extended_text_field/extended_text_field
third_party/extended_text_field/src/extended/cupertino/spell_check_suggestions_toolbar
third_party/extended_text_field/src/extended/material/spell_check_suggestions_toolbar
third_party/extended_text_field/src/extended/utils
third_party/extended_text_field/src/extended/widgets/text_field
third_party/extended_text_field/src/keyboard/binding
third_party/extended_text_field/src/keyboard/focus_node
third_party/extended_text_library/extended_text_library
third_party/extended_text_library/src/background_text_span
third_party/extended_text_library/src/extended_text_typedef
third_party/extended_text_library/src/extended_text_utils
third_party/extended_text_library/src/extended_widget_span
third_party/extended_text_library/src/image_span
third_party/extended_text_library/src/special_inline_span_base
third_party/extended_text_library/src/special_text_span
third_party/extended_text_library/src/special_text_span_builder
third_party/extended_text_library/src/text_painter_helper
widget/display/barrage_display_controller
widget/display/barrage_display_widget
widget/display/barrage_item_widget
widget/display/custom_barrage_builder
widget/display/index
widget/emoji/emoji_panel_widget
widget/emoji/emoji_text
widget/emoji/index
widget/send/barrage_input_panel_widget
widget/send/barrage_send_controller
widget/send/barrage_send_widget
widget/send/index