跳到主要内容

Get live viewer metrics

GET 

/bv/cms/v1/lives/:id/metrics/viewers

Return the current playback viewer metrics of the live, e.g. concurrent viewer and total viewer count. It'll return the last collected data point of the viewer metrics if the live has been archived.


  • Return a 404/NotFound error if the requested resource is not found.

Request

Path Parameters

    id stringrequired

    Required. The unique id of the live.

Header Parameters

    x-bv-org-id stringrequired

    To invoke this API using api_token, you need to set the x-bv-org-id header to specify the organization for which you want to perform the action.

Responses

A successful response.

Schema
    viewer_metrics object

    The viewer metrics for the current event.

    concurrent object

    Output only. The concurrent unique viewers.

    count int32

    Output only. The number of the concurrent viewers.

    updated_at date-time

    Output only. Indicates the time that the count was last updated.

    total object

    Output only. The total watched viewers.

    count int32

    Output only. The number of the concurrent viewers.

    updated_at date-time

    Output only. Indicates the time that the count was last updated.

    viewer_metrics_per_event object

    The viewer metrics per events.

    live object

    The viewer metrics for the live event.

    concurrent object

    Output only. The concurrent unique viewers.

    count int32

    Output only. The number of the concurrent viewers.

    updated_at date-time

    Output only. Indicates the time that the count was last updated.

    total object

    Output only. The total watched viewers.

    count int32

    Output only. The number of the concurrent viewers.

    updated_at date-time

    Output only. Indicates the time that the count was last updated.

    live_to_vod object

    The viewer metrics for the live to vod event.

    concurrent object

    Output only. The concurrent unique viewers.

    count int32

    Output only. The number of the concurrent viewers.

    updated_at date-time

    Output only. Indicates the time that the count was last updated.

    total object

    Output only. The total watched viewers.

    count int32

    Output only. The number of the concurrent viewers.

    updated_at date-time

    Output only. Indicates the time that the count was last updated.

Loading...