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
- Create an output stream target
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.
- Mock serverhttps://developer.wowza.com/_mock/docs/wowza-video/api/video/v1.11/openapi/transcoders/{transcoder_id}/outputs/{id}
- https://api.video.wowza.com/api/v1.11/transcoders/{transcoder_id}/outputs/{id}
- curl
- Java
- Python
- JavaScript
curl -i -X DELETE \
'https://developer.wowza.com/_mock/docs/wowza-video/api/video/v1.11/openapi/transcoders/{transcoder_id}/outputs/{id}'Provide the details of the output stream target to create in the body of the request.
The unique alphanumeric string that identifies the stream target.
Specifies whether the output stream target uses the stream target's primary or backup URL.
When both the primary and backup URLs are used, Wowza Video sends the stream to both URLs, allowing a provider or 3rd party CDN to improve reliability and prevent playback disruption. If you want to use both URLs, make sure you add the stream target to the output rendition twice, once with use_stream_target_backup_url as false (the default) and once with use_stream_target_backup_url as true.
Example: "use_stream_target_backup_url": true
- Mock serverhttps://developer.wowza.com/_mock/docs/wowza-video/api/video/v1.11/openapi/transcoders/{transcoder_id}/outputs/{output_id}/output_stream_targets
- https://api.video.wowza.com/api/v1.11/transcoders/{transcoder_id}/outputs/{output_id}/output_stream_targets
- curl
- Java
- Python
- JavaScript
curl -i -X POST \
'https://developer.wowza.com/_mock/docs/wowza-video/api/video/v1.11/openapi/transcoders/{transcoder_id}/outputs/{output_id}/output_stream_targets' \
-H 'Content-Type: application/json' \
-d '{
"output_stream_target": {
"stream_target_id": "1234abcd",
"use_stream_target_backup_url": true
}
}'Success
The date and time that the output stream target was created.
The unique alphanumeric string that identifies the output stream target.
The unique alphanumeric string that identifies the stream target.
The date and time that the output stream target was updated.
{ "output_stream_target": { "id": "4Gp5rF23", "stream_target_id": "QvvJYJjk", "use_stream_target_backup_url": true, "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
- https://api.video.wowza.com/api/v1.11/transcoders/{transcoder_id}/outputs/{output_id}/output_stream_targets
- curl
- Java
- Python
- JavaScript
curl -i -X GET \
'https://developer.wowza.com/_mock/docs/wowza-video/api/video/v1.11/openapi/transcoders/{transcoder_id}/outputs/{output_id}/output_stream_targets'Success
The date and time that the output stream target was created.
The unique alphanumeric string that identifies the output stream target.
The unique alphanumeric string that identifies the stream target.
The date and time that the output stream target was updated.
{ "output_stream_targets": [ { … }, { … } ] }
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.