recordURL property
String
get
recordURL
Get the URL of the video when recording with startRecording.
Currently only available at AgoraStorageVendor.googleCloud.
Must be able to play m3u8 format files.
startRecordingで録画した際の映像のURLを取得します。
現在AgoraStorageVendor.googleCloudでのみ利用可能です。
m3u8形式のファイルを再生できる必要があります。
Implementation
String get recordURL {
if (_engine == null) {
throw Exception(
"The engine is not initialized. [connect] the engine first.",
);
}
final vendor = adapter.storageBucketConfig?.vendor;
switch (vendor) {
case AgoraStorageVendor.googleCloud:
return "https://storage.googleapis.com/${adapter.storageBucketConfig?.bucketName}/$channelName.m3u8";
default:
throw Exception("This vendor has not been implemented.");
}
}