ライブストリーム録画タスクの情報を照会します。
今すぐお試しください
テスト
RAM 認証
|
アクション |
アクセスレベル |
リソースタイプ |
条件キー |
依存アクション |
|
ice:GetLiveRecordJob |
*All Resource
|
なし | なし |
リクエストパラメーター
|
パラメーター |
型 |
必須 / 任意 |
説明 |
例 |
| JobId |
string |
必須 |
録画タスクの ID。 |
ab0e3e76-1e9d-11ed-ba64-0c42a1b73d66 |
レスポンスフィールド
|
フィールド |
型 |
説明 |
例 |
|
object |
応答パラメーター。 |
||
| RecordJob |
object |
録画タスクの詳細。 |
|
| NotifyUrl |
string |
コールバック URL。 |
https://example.com/imsnotify |
| CreateTime |
string |
タスクが作成された時間。 |
2022-07-20T02:48:58Z |
| StreamInput |
object |
ライブストリームの URL。 |
|
| Type |
string |
The type of the live stream. The value can only be rtmp. 列挙値:
|
rtmp |
| Url |
string |
The URL of the live stream. |
rtmp://example.com/app/stream |
| RecordOutput |
object |
録画のストレージの場所。 |
|
| Type |
string |
The type of the storage address. Valid values:
列挙値:
|
oss |
| Bucket |
string |
The bucket name. |
imsbucket1 |
| Endpoint |
string |
The endpoint of the storage service. |
oss-cn-shanghai.aliyuncs.com |
| TemplateId |
string |
録画テンプレートの ID。 |
69e1f9fe-1e97-11ed-ba64-0c42a1b73d66 |
| TemplateName |
string |
録画テンプレートの名前。 |
test template |
| Name |
string |
録画タスクの名前。 |
直播活动录制任务1 |
| JobId |
string |
録画タスクの ID。 |
ab0e3e76-1e9d-11ed-ba64-0c42a1b73d66 |
| Status |
string |
録画タスクの状態。 有効な値:
列挙値:
|
paused |
| RequestId |
string |
リクエスト ID。 |
B57A046C-CE33-5FBB-B57A-D2B89ACF6907 |
例
成功レスポンス
JSONJSON
{
"RecordJob": {
"NotifyUrl": "https://example.com/imsnotify",
"CreateTime": "2022-07-20T02:48:58Z",
"StreamInput": {
"Type": "rtmp",
"Url": "rtmp://example.com/app/stream"
},
"RecordOutput": {
"Type": "oss",
"Bucket": "imsbucket1",
"Endpoint": "oss-cn-shanghai.aliyuncs.com"
},
"TemplateId": "69e1f9fe-1e97-11ed-ba64-0c42a1b73d66",
"TemplateName": "test template",
"Name": "直播活动录制任务1",
"JobId": "ab0e3e76-1e9d-11ed-ba64-0c42a1b73d66",
"Status": "paused"
},
"RequestId": "B57A046C-CE33-5FBB-B57A-D2B89ACF6907"
}
エラーコード
完全なリストについては、「エラーコード」をご参照ください。
変更履歴
完全なリストについては、「変更履歴」をご参照ください。