edit-icon download-icon

DescribeLiveStreamsFrameRateAndBitRateData

Last Updated: Jun 27, 2018

Description

Query frame rate and bit rate in real time.

Request parameters

Parameters Type Required Example values Description
Action String Yes DescribeLiveStreamsFrameRateAndBitRateData

The name of this interface. Value: DescribeLiveStreamsFrameRateAndBitRateData

DomainName String Yes www.yourdomain.com

Your domain name.

AppName String Yes testApp

Name of the app, which the live stream belongs to.

EndTime String No 2017-12-21T08:00:00:00Z

End time.

  • UTC format.
  • The time interval between StartTime and EndTime is within 7 days, and the EndTime exceeds the current time.

StartTime String No 2017-12-21T08:00:00:00Z

Start time.

  • UTC format.
  • The time interval between the StartTime and EndTime is within 7 days, and the EndTime exceeds the current time.

StreamName String No testStream

Live stream name.

Return parameters

Parameters Type Example values Description
FrameRateAndBitRateInfos

Frame rate/bit rate information of the live streams.

  └StreamUrl String rtmp://play.aliyunlive.com/AppName/StreamName

URL of the live stream.

  └VideoFrameRate Float 30

Video frame rate of the live stream.

  └AudioFrameRate Float 50

Audio frame rate of the live stream.

  └BitRate Float 600

Bit rate of the live stream.

  └Time String 2016-09-13T16:05:00Z

Statistic time.
UTC time.

RequestId String 40A4F36D-A7CC-473A-88E7-154F92242566

The ID of the job request.

Example

Request example

  1. https://live.aliyuncs.com?Action=DescribeLiveStreamsFrameRateAndBitRateData&DomainName=live.aliyunlive.com&<Public Request Parameter>

Normal return example

JSON format

  1. {
  2. "FrameRateAndBitRateInfos":{
  3. "FrameRateAndBitRateInfo":[{
  4. "AudioFrameRate":"167.67",
  5. "BitRate":"192.02",
  6. "StreamUrl":"rtmp://live.aliyunlive.com/live/test101",
  7. "Time":"2016 - 09 - 13 T16: 05: 00 Z",
  8. "VideoFrameRate":"30.01"
  9. }]
  10. },
  11. "RequestId":"16A96B9A-F203-4EC5-8E43-CB92E68F4CD8"
  12. }

Exception return example

JSON format

  1. {
  2. "Code":"InternalError",
  3. "HostId":"live.aliyuncs.com",
  4. "Message":"The request processing has failed due to some unknown error.",
  5. "RequestId":"6EBD1AC4-C34D-4AE1-963E-B688A228BE31"
  6. }

Error code

For more information about error code of this product, see Error code.

Thank you! We've received your feedback.