Huddle01 Flutter SDK
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
Libraries
- common/enhanced_map
- core/device_handler
- core/index
- core/local_peer
- core/logger
- core/permissions
- core/remote_peer
- core/room
- core/socket
- data/track_configs
- data/value_notifiers
- helpers/index
- huddle_client
- proto/client/app_data.pb
- proto/client/app_data.pbenum
- proto/client/app_data.pbjson
- proto/client/app_data.pbserver
- proto/client/permissions.pb
- proto/client/permissions.pbenum
- proto/client/permissions.pbjson
- proto/client/permissions.pbserver
- proto/client/request.pb
- proto/client/request.pbenum
- proto/client/request.pbjson
- proto/client/request.pbserver
- proto/client/response.pb
- proto/client/response.pbenum
- proto/client/response.pbjson
- proto/client/response.pbserver
- proto/client/room_control.pb
- proto/client/room_control.pbenum
- proto/client/room_control.pbjson
- proto/client/room_control.pbserver
- proto/rtc/rtp_capabilities.pb
- proto/rtc/rtp_capabilities.pbenum
- proto/rtc/rtp_capabilities.pbjson
- proto/rtc/rtp_capabilities.pbserver
- proto/rtc/rtp_parameters.pb
- proto/rtc/rtp_parameters.pbenum
- proto/rtc/rtp_parameters.pbjson
- proto/rtc/rtp_parameters.pbserver
- proto/rtc/sctp_capabilities.pb
- proto/rtc/sctp_capabilities.pbenum
- proto/rtc/sctp_capabilities.pbjson
- proto/rtc/sctp_capabilities.pbserver
- proto/rtc/sctp_stream_parameters.pb
- proto/rtc/sctp_stream_parameters.pbenum
- proto/rtc/sctp_stream_parameters.pbjson
- proto/rtc/sctp_stream_parameters.pbserver
- proto/rtc/sdp_info.pb
- proto/rtc/sdp_info.pbenum
- proto/rtc/sdp_info.pbjson
- proto/rtc/sdp_info.pbserver
- proto/serverSdk.pb
- proto/serverSdk.pbenum
- proto/serverSdk.pbjson
- proto/serverSdk.pbserver
- proto/sushiToMomo.pb
- proto/sushiToMomo.pbenum
- proto/sushiToMomo.pbjson
- proto/sushiToMomo.pbserver
- types/common_types
- types/proto_parsing
- utils/enhanced_event_emitter
- validators/geolocation