ライブストリーム録画テンプレートの情報またはテンプレートのスナップショットを照会します。
今すぐお試しください
テスト
RAM 認証
|
アクション |
アクセスレベル |
リソースタイプ |
条件キー |
依存アクション |
|
ice:GetLiveRecordTemplate |
*All Resource
|
なし | なし |
リクエストパラメーター
|
パラメーター |
型 |
必須 / 任意 |
説明 |
例 |
| TemplateId |
string |
必須 |
テンプレート ID。 |
69e1f9fe-1e97-11ed-ba64-0c42a1b73d66 |
| JobId |
string |
任意 |
録画タスクの ID。JobId パラメーターを指定して、タスクで使用されるテンプレートのスナップショットを取得できます。 |
ab0e3e76-1e9d-11ed-ba64-0c42a1b73d66 |
レスポンスフィールド
|
フィールド |
型 |
説明 |
例 |
|
object |
応答パラメーター。 |
||
| RecordTemplate |
object |
録画テンプレート。 |
|
| RecordFormatList |
array<object> |
録画フォーマットのリスト。 |
|
|
object |
録画フォーマット。 |
||
| Format |
string |
The output file format. |
m3u8 |
| OssObjectPrefix |
string |
The name of the recording file that is stored in Object Storage Service (OSS). |
record/{JobId}/{Sequence}{EscapedStartTime}{EscapedEndTime} |
| SliceOssObjectPrefix |
string |
The name of the TS segment. |
record/{JobId}/{UnixTimestamp}_{Sequence} |
| CycleDuration |
integer |
The duration of the recording cycle. Unit: seconds. If you do not specify this parameter, the default value 6 hours is used. |
7200 |
| SliceDuration |
integer |
The duration of a single segment. Unit: seconds. |
30 |
| CreateTime |
string |
タスクが作成された時間。 |
2022-07-20T03:26:36Z |
| LastModified |
string |
テンプレートが最後に変更された時間。 |
2022-07-20T03:26:36Z |
| TemplateId |
string |
テンプレート ID。 |
69e1f9fe-1e97-11ed-ba64-0c42a1b73d66 |
| Name |
string |
テンプレート名。 |
test template |
| Type |
string |
テンプレートのタイプ。 有効な値:
列挙値:
|
custom |
| RequestId |
string |
リクエスト ID。 |
C892855F-95DF-50D6-A28C-279ABDB76810 |
例
成功レスポンス
JSONJSON
{
"RecordTemplate": {
"RecordFormatList": [
{
"Format": "m3u8",
"OssObjectPrefix": "record/{JobId}/{Sequence}{EscapedStartTime}{EscapedEndTime}",
"SliceOssObjectPrefix": "record/{JobId}/{UnixTimestamp}_{Sequence}",
"CycleDuration": 7200,
"SliceDuration": 30
}
],
"CreateTime": "2022-07-20T03:26:36Z",
"LastModified": "2022-07-20T03:26:36Z",
"TemplateId": "69e1f9fe-1e97-11ed-ba64-0c42a1b73d66",
"Name": "test template",
"Type": "custom"
},
"RequestId": "C892855F-95DF-50D6-A28C-279ABDB76810"
}
エラーコード
完全なリストについては、「エラーコード」をご参照ください。
変更履歴
完全なリストについては、「変更履歴」をご参照ください。