视频直播 LIVE-创建直播截图配置:请求示例

时间:2024-07-19 14:22:38

请求示例

创建直播截图配置。

POST https://{endpoint}/v1/{project_id}/stream/snapshot

{
  "domain" : "play.example.huawei.com",
  "app_name" : "live",
  "time_interval" : 5,
  "object_write_mode" : 1,
  "obs_location" : {
    "bucket" : "cls-test",
    "location" : "region1",
    "object" : "/ffff/aa/"
  }
}
support.huaweicloud.com/api-live/CreateSnapshotConfig.html