Consulta os modelos de estúdio virtual em sua conta.
Experimente agora
Testar
Autorização RAM
|
Ação |
Nível de acesso |
Tipo de recurso |
Chave de condição |
Ação dependente |
|
live:DescribeLiveAIStudio |
get |
*All Resource
|
Nenhuma | Nenhuma |
Parâmetros da solicitação
|
Parâmetro |
Tipo |
Obrigatório |
Descrição |
Exemplo |
| RegionId |
string |
Não |
O ID da região. |
cn-shanghai |
| StudioId |
string |
Não |
O ID do modelo a ser filtrado. Este parâmetro é opcional. |
dbe61b87-db9a-448f-8757-a875edb3f944 |
| StudioName |
string |
Não |
O nome do modelo de estúdio virtual. |
sub02 |
| PageNumber |
integer |
Não |
O número da página atual. O valor padrão é 1. |
1 |
| PageSize |
integer |
Não |
O número de entradas a serem retornadas em cada página. Valor padrão: 10. Valores válidos: 1 a 50. |
10 |
Elementos de resposta
|
Elemento |
Tipo |
Descrição |
Exemplo |
|
object |
O esquema da resposta. |
||
| RequestId |
string |
O ID da solicitação. |
16A96B9A-F203-4EC5-8E43-CB92E68F4CD8 |
| Total |
integer |
O número total de modelos. |
100 |
| PageNumber |
integer |
O número da página atual. |
1 |
| PageSize |
integer |
O número de entradas retornadas em cada página. Valor padrão: 10. Valores válidos: 1 a 50. |
10 |
| StudioConfigs |
object |
||
| SubtitleConfig |
array<object> |
As informações sobre o modelo de estúdio virtual. |
|
|
array<object> |
As informações sobre o modelo de estúdio virtual. |
||
| MediaType |
string |
The type of the media asset. Valid values: VOD, PIC, and LIVE.
|
VOD |
| MediaLayout |
string |
The layout information of the media asset. |
"{\"positionY\":\"0.0\",\"positionX\":\"0.0\",\"heightNormalized\":\"0.5\"}" |
| MediaResourceUrl |
string |
The URL of the media asset. |
https://testbucket.xx.com/2.jpg |
| MediaResourceId |
string |
The ID of the VOD resource for the media asset. |
d0eb493192c771efba644531858c0102 |
| BackgroundType |
string |
The type of the background material. Valid values: VOD, PIC, and LIVE.
|
VOD |
| BackgroundResourceUrl |
string |
The public URL of the background material. The URL must be accessible over the Internet. Specify this parameter or `BackgroundResourceId`. |
https://testbucket.xx.com/2.jpg |
| BackgroundResourceId |
string |
The ID of the background material resource. |
d0eb493192c771efba644531858c0102 |
| Description |
string |
The description of the virtual studio template. |
user defined description |
| TemplateId |
string |
The ID of the virtual studio template. |
24654384-f5ac-40ea-823b-74e85a61dd9f |
| TemplateName |
string |
The name of the virtual studio template. This parameter is the same as the `StudioName` parameter in the AddLiveAiStudio operation. |
studio1 |
| MattingLayout |
string |
The layout of the keyed-out portrait. |
"{\"positionY\":\"0.0\",\"positionX\":\"0.0\",\"heightNormalized\":\"0.5\"}" |
| MattingType |
string |
The chroma keying type for the source stream. This is used to process the ingested stream.
|
complex |
| Height |
string |
The height of the preview image, in pixels. The resolution of the preview image (width × height) must be one of the following:
|
1080 |
| Width |
string |
The width of the preview image. |
1920 |
| RuleIds |
object |
||
| ruleId |
array |
The rule IDs. |
|
|
string |
The rule ID. |
2414378f-541a-48d3-be0c-535212f9a6b4 |
Exemplos
Resposta de sucesso
JSON formato
{
"RequestId": "16A96B9A-F203-4EC5-8E43-CB92E68F4CD8",
"Total": 100,
"PageNumber": 1,
"PageSize": 10,
"StudioConfigs": {
"SubtitleConfig": [
{
"MediaType": "VOD",
"MediaLayout": "\"{\\\"positionY\\\":\\\"0.0\\\",\\\"positionX\\\":\\\"0.0\\\",\\\"heightNormalized\\\":\\\"0.5\\\"}\"",
"MediaResourceUrl": "https://testbucket.xx.com/2.jpg",
"MediaResourceId": "\t\nd0eb493192c771efba644531858c0102\n",
"BackgroundType": "VOD",
"BackgroundResourceUrl": "https://testbucket.xx.com/2.jpg",
"BackgroundResourceId": "d0eb493192c771efba644531858c0102",
"Description": "user defined description",
"TemplateId": "24654384-f5ac-40ea-823b-74e85a61dd9f",
"TemplateName": "studio1",
"MattingLayout": "\"{\\\"positionY\\\":\\\"0.0\\\",\\\"positionX\\\":\\\"0.0\\\",\\\"heightNormalized\\\":\\\"0.5\\\"}\"",
"MattingType": "complex",
"Height": "1080",
"Width": "1920",
"RuleIds": {
"ruleId": [
"2414378f-541a-48d3-be0c-535212f9a6b4"
]
}
}
]
}
}
Códigos de erro
|
Código de status HTTP |
Código de erro |
Mensagem de erro |
Descrição |
|---|---|---|---|
| 400 | LiveServiceNotFound | %s, please check and try again later. | The live service is not enabled. Please check and try again. |
| 400 | InvalidParameter.PurchaseTime | %s, please check and try again later. | The parameter PurchaseTime is invalid, please check and try again. |
| 400 | InvalidParameter.ExpireTime | %s, please check and try again later. | The parameter ExpireTime is invalid, please check and try again. |
| 400 | MissingParameter | %s. | Missing parameter |
| 400 | InvalidChargeType.Malformed | %s, please check and try again later. | The parameter ChargeType is invalid, please check and try again. |
| 400 | InvalidChargeType.PostSupport | %s, please check and try again later. | ChargeType only supports post-paid, please check and try again. |
| 400 | InvalidCasterTemplate.Malformed | %s, please check and try again later. | The parameter CasterTemplate is invalid, please check and try again. |
| 400 | InvalidParameter.Malformed | There are invalid parameters: %s. | There are invalid parameters: %s. |
| 400 | InvalidParameter.ChargeType | %s, please check and try again later. | The parameter ChargeType is invalid, please check and try again. |
| 400 | InvalidPeriod.Malformed | %s, please check and try again later. | Invalid time interval, please check and try again. |
| 400 | InvalidUserId.Malformed | %s, please check userId. | The userId passed in is invalid, please check. |
| 400 | InvalidClientToken.Malformed | %s, please check and try again later. | The parameter ClientToken is invalid, please check and try again. |
| 400 | IncorrectCasterStatus | %s, please check and try again later. | Guide station status error, please check and try again. |
| 401 | CasterNumberExceed | %s, please check and try again later. | The number of casters exceeds the limit. Please check and try again. |
| 403 | PermissionDenied | %s, please check and try again later. | Access denied, please check and try again. |
| 404 | InvalidParameter.NormType | %s, please check and try again later. | The parameter NormType is invalid, please check and try again. |
| 404 | InvalidConfiguration.NotFound | %s, please check and try again later. | Configuration does not exist, please check and try again. |
| 408 | DescribeLiveAIStudio.Timeout | %s, please try again later. | Call DescribeLiveAIStudio timed out, please try again later. |
Consulte Códigos de Erro para uma lista completa.
Notas de versão
Consulte Notas de Versão para uma lista completa.