メインコンテンツまでスキップ

Get playback session info

GET 

/bv/playback/v1/sessions/:device_id

This api is used to retrieve session information that the player requires, such as the manifest and thumbnail_seeking_url. The authorization header should be playback token.

  • It'll return a 401/Unauthenticated error if playback token is invalid.
  • It'll return a 404/NotFound error if any requested resource is not found.

Request

Path Parameters

    device_id stringrequired

    Required. The unique id to identify the device.

Header Parameters

    authorization string

    This API should be invoked with playback token.

Responses

A successful response.

Schema
    sources object[]
  • Array [
  • manifests object[]

    Output only.

  • Array [
  • protocol - PROTOCOL_HLS: HTTP Live Streaming - PROTOCOL_DASH: Dynamic Adaptive Streaming over HTTP - PROTOCOL_WHEP: WebRTC-HTTP Egress Protocol - PROTOCOL_PROGRESSIVE: Progressive download (string)

    Possible values: [PROTOCOL_HLS, PROTOCOL_DASH, PROTOCOL_WHEP, PROTOCOL_PROGRESSIVE]

    Output only. The protocol of the manifest.

    url string

    Output only. The url of the manifest.

    resolutions object[]

    Output only. The resolutions provided in the manifest.

  • Array [
  • height string
    width string
  • ]
  • ]
  • thumbnail_seeking_url string

    Output only. The url of thumbnail seeking.

  • ]
Loading...