![]() | ![]() | ![]() |
| | |

SDKAppID and SDKSecretKey on Basic informaction. SDKAppID and SDKSecretKey is needed for running demo. 
git clone https://github.com/Tencent-RTC/TRTC_Flutter.git
# TRTC Flutter SDK Plugin Package├── lib/ # TRTC SDK Dart source code├── android/ # TRTC SDK Android native implementation├── ios/ # TRTC SDK iOS native implementation├── macos/ # TRTC SDK macOS native implementation├── windows/ # TRTC SDK Windows native implementation├── ohos/ # TRTC SDK HarmonyOS native implementation├── example/ # ⭐ Example Demo Application│ ├── lib/ # Application source code│ ├── assets/ # Assets (images/music)│ ├── android/ # Android host project│ ├── ios/ # iOS host project│ ├── macos/ # macOS host project│ ├── windows/ # Windows host project│ ├── ohos/ # HarmonyOS host project│ ├── test/ # Unit tests│ ├── pubspec.yaml # Demo dependency configuration│ ├── README.md│ └── analysis_options.yaml├── pubspec.yaml # Dependency configuration├── CHANGELOG.md├── README.md├── LICENSE├── analysis_options.yaml├── dartdoc_options.yaml└── ffigen.yaml # FFI binding generation configuration
/example/lib/debug/GenerateTestUserSig.dart.GenerateTestUserSig.dart file:SDKAPPID: A placeholder by default. Set it to the actual SDKAppID.SDKSECRETKEY: A placeholder by default. Set it to the actual key.
SDKSECRETKEY in the client code. In this method, SDKSECRETKEY may be easily decompiled and reversed, and if your key is disclosed, attackers can steal your Tencent Cloud traffic. Therefore, this method is only suitable for the local execution and debugging of TRTC-Simple-Demo.flutter pub get.flutter run.cd ios.pod install./ios in the source code directory with Xcode (11.0 or later). Compile and run the demo project.flutter config --enable-windows-desktop.flutter run -d windows.flutter config --enable-macos-desktop.cd macos.pod install.flutter run -d macos.Documents/log of the application sandbox/sdcard/log/tencent/liteav/sdcard/Android/data/package name/files/log/tencent/liteav/info.plist of your project, the value of io.flutter.embedded_views_preview is YES. /example/android/app/src/main/AndroidManifest.xml.xmlns:tools="http://schemas.android.com/tools" to manifest.tools:replace="android:label" to application.

Apakah halaman ini membantu?
Anda juga dapat Menghubungi Penjualan atau Mengirimkan Tiket untuk meminta bantuan.
masukan