ListLiveTranscodeTemplates

Updated at:

Queries real-time media transcoding templates.

Try it now

Try this API in OpenAPI Explorer, no manual signing needed. Successful calls auto-generate SDK code matching your parameters. Download it with built-in credential security for local usage.

Test

RAM authorization

The table below describes the authorization required to call this API. You can define it in a Resource Access Management (RAM) policy. The table's columns are detailed below:

  • Action: The actions can be used in the Action element of RAM permission policy statements to grant permissions to perform the operation.

  • API: The API that you can call to perform the action.

  • Access level: The predefined level of access granted for each API. Valid values: create, list, get, update, and delete.

  • Resource type: The type of the resource that supports authorization to perform the action. It indicates if the action supports resource-level permission. The specified resource must be compatible with the action. Otherwise, the policy will be ineffective.

    • For APIs with resource-level permissions, required resource types are marked with an asterisk (*). Specify the corresponding Alibaba Cloud Resource Name (ARN) in the Resource element of the policy.

    • For APIs without resource-level permissions, it is shown as All Resources. Use an asterisk (*) in the Resource element of the policy.

  • Condition key: The condition keys defined by the service. The key allows for granular control, applying to either actions alone or actions associated with specific resources. In addition to service-specific condition keys, Alibaba Cloud provides a set of common condition keys applicable across all RAM-supported services.

  • Dependent action: The dependent actions required to run the action. To complete the action, the RAM user or the RAM role must have the permissions to perform all dependent actions.

Action

Access level

Resource type

Condition key

Dependent action

ice:ListLiveTranscodeTemplates

*All Resource

*

None None

Request parameters

Parameter

Type

Required

Description

Example

Type

string

No

The template type. Valid values:

  • normal: Standard.

  • narrow-band: Narrowband HD.

  • audio-only: Audio-only.

  • origin: Original quality.

Valid values:

  • normal :

    Standard template.

  • narrow-band :

    Narrowband HD template.

  • audio-only :

    Audio-only template.

  • origin :

    Original quality template.

normal

VideoCodec

string

No

The video codec. Valid values:

  • H.264

  • H.265

Valid values:

  • H.264 :

    H.264 video codec.

  • H.265 :

    H.265 video codec.

H.264

PageNo

integer

No

The page number. Default value: 1.

1

PageSize

integer

No

The number of entries per page. Default value: 10. Maximum value: 100.

20

SortBy

string

No

The sort order. The results are sorted by creation time. Default value: desc. Valid values:

  • asc: Ascending.

  • desc: Descending.

Valid values:

  • asc :

    Ascending.

  • desc :

    Descending.

asc

KeyWord

string

No

The search keyword. You can search by template ID or name. Fuzzy match is supported for template names.

my_template

Category

string

No

The template category. Valid values:

  • system: System.

  • customized: Custom.

Valid values:

  • customized :

    Custom template.

  • system :

    System template.

customized

Response elements

Element

Type

Description

Example

object

Schema of Response

RequestId

string

The request ID.

******3B-0E1A-586A-AC29-742247******

TotalCount

integer

The total number of entries.

100

TemplateContentList

array<object>

The list of transcoding templates.

array<object>

Name

string

The name of the template.

my_template

TemplateId

string

The ID of the template.

9b1571b513cb44f7a1ba6ae561ff46f7

Type

string

The templatetype.

normal

Category

string

The category of the template.

system

CreateTime

string

The creation time. The time is displayed in ISO 8601 format in UTC (ending with Z).

2022-07-20T03:26:36Z

TemplateConfig

object

The template configuration.

VideoParams

object

The video parameters.

Codec

string

The video codec.

264

Height

string

The video height.

1280

Width

string

The video width.

720

Fps

string

The video frame rate.

30

Bitrate

string

The video bitrate.

2500

Gop

string

The video GOP. Unit: frames.

1000

Profile

string

The codec profile.

3

AudioParams

object

The audio parameters.

Codec

string

The audio codec.

AAC

Bitrate

string

The audio bitrate.

1000

Samplerate

string

The audio sample rate.

44100

Channels

string

The number of audio channels.

2

Profile

string

The codec profile.

aac_low

Examples

Success response

JSON format

{
  "RequestId": "******3B-0E1A-586A-AC29-742247******",
  "TotalCount": 100,
  "TemplateContentList": [
    {
      "Name": "my_template",
      "TemplateId": "9b1571b513cb44f7a1ba6ae561ff46f7",
      "Type": "normal",
      "Category": "system",
      "CreateTime": "2022-07-20T03:26:36Z",
      "TemplateConfig": {
        "VideoParams": {
          "Codec": "264",
          "Height": "1280",
          "Width": "720",
          "Fps": "30",
          "Bitrate": "2500",
          "Gop": "1000",
          "Profile": "3"
        },
        "AudioParams": {
          "Codec": "AAC",
          "Bitrate": "1000",
          "Samplerate": "44100",
          "Channels": "2",
          "Profile": "aac_low"
        }
      }
    }
  ]
}

Error codes

HTTP status code

Error code

Error message

Description

403 OperationDenied Your account has not enabled the ICE service.

See Error Codes for a complete list.

Release notes

See Release Notes for a complete list.