Inserts supplemental enhancement information (SEI) to a live stream when the live stream is transcoded.


OpenAPI Explorer automatically calculates the signature value. For your convenience, we recommend that you call this operation in OpenAPI Explorer. OpenAPI Explorer dynamically generates the sample code of the operation for different SDKs.

Request parameters

Parameter Type Required Example Description
Action String Yes AddTrancodeSEI

The operation that you want to perform. Set the value to AddTrancodeSEI.

AppName String Yes testApp

The name of the application to which the live stream belongs.

Delay Integer Yes 100

The time period after which the SEI is inserted after the request is received. Unit: milliseconds.

DomainName String Yes

The streaming domain.

Pattern String Yes keyframe

Specifies whether to append the SEI to each keyframe or frame. Valid values:

  • keyframe
  • frame
Repeat Integer Yes 1

The number of times that the SEI is repeatedly inserted. A value of -1 indicates that the SEI is repeatedly inserted for an unlimited number of times until the end of live streaming.

StreamName String Yes StreamName

The name of the live stream.

Note The value of this parameter must be the name of the source stream. The SEI is inserted to the live stream when the live stream is transcoded.
Text String Yes firsttxt

The SEI text. The SEI text can be up to 4,000 bytes in length.

Response parameters

Parameter Type Example Description
RequestId String 16A96B9A-F203-4E*****43-CB92E68F4CD8

The ID of the request.


Sample requests

http(s):// Action=AddTrancodeSEI
&<Common request parameters>

Sample success responses

XML format


JSON format


Error codes

For a list of error codes, visit the API Error Center.