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
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.
Provide the details of the player to update in the body of the request.
A clock that appears in the player before the event and counts down to the start of the stream. Specify true to display the countdown clock. The default is false.
Example: "countdown": true
The date and time that the event starts, used by the countdown clock. Enter YYYY-MM-DD HH:MM:SS where HH is a 24-hour clock in UTC.
Example: "countdown_at": "2020-02-01T17:00:00.000Z"
A Base64-encoded string representation of a GIF, JPEG, or PNG logo file that appears partially transparent in a corner of the player throughout playback. Logo file must be 2.5 MB or smaller.
Example: "logo_image": "[Base64-encoded string representation of an image]"
The corner of the player in which you want the player logo to appear. The default is top-left.
Example: "logo_position": "top-left"
If true, removes the logo file from the output. The default is false.
Example: "remove_logo_image": true
If true, removes the poster image from the output. The default is false.
Example: "remove_video_poster_image": true
A player whose size adjusts according to the device on which it's being viewed. If true, creates a responsive player. If false, specify a width.
Example: "responsive": true
The player you want to use.
Wowza Video subscribers
Wowza Flowplayer (wowza_flowplayer) is the only valid option. You're a subscriber if you have access to Asset Management and Historic and Live Analytics in the user interface.
The Wowza Flowplayer is an easy-to-use, commercial grade player designed for builders and developers. It provides HTML5, HLS, and MPEG-DASH playback and plays streams on any browser and device. It can be customized if you embed it in your site.
Note: If you update a live stream from original_html5 or wowza_player to wowza_flowplayer, it cannot be changed later.
Other subscribers
original _html5 and wowza_player are the only valid options and original_html5 is the default. original_html5 provides HTML5 playback and falls back to Flash on older browsers. wowza_player requires that target_delivery_protocol be hls-https and closed_caption_type be none.
Example: "type": "wowza_flowplayer"
A Base64-encoded string representation of a GIF, JPEG, or PNG poster image that appears in the player before the stream begins. Poster image files must be 2.5 MB or smaller.
Example: "video_poster_image": "[Base64-encoded string representation of an image]"
- Mock serverhttps://developer.wowza.com/_mock/docs/wowza-video/api/video/v1.11/openapi/players/{id}
- https://api.video.wowza.com/api/v1.11/players/{id}
- curl
- Java
- Python
- JavaScript
curl -i -X PATCH \
'https://developer.wowza.com/_mock/docs/wowza-video/api/video/v1.11/openapi/players/{id}' \
-H 'Content-Type: application/json' \
-d '{
"player": {
"hosted_page": {
"title": "My Updated Hosted Page"
},
"responsive": true
}
}'Success
Configuration of the player customizations.
If you're using the 1.11 API with the new Wowza Video user interface, the player fields are ignored. The default player configuration is used instead. Create and change player configurations in the user interface.
A clock that appears in the player before the event and counts down to the start of the stream. Specify true to display the countdown clock. The default is false.
The date and time that the event starts, used by the countdown clock. Enter YYYY-MM-DD HH:MM:SS where HH is a 24-hour clock in UTC.
The date and time that the player was created.
The HTML code that can be used in an external webpage to host the Wowza Flowplayer.
The address that can be used to configure playback of the stream using the HLS protocol.
The path to a GIF, JPEG, or PNG logo file that appears partially transparent in a corner of the player throughout playback. Logo file must be 2.5 MB or smaller.
The corner of the player in which you want the player logo to appear. The default is top-left.
A player whose size adjusts according to the device on which it's being viewed. If true, creates a responsive player. If false, specify a width.
The unique alphanumeric string that identifies the transcoder.
The player you want to use.
Wowza Video subscribers
Wowza Flowplayer (wowza_flowplayer) is the only valid option. You're a subscriber if you have access to Asset Management and Historic and Live Analytics in the user interface.
The Wowza Flowplayer is an easy-to-use, commercial grade player designed for builders and developers. It provides HTML5, HLS, and MPEG-DASH playback and plays streams on any browser and device. It can be customized if you embed it in your site.
Other subscribers
original _html5 and wowza_player are the only valid options and original_html5 is the default. original_html5 provides HTML5 playback and falls back to Flash on older browsers. wowza_player requires that target_delivery_protocol be hls-https and closed_caption_type be none.
The date and time that the player was updated.
The path to a GIF, JPEG, or PNG poster image that appears in the player before the stream begins. Poster image files must be 2.5 MB or smaller.
{ "player": { "customizations": { … }, "countdown": true, "countdown_at": "2020-02-01T17:00:00.000Z", "created_at": "2020-01-29T17:16:21.968Z", "embed_code": null, "hls_playback_url": "https://wowzasubdomain.wowza.com/1/TWhoL3BiZnJXMFhmNzZVN3JrZDAwUT09/ZmYxSXRrTERrUlk9/hls/live/playlist.m3u8", "hosted_page": { … }, "id": "e8dk5bf6", "logo_image_url": "https://prod.s3.amazonaws.com/uploads/player/logo_image/23424/5bad28.jpg", "logo_position": "top-right", "plugins": { … }, "responsive": false, "transcoder_id": "6Qbymbbq", "type": "wowza_flowplayer", "updated_at": "2020-01-31T16:08:26.990Z", "video_poster_image_url": "https://prod.s3.amazonaws.com/uploads/player/video_poster_image/23424/5bad28.jpg", "width": 640 } }
- Mock serverhttps://developer.wowza.com/_mock/docs/wowza-video/api/video/v1.11/openapi/players/{id}/rebuild
- https://api.video.wowza.com/api/v1.11/players/{id}/rebuild
- curl
- Java
- Python
- JavaScript
curl -i -X POST \
'https://developer.wowza.com/_mock/docs/wowza-video/api/video/v1.11/openapi/players/{id}/rebuild'{ "player": { "state": "requested" } }
- Mock serverhttps://developer.wowza.com/_mock/docs/wowza-video/api/video/v1.11/openapi/players/{id}/state
- https://api.video.wowza.com/api/v1.11/players/{id}/state
- curl
- Java
- Python
- JavaScript
curl -i -X GET \
'https://developer.wowza.com/_mock/docs/wowza-video/api/video/v1.11/openapi/players/{id}/state'{ "player": { "state": "activated" } }
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.