The usage statistics feature allows you to query the usage of resources, such as the streaming bandwidth and traffic, the number of ingested streams, the transcoding duration, and the number of live recording channels. This topic describes how to view the usage details of your ApasaraVideo Live resources.

Time granularity

You can query resource usage in the Alibaba Cloud CDN console or by calling API operations. However, the maximum time range that you can query and the maximum period of time within which historical data is available are different. The following table describes the maximum time range to query, the period within which historical data is available, and data delay.
  • In the Alibaba Cloud CDN console:
    Time granularityMaximum time range per queryHistorical data availableData delay
    5 minutes3 daysThe last 6 months15 minutes
    1 hour31 daysThe last 6 months4 hours
    1 days31 daysThe last 6 months04:00 on the next day
  • Call API operations:
    Time granularityMaximum time range per queryHistorical data availableData delay
    5 minutes3 days93 days15 minutes
    1 hour31 days186 days4 hours
    1 days90 days366 days04:00 on the next day

Query resource usage details

ApsaraVideo Live console

  1. Log on to the ApsaraVideo Live console.
  2. In the left-side navigation pane, click Billing > Statistics-Usage.
  3. View the usage of resources.
    001

    You can select a domain name, a region, and a time range to view the usage of the following resources. ApsaraVideo Live provides the following preset time ranges: today, yesterday, last 7 days, and last 30 days. You can also specify a custom time range to query resource usage details.

    TabDescription
    Streaming Bandwidth/TrafficDisplays the traffic and bandwidth usage of a specified domain name.
    Ingested StreamsDisplays the number of ingested streams for a specified domain name.
    Note The number of concurrent streams is equal to the total number of upstream streams and transcoded streams.
    Transcoding DurationDisplays the transcoding duration for different resolutions.
    Note For information about the definition of transcoding template in the transcoding duration statistics, see Transcoding templates.
    Live Stream RecordingDisplays the number of live recording channels and the length of container format conversion for a specified domain name.
    SnapshotsDisplays the number of snapshots for a specified domain name.
    Live Stream ModerationDisplays the number of live stream moderation jobs.
    Time ShiftingDisplays the duration and data volume of time shifting for a specified domain name.
    Co-streaming UsageDisplays the co-streaming duration of a specified application.
    Production StudiosDisplays the output duration of production studios for a specified domain name.
    DRM CallsDisplays the number of Digital Rights Management (DRM) calls for a specified domain name.

API operations

For information about how to call API operations to query resource usage details, see Statistics-Usage.

Transcoding templates

A transcoding template type is a string that consists of the resolution, prefix, and suffix fields. The fields are separated by underscores (_). Only the resolution field is required. The prefix and suffix fields are optional.

  • Resolution
    • LD: low definition.
    • SD: standard definition.
    • HD: high definition.
    • 2K: 2K resolution.
    • 4K: 4K resolution.
    • EX: resolution higher than 4K.
  • Codec prefix
    • Null: H.264.
    • 265: H.265.
  • Profile suffix
    • Null: Narrowband HDTM 1.0.
    • S: standard quality transcoding.
    • NBHD15: Narrowband HDTM 1.5.
    • NBHD2: Narrowband HDTM2.0.
    • WM: watermark-based transcoding.
    • CASTER: production studio-based transcoding.
  • Output frame rate suffix
    • Null: standard output frame rate. A standard output frame rate is no more than 30 frames per second (FPS).
    • OFH: high output frame rate. A high output frame rate is higher than 30 FPS.

Examples:

  • HD: H.264, high definition, Narrowband HDTM 1.0 transcoding, and standard output frame rate.
  • 265_SD_NBHD2: H.265, standard definition, Narrowband HDTM 2.0 transcoding, and standard output frame rate.
  • LD_S_OFH: H.264, low definition, standard quality transcoding, and high output frame rate.

What to do next

To export resource usage data, perform the following steps:

  1. Click the Details tab.
  2. Click Create Export Task. 002
  3. In the Create Export Task dialog box, enter the task name, select a time range, and select By Account or By Domain.
    Note If you select By Domain, you can select up to 100 domain names.
  4. Click OK.