Operations related to live streams. A live stream is a single, linear video broadcast. You broadcast a live stream by receiving encoded source video into the Wowza Video service and letting Wowza Video transcode the stream and deliver it to viewers. A live stream is essentially a one-stop method for creating a transcoder, output renditions, stream targets, and associated players.
- Reference
- REST API
- Configure a property for a transcoder
Wowza Video REST API Reference Documentation (v1.11)
API lifecycle phase: Supported 2
| Want to take the API for a test run? All you'll need is a Wowza Video subscription, or free trial, for the API access token. Then, fork our collection in Postman and you'll be making calls to our REST API in minutes! See Trial the Wowza Video REST API using Postman for more information. |
This reference documentation provides details about the operations, parameters, and request and reponse schemas for every resource and endpoint in the Wowza Video REST API. Samples appear in the right column. Sample requests are presented in cURL (Shell) and JavaScript; some samples also include just the JSON object. Response samples are all JSON. Examples in cURL use environment variables so you can easily copy and paste them. To learn more, see Using cURL.
Reference documentation is available for every version of the API. Use the Version menu at the top of the page to access the reference doc for a different version of the API.
The unique alphanumeric string that identifies the stream target.
Tip: If you're using both the primary and backup URL for a stream target, send output_stream_target_id in the path instead. output_stream_target_id was returned when you added the stream target to the ouput rendition. This allows you to differentiate between the primary and backup URL versions of the stream target.
- Mock serverhttps://developer.wowza.com/_mock/docs/wowza-video/api/video/v1.11/openapi/transcoders/{transcoder_id}/outputs/{output_id}/output_stream_targets/{stream_target_id}/restart
- https://api.video.wowza.com/api/v1.11/transcoders/{transcoder_id}/outputs/{output_id}/output_stream_targets/{stream_target_id}/restart
- curl
- Java
- Python
- JavaScript
curl -i -X PUT \
'https://developer.wowza.com/_mock/docs/wowza-video/api/video/v1.11/openapi/transcoders/{transcoder_id}/outputs/{output_id}/output_stream_targets/{stream_target_id}/restart'{ "stream_target": { "state": "restarted" } }
Request
This operation configures a single property or an array of properties for a transcoder.
For a comprehensive resource describing the use of advanced properties, see Set advanced properties with the Wowza Video REST API.
Provide the details of the property or properties to configure in the body of the request. You must include either property or properties in the request as the root object.
The single property to configure. The property configuration consists of a key/value pair and the section of the transcoder configuration table the key/value pair is stored in.
The key of the property.
The following table lists the available property keys and what transcoder table section they're stored in.
| Section | Valid keys for the section |
|---|---|
| asset_management |
Note: You need a Wowza Video subscription to access Asset Management. |
| cupertino |
|
| ezdrm |
|
| file |
|
| output |
|
| recording |
|
| rtmp |
|
| rtsp |
|
| vod_stream |
Note: VOD streams require a Fastly stream target with HLS as a delivery protocol. |
The section of the transcoder configuration table that contains the property.
The value of the property.
The following table provides information about valid values for each property key.
| Key(s) | Values for the key |
|---|---|
| aes128Host | Specify the URL that devices will use to fetch the key to decrypt the stream. |
| aes128Secret | Specify the 16-byte key that will be used to decrypt the stream. The key must be 32 characters in length and can only contain hex characters (a-f, A-F, 0-9). The key must match the key returned by the aes128Host. |
| enabled | Specify true or false. Used in the asset_mangement section. |
| fitMode | Use letterbox, fit-width, fit-height, crop, stretch, or match-source. The default is fit-height. |
| maxRtcpWaitTime | Use a whole number, expressed as a string or an integer. The default is 2000 (ms). |
| record | Use an output ID associated with the transcoder. |
| rtpDePacketizerPacketSorterBufferTime | Use an integer, expressed as a string or an integer. The default is 500 (ms). |
| rtpDePacketizerPacketSorterFlushTime | Use an integer, expressed as a string or an integer. The default is 10 (ms). |
| rtpDePacketizerWrapper | Use the string RTPDePacketizerWrapperPacketSorter. |
| rtpTransportMode | Use the string udp or interleave (the default). |
| rtspValidationFrequency | Use a whole number, expressed as a string or an integer. The default is 15000 (ms). |
| start_streaming_at | Specify the month, day, year, and time of day that the file should start streaming, expressed as a string. Express the value by using the ISO 8601 standard of YYYY-MM-DDTHH:MM:SSZ where HH is a 24-hour clock in UTC. |
- **username**
- **password**
- **fairplayAssetId**
- **wideVineContentId**
- **avSyncMethod**
- **debugRtspSession**
- **mp4**
- **repeat**
- **rtspFilterUnknownTracks**
- **rtpIgnoreSpropParameterSets**
- **rtpIgnoreProfileLevelId**
- **hls**
- **live2vod**
- Mock serverhttps://developer.wowza.com/_mock/docs/wowza-video/api/video/v1.11/openapi/transcoders/{transcoder_id}/properties
- https://api.video.wowza.com/api/v1.11/transcoders/{transcoder_id}/properties
- curl
- Java
- Python
- JavaScript
- property
- properties
curl -i -X POST \
'https://developer.wowza.com/_mock/docs/wowza-video/api/video/v1.11/openapi/transcoders/{transcoder_id}/properties' \
-H 'Content-Type: application/json' \
-d '{
"property": {
"key": "rtpIgnoreProfileLevelId",
"section": "rtsp",
"value": "true"
}
}'Success
A single property. The property configuration consists of a key/value pair and the section of the transcoder configuration table the key/value pair is stored in.
The key of the property.
The following table lists the available property keys and what transcoder table section they're stored in.
| Section | Valid keys for the section |
|---|---|
| asset_management |
Note: You need a Wowza Video subscription to access Asset Management. |
| cupertino |
|
| ezdrm |
|
| file |
|
| output |
|
| recording |
|
| rtmp |
|
| rtsp |
|
| vod_stream |
Note: VOD streams require a Fastly stream target with HLS as a delivery protocol. |
The section of the transcoder configuration table that contains the property.
The value of the property.
The following table provides information about valid values for each property key.
| Key(s) | Values for the key |
|---|---|
| aes128Host | Specify the URL that devices will use to fetch the key to decrypt the stream. |
| aes128Secret | Specify the 16-byte key that will be used to decrypt the stream. The key must be 32 characters in length and can only contain hex characters (a-f, A-F, 0-9). The key must match the key returned by the aes128Host. |
| enabled | Specify true or false. Used in the asset_mangement section. |
| fitMode | Use letterbox, fit-width, fit-height, crop, stretch, or match-source. The default is fit-height. |
| maxRtcpWaitTime | Use a whole number, expressed as a string or an integer. The default is 2000 (ms). |
| record | Use an output ID associated with the transcoder. |
| rtpDePacketizerPacketSorterBufferTime | Use an integer, expressed as a string or an integer. The default is 500 (ms). |
| rtpDePacketizerPacketSorterFlushTime | Use an integer, expressed as a string or an integer. The default is 10 (ms). |
| rtpDePacketizerWrapper | Use the string RTPDePacketizerWrapperPacketSorter. |
| rtpTransportMode | Use the string udp or interleave (the default). |
| rtspValidationFrequency | Use a whole number, expressed as a string or an integer. The default is 15000 (ms). |
| start_streaming_at | Specify the month, day, year, and time of day that the file should start streaming, expressed as a string. Express the value by using the ISO 8601 standard of YYYY-MM-DDTHH:MM:SSZ where HH is a 24-hour clock in UTC. |
- **username**
- **password**
- **fairplayAssetId**
- **wideVineContentId**
- **avSyncMethod**
- **debugRtspSession**
- **mp4**
- **repeat**
- **rtspFilterUnknownTracks**
- **rtpIgnoreSpropParameterSets**
- **rtpIgnoreProfileLevelId**
- **hls**
- **live2vod**
- property
- properties
{ "property": [ { … } ] }
- Mock serverhttps://developer.wowza.com/_mock/docs/wowza-video/api/video/v1.11/openapi/transcoders/{transcoder_id}/properties
- https://api.video.wowza.com/api/v1.11/transcoders/{transcoder_id}/properties
- curl
- Java
- Python
- JavaScript
curl -i -X GET \
'https://developer.wowza.com/_mock/docs/wowza-video/api/video/v1.11/openapi/transcoders/{transcoder_id}/properties'{ "properties": [ { … }, { … } ] }
Operations related to recordings, which are created through the /live_streams or /transcoders resources. The Wowza Video service can create MP4 recordings of your live streams and transcoded output. Recordings can be downloaded and saved locally. They're based on the highest-bitrate output rendition that Wowza Video generates from your video source. See About recordings to learn more.
Operations related to schedules. Schedules allow you to automatically start or stop a live stream or transcoder at a predetermined date and time. You can configure a schedule to start and/or stop a live stream or transcoder just once, or you can configure it to repeat the behavior on a regular basis. See About schedules to learn more.
Operations related to video on demand (VOD) streams, which are created through the /live_streams or /transcoders resources. A VOD stream is a recording of a live stream that viewers can replay at a later date. After the broadcast is over and the live stream or transcoder is stopped, Wowza Video creates the VOD stream and generates a playback URL. See About VOD Streams to learn more.
Operations related to Real-Time Streaming at Scale. If your audience is fewer than 300 viewers or you want to deliver a stream in near real time alongside other delivery protocols, use our WebRTC solution.
To enable and purchase capacity for Real-Time Streaming at Scale for your account and access the /real_time operations, contact 720.279.8163 or schedule a call.