This document describes how to quickly integrate the TRTC Flutter SDK into your project.
Note:Currently, screen sharing and device selection are not supported on Windows or macOS.
The Flutter SDK has been published on Pub. You can have the SDK downloaded and updated automatically by configuring pubspec.yaml
.
Add the following dependency to pubspec.yaml
of your project.
dependencies:
tencent_trtc_cloud: latest version number
Obtain camera and mic permissions to enable the audio and video call features.
Info.plist
:<key>NSCameraUsageDescription</key>
<string>Video calls are possible only with camera permission.</string>
<key>NSMicrophoneUsageDescription</key>
<string>Audio calls are possible only with mic access.</string>
io.flutter.embedded_views_preview
and set the value to Yes
.pod install
?
Was this page helpful?