パッケージ、リポジトリ、アプリカテゴリを検索

agora_uikit のカバー
パッケージ詳細v1.3.10

agora_uikit

数行のコードで、Agora のビデオ通話またはライブ動画ストリーミングをアプリに簡単に統合できるFlutterプラグインです。

30日間ダウンロード
508
いいね数
440
Pub ポイント
80

パッケージをインストール

flutter pub add agora_uikit

パッケージ概要

公開情報に基づく選定ガイドです。参考としてご利用ください。

Agora UIKit は、開発者が最小限のコードでアプリケーションにリアルタイムのビデオ通話およびライブビデオストリーミングを迅速に統合できるようにするFlutterプラグインです。Agora.ioによって開発され、ビデオ会議用の事前構築されたUIコンポーネントを提供しており、音声/映像通話、画面共有、ライブ放送などの機能を簡単に実装できます。直感的なAPIを通じて複雑なリアルタイム通信ワークフローを簡素化し、開発時間を大幅に短縮します。スケーラブルで低遅延な相互作用を複数のプラットフォーム間でサポートしており、シームレスなビデオ接続が必要なアプリに最適です。

用途

  • ビデオ会議アプリ
  • ライブストリーミングプラットフォーム
  • バーチャル教室
  • 遠隔医療相談
  • チームコラボレーションツール

主な機能

  • 事前構築されたビデオ通話UI
  • わずかなコード行で簡単に統合できます
  • ライブストリーミングおよびグループ通話のサポート
  • 低遅延のリアルタイム通信
  • カスタマイズ可能な UI コンポーネント

適している対象

  • 迅速な動画統合を求める開発者
  • リアルタイム動画機能を必要とするアプリ
  • 通信を重視したアプリを開発するスタートアップ
  • 教育およびテレヘルスプラットフォーム

注意事項

  • Agora アカウントと API キーが必要です
  • 追加のコーディングなしで制限されたカスタマイズ
  • Agoraのバックエンドインフラに依存
  • 完全な機能を実現するには、プラットフォーム固有の設定が必要になる場合があります

元の README

関連するソースリポジトリの README 原文のスナップショットです。最新の内容はリポジトリをご覧ください。

[ARCHIVED] Agora VideoUIKit for Flutter

⚠️ This project is no longer maintained and has been archived.
Please note that this repository is now in a read-only state and will not receive any further updates or support. We recommend migrating to the following alternatives:

  • Agora SDK: For developers seeking a customizable solution with full control over the user experience. Learn more
  • Agora App Builder: For those preferring a no-code approach to integrate real-time engagement features. Get started

For documentation and support, please visit the Agora Documentation.


Platform GitHub Workflow Status License: MIT

Instantly integrate Agora video calling or video streaming into your Flutter application.

NOTE: The Flutter VideoUIKit( >version 1.1.0) uses the latest version of the Agora 4.x SDK. To know more about the changes and the new features in the 4.x SDK, kindly take a look at the docs.

Getting started

Agora Flutter VideoUIKit Layout Sample

Roadmap
  • [ ] Add Usernames
  • [x] More Event Callbacks
  • [x] Add RTM SDK
  • [x] Screen Sharing (Currently in Beta)
  • [x] Layout for One to One Video Call
  • [ ] Layout for Voice Calls
  • [ ] Re-orderable list view (Floating Layout)
  • [ ] Cloud recording
  • [ ] Promoting an audience member to a broadcaster role.
  • [x] Muting/Unmuting a remote member
  • [x] Flutter Web Support as a pre-release
  • [ ] Flutter Desktop Support as a pre-release
Requirements
Installation

In your Flutter application, add the agora_uikit as a dependency inside your pubspec.yaml file.

In your Android level build.gradle add this at the end of the repositories:

allprojects {
	repositories {
		...
		maven { url 'https://jitpack.io' }
	}
}
Device Permission

Agora Video SDK requires camera and microphone permission to start video call.

Android

Open the AndroidManifest.xml file and add the required device permissions to the file.

<manifest>
...
<uses-permission  android:name="android.permission.READ_PHONE_STATE"/>
<uses-permission  android:name="android.permission.INTERNET"  />
<uses-permission  android:name="android.permission.RECORD_AUDIO"  />
<uses-permission  android:name="android.permission.CAMERA"  />
<uses-permission  android:name="android.permission.MODIFY_AUDIO_SETTINGS"  />
<uses-permission  android:name="android.permission.ACCESS_NETWORK_STATE"  />
<!-- The Agora SDK requires Bluetooth permissions in case users are using Bluetooth devices.-->
<uses-permission  android:name="android.permission.BLUETOOTH"  />
...
</manifest>
iOS

Open info.plist and add:

  • Privacy - Microphone Usage Description, and add a note in the Value column.
  • Privacy - Camera Usage Description, and add a note in the Value column.

Your application can still run the voice call when it is switched to the background if the background mode is enabled. Select the app target in Xcode, click the Capabilities tab, enable Background Modes, and check Audio, AirPlay, and Picture in Picture.

Usage

// Instantiate the client
final AgoraClient client = AgoraClient(
  agoraConnectionData: AgoraConnectionData(
    appId: "<--Add Your App Id Here-->",
    channelName: "test",
  ),
);

// Initialize the Agora Engine
@override
void initState() {
  super.initState();
  initAgora();
}

void initAgora() async {
  await client.initialize();
}

// Build your layout
@override
Widget build(BuildContext context) {
  return MaterialApp(
    home: Scaffold(
      body: SafeArea(
        child: Stack(
          children: [
            AgoraVideoViewer(client: client), 
            AgoraVideoButtons(client: client),
          ],
        ),
      ),
    ),
  );
}

VideoUIKits

The plan is to grow this library and have similar offerings across all supported platforms. There are already similar libraries for Android, iOS, React Native, and Web React, so be sure to check them out.

カテゴリー

依存関係

依存関係一覧 5 件

ソースリポジトリ

このパッケージを使用しているプロジェクト