getTranscodeStream
Returns a transcoded media stream.
Categories:
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
| Parameter | Req. | OpenS. | Default | Comment |
|---|---|---|---|---|
songId | Yes | The ID of the track to transcode. | ||
offset | No | 0 | The time offset in seconds from which to start transcoding. | |
transcodeParams | Yes | Server-specific transcoding parameters, obtained from the getTranscodeDecision endpoint. The value is unique and already properly escaped. |
Example
http://your-server/rest/getTranscodeStream.view?songId=123&offset=0¶meters=...&u=demo&p=demo&v=1.16.1&c=AwesomeClientName&f=jsonResult
The raw transcoded media stream. In case of an error, a standard HTTP error code is returned with a descriptive message.