Skip to main content

Update audio instant encoding

PUT 

/bv/cms/v1/instant-encodings/:id

Modifies the details of an existing instant encoding.


Required field(s):

  • id

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

Request

Path Parameters

    id stringrequired

    This attribute specifies the unique id of the instant encoding

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.

Body

required
    expire_duration string

    This attribute indicates the TTL (Time-to-Live) of the instant encoding data, with the minimum unit being seconds. Follow the ISO 8601 standard when making RESTful requests.

Responses

A successful response.

Schema
    instant_encoding object
    stream object[]

    The stream manifest URLs of the instant encoding

  • Array [
  • manifests object[]

    Indicates the manifest resources.

  • 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]

    Indicates the streaming protocol of manifest.

    uris object[]

    Indicates the uri array of manifest.

  • Array [
  • resolutions object[]

    The resolution of the manifest.

  • Array [
  • height int64

    The video resolution height.

    width int64

    The video resolution width.

  • ]
  • uri string

    The streaming uri of the manifest.

  • ]
  • ]
  • thumbnail object

    Indicates the thumbnail resource.

    uri string

    Thumbnail seeking uri.

  • ]
  • status string

    Possible values: [INSTANT_ENCODING_STATUS_CREATED, INSTANT_ENCODING_STATUS_SEMI_SUCCESSFUL, INSTANT_ENCODING_STATUS_SUCCEEDED, INSTANT_ENCODING_STATUS_FAILED]

    The status of the instant encoding

    id string

    The unique id of the instant encoding. User can fetch instant encoding data by this id.

    name string

    The name of the instant encoding.

    expiration_time date-time

    The expiration time of the instant encoding

    create_time date-time

    The create time of the instant encoding

Loading...