DescribeToutiaoLivePublish

Updated at:

Retrieves the stream ingest information of a specified live stream on Toutiao.

Operation description

Queries the stream ingest information of a specified live stream on Toutiao.

QPS limit

The single-user QPS limit for this operation is 100 calls per second. If the limit is exceeded, API calls are throttled, which may affect your business. Call this operation as needed. For more information, see QPS limit.

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

live:DescribeToutiaoLivePublish

get

*All Resource

*

None None

Request parameters

Parameter

Type

Required

Description

Example

RegionId

string

No

The region ID.

cn-shanghai

StartTime

string

Yes

The beginning of the time range to query. Specify the time in the ISO 8601 standard in UTC.

2017-10-10T20:00:00Z

EndTime

string

Yes

The end of the time range to query. The end time must be later than the start time, and the time span cannot exceed 10 hours. If neither StartTime nor EndTime is specified, data of the most recent hour is queried by default. Specify the time in the ISO 8601 standard in UTC.

2017-10-10T21:00:00Z

Domain

string

Yes

The ingest domain.

example.com

Stream

string

Yes

The stream name.

liveStream****

App

string

Yes

The name of the application to which the stream belongs.

liveApp****

Response elements

Element

Type

Description

Example

object

Content

array<object>

The details of the stream ingest information.

object

The details of the stream ingest information.

App

string

The name of the application to which the stream belongs.

liveApp****

Bitrate

number

The bitrate. Unit: bit/s.

261587

BwDiff

number

The bitrate difference.

0

CdnName

string

The CDN name.

ali

Domain

string

The ingest domain.

example.com

Flr

number

The number of dropped frames.

0

Fps

number

The frame rate.

74.4

StreamName

string

The stream name.

liveStream****

Timestamp

integer

The timestamp.

1624358970

Description

string

The response status description.

OK

RequestId

string

The request ID.

16A96B9A-F203-4EC5-8E43-CB92E68F****

Examples

Success response

JSON format

{
  "Content": [
    {
      "App": "liveApp****\n",
      "Bitrate": 261587,
      "BwDiff": 0,
      "CdnName": "ali",
      "Domain": "example.com",
      "Flr": 0,
      "Fps": 74.4,
      "StreamName": "liveStream****",
      "Timestamp": 1624358970
    }
  ],
  "Description": "OK\n",
  "RequestId": "16A96B9A-F203-4EC5-8E43-CB92E68F****"
}

Error codes

See Error Codes for a complete list.

Release notes

See Release Notes for a complete list.