getTranscodeStream

Returns a transcoded media stream.

http://your-server/rest/getTranscodeStream

Returns a transcoded media stream. Note: Clients should not try to reconstruct the transcodeParams. Instead, they must use the transcodeParams provided in the response of the getTranscodeDecision endpoint.

Parameters

ParameterReq.OpenS.DefaultComment
mediaIdYesThe ID of the media to be transcoded.
mediaTypeYesEither song or podcast so the server knows what the mediaId is referring to.
offsetNo0The time offset in seconds from which to start transcoding.
transcodeParamsYesServer-specific transcoding parameters, obtained from the property transcodeParams of the result of the endpoint getTranscodeDecision. The value is unique and already properly escaped.

Example

Result

The raw transcoded media stream. In case of an error, a standard HTTP error code is returned with a descriptive message.

Last modified December 1, 2025: Add new transcoding extension (#168) (04d932e)