The EnableX Flutter SDK is for developing Hybrid Mobile Applications integrated with EnableX RTC sessions. The Plugin has all the methods interfacing EnableX Signaling Server and Media Servers to communicate and to listen to event-based notifications during a session.
Table of Contents
- How to use Flutter SDK?
- Class – Attributes, Methods & Notifications
- Basic Functions
- Get list of Audio Devices
- Get selected Audio Device by User
- Join a Room with Stream
- Disconnect from a Room
- Publish / Unpublish Local Stream
- Subscribe Remote Streams
- Mute / Umute Audio of Subscribed Streams
- Handle Active Talkers
- Get Room Information
- Manage Log
- Advance Features
- Switch Source Media Devices of Published Stream
- Update Stream Configuration
- Mute / Unmute Audio in a Stream
- Mute / Unmute Video in a Stream
- Private. Public & Group Messaging
- File Sharing
- Change to Audio Only Call
- Set Video Scaling Type
- Set Advance Options
- Get Advance Options
- Handle Application Switching from Foreground to Background
- Get View Quality Received
- Use Custom Signaling
- Enable Proximity Sensor
- Extend Session
- Annotation
- Moderator Controls
How to use EnableX Flutter SDK?
Steps to follow:
- Create Flutter sample project
- Add
Enx flutter SDK
as a dependency inpubspec.yaml
file - For iOS run command
flutter build ios --no-codesign
Device Permission
EnableX SDK requires camera and microphone permission to start video call.
Setup for iOS
Open the 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.
iOS Black Screen
Our SDK use PlatformView
, you should set io.flutter.embedded_views_preview to YES in your info.plist
See Sample App
Explore Flutter SDK
- EnxRtc – Class →
- ↑ Top