跳到主要内容

Start playback session

POST 

/bv/playback/v1/sessions/:device_id:start

Initiates a new playback session for the user.

  • Returns a 401/Unauthenticated if the playback token is not valid.
  • Returns a 403/Forbidden if validation fails or the session has expired.
  • Returns a 404/NotFound if the 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
    drm_server_endpoint string

    Output only. The endpoint of drm server.

    protection object

    Output only. The protection information.

    type Optional. Indicates the type of protection (string)

    Possible values: [PROTECTION_TYPE_DRM]

    • PROTECTION_TYPE_DRM: The content will protected by DRM.
Loading...