huddle01_flutter_client 1.0.5 copy "huddle01_flutter_client: ^1.0.5" to clipboard
huddle01_flutter_client: ^1.0.5 copied to clipboard

The Huddle01 Flutter SDK offers a comprehensive suite of methods and event listeners that allow for seamless real-time audio and video communication with minimal coding required.

Huddle01 Flutter SDK #

https://huddle01-assets-frontend.s3.amazonaws.com/general/huddle01-logo-blue.svg

People-powered Communication

Community ยท Documentation

Flutter SDK #

The Huddle01 Flutter SDK offers a comprehensive suite of methods and event listeners that allow for seamless real-time audio and video communication with minimal coding required.

Pre Requisites #

Before using the Flutter SDK, you must have Flutter installed on your machine. You can install Flutter using one of the following method:

  • Use the official flutter docs website

After installing Flutter verify it's installed by running the following command in your terminal:

flutter --version

Installing the packages: #

To get started with the Huddle01 Flutter SDK, you can install the package using:

flutter pub add huddle01_flutter_client

Initializing the SDK: #

After installing the package, you can initialize the SDK

String projectId = 'YOUR-PROJECT-ID';

// Initialize your huddleClient 
HuddleClient huddleClient = HuddleClient(
    projectId: 'ENTER_YOUR_PROJECT_KEY',
  );

Joining the room: #

Once you initialise huddleClient you can access various methods such as joinRoom. You can generate roomId using this API and an access token to join that particular room using our Server SDK. The access token should always be generated on a backend server.

Add the joinRoom() and leaveRoom() methods for joining and leaving functionalities.

String roomId = 'YOUR-ROOM-ID';
String token = 'YOUR-TOKEN';

// Join Room
huddleClient.joinRoom(roomId, token);
// Leave Room
huddleClient.leaveRoom();

๐Ÿ’ก For more information head to https://docs.huddle01.com/docs/Flutter

๐Ÿ’ก For any help reach out to us on Discord

3
likes
140
pub points
47%
popularity

Publisher

verified publisherhuddle01.com

The Huddle01 Flutter SDK offers a comprehensive suite of methods and event listeners that allow for seamless real-time audio and video communication with minimal coding required.

Homepage

Documentation

API reference

License

ISC (LICENSE)

Dependencies

audio_session, events2, fixnum, flutter, freezed, freezed_annotation, http, logger, mediasoup_engine, plugin_platform_interface, protobuf, web_socket_channel

More

Packages that depend on huddle01_flutter_client