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.
This operation creates a live stream.
Provide the details of the live stream to create in the body of the request.
required | object (live_stream) | ||||||||||||||||||||||||||||||||||||||||||||||
|
Success
required | object (live_stream) | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Unauthorized
Unprocessable Entity
{- "live_stream": {
- "aspect_ratio_height": 720,
- "aspect_ratio_width": 1280,
- "billing_mode": "pay_as_you_go",
- "broadcast_location": "us_west_oregon",
- "encoder": "other_webrtc",
- "name": "My Live Stream",
- "transcoder_type": "transcoded"
}
}
{- "live_stream": {
- "aspect_ratio_height": 1080,
- "aspect_ratio_width": 1920,
- "billing_mode": "pay_as_you_go",
- "broadcast_location": "us_west_california",
- "closed_caption_type": "cea",
- "connection_code": "0e15cb",
- "connection_code_expires_at": "2020-11-30T17:16:21.956Z",
- "created_at": "2020-01-29T17:16:21.956Z",
- "delivery_method": "push",
- "delivery_protocols": [
- "rtmp",
- "rtsp",
- "wowz",
- "webrtc"
], - "direct_playback_urls": {
- "rtmp": [
- {
- "name": "source",
- "url": "rtmp://abc123.entrypoint.video.wowza.com/app-B8P6K226/wxyz6789"
}, - {
- "name": "webrtc",
- "output_id": "dcxq5q6c",
- "url": "rtmp://abc123.entrypoint.video.wowza.com/app-B8P6K226/wxyz6789_stream1"
}, - {
- "name": "V:1280x720+A:128K",
- "output_id": "0g116zkf",
- "url": "rtmp://abc123.entrypoint.video.wowza.com/app-B8P6K226/wxyz6789_stream2"
}, - {
- "name": "V:854x480+A:128K",
- "output_id": "4qqkwndt",
- "url": "rtmp://abc123.entrypoint.video.wowza.com/app-B8P6K226/wxyz6789_stream3"
}, - {
- "name": "V:640x360+A:128K",
- "output_id": "0pv8djpg",
- "url": "rtmp://abc123.entrypoint.video.wowza.com/app-B8P6K226/wxyz6789_stream4"
}, - {
- "name": "V:512x288+A:128K",
- "output_id": "b09xrxjf",
- "url": "rtmp://abc123.entrypoint.video.wowza.com/app-B8P6K226/wxyz6789_stream5"
}, - {
- "name": "V:320x180+A:128K",
- "output_id": "bvkh2nsz",
- "url": "rtmp://abc123.entrypoint.video.wowza.com/app-B8P6K226/wxyz6789_stream6"
}
], - "rtsp": [
- {
- "name": "source",
- "url": "rtsp://abc123.entrypoint.video.wowza.com:1935/app-B8P6K226/wxyz6789"
}, - {
- "name": "webrtc",
- "output_id": "dcxq5q6c",
- "url": "rtsp://abc123.entrypoint.video.wowza.com:1935/app-B8P6K226/wxyz6789_stream1"
}, - {
- "name": "V:1280x720+A:128K",
- "output_id": "0g116zkf",
- "url": "rtsp://abc123.entrypoint.video.wowza.com:1935/app-B8P6K226/wxyz6789_stream2"
}, - {
- "name": "V:854x480+A:128K",
- "output_id": "4qqkwndt",
- "url": "rtsp://abc123.entrypoint.video.wowza.com:1935/app-B8P6K226/wxyz6789_stream3"
}, - {
- "name": "V:640x360+A:128K",
- "output_id": "0pv8djpg",
- "url": "rtsp://abc123.entrypoint.video.wowza.com:1935/app-B8P6K226/wxyz6789_stream4"
}, - {
- "name": "V:512x288+A:128K",
- "output_id": "b09xrxjf",
- "url": "rtsp://abc123.entrypoint.video.wowza.com:1935/app-B8P6K226/wxyz6789_stream5"
}, - {
- "name": "V:320x180+A:128K",
- "output_id": "bvkh2nsz",
- "url": "rtsp://abc123.entrypoint.video.wowza.com:1935/app-B8P6K226/wxyz6789_stream6"
}
], - "wowz": [
- {
- "name": "source",
- "url": "wowz://abc123.entrypoint.video.wowza.com:1935/app-B8P6K226/wxyz6789"
}, - {
- "name": "webrtc",
- "output_id": "dcxq5q6c",
- "url": "wowz://abc123.entrypoint.video.wowza.com:1935/app-B8P6K226/wxyz6789_stream1"
}, - {
- "name": "V:1280x720+A:128K",
- "output_id": "0g116zkf",
- "url": "wowz://abc123.entrypoint.video.wowza.com:1935/app-B8P6K226/wxyz6789_stream2"
}, - {
- "name": "V:854x480+A:128K",
- "output_id": "4qqkwndt",
- "url": "wowz://abc123.entrypoint.video.wowza.com:1935/app-B8P6K226/wxyz6789_stream3"
}, - {
- "name": "V:640x360+A:128K",
- "output_id": "0pv8djpg",
- "url": "wowz://abc123.entrypoint.video.wowza.com:1935/app-B8P6K226/wxyz6789_stream4"
}, - {
- "name": "V:512x288+A:128K",
- "output_id": "b09xrxjf",
- "url": "wowz://abc123.entrypoint.video.wowza.com:1935/app-B8P6K226/wxyz6789_stream5"
}, - {
- "name": "V:320x180+A:128K",
- "output_id": "bvkh2nsz",
- "url": "wowz://abc123.entrypoint.video.wowza.com:1935/app-B8P6K226/wxyz6789_stream6"
}
], - "webrtc": [
- {
- "name": "source",
- "url": "wss://abc123.entrypoint.video.wowza.com/webrtc-session.json",
- "application_name": "app-B8P6K226",
- "stream_name": "1722aead"
}, - {
- "name": "webrtc",
- "output_id": "dcxq5q6c",
- "url": "wss://abc123.entrypoint.video.wowza.com/webrtc-session.json",
- "application_name": "app-B8P6K226",
- "stream_name": "1722aead_stream1"
}, - {
- "name": "V:1280x720+A:128K",
- "output_id": "0g116zkf",
- "url": "wss://abc123.entrypoint.video.wowza.com/webrtc-session.json",
- "application_name": "app-B8P6K226",
- "stream_name": "1722aead_stream2"
}, - {
- "name": "V:854x480+A:128K",
- "output_id": "4qqkwndt",
- "url": "wss://abc123.entrypoint.video.wowza.com/webrtc-session.json",
- "application_name": "app-B8P6K226",
- "stream_name": "1722aead_stream3"
}, - {
- "name": "V:640x360+A:128K",
- "output_id": "0pv8djpg",
- "url": "wss://abc123.entrypoint.video.wowza.com/webrtc-session.json",
- "application_name": "app-B8P6K226",
- "stream_name": "1722aead_stream4"
}, - {
- "name": "V:512x288+A:128K",
- "output_id": "b09xrxjf",
- "url": "wss://abc123.entrypoint.video.wowza.com/webrtc-session.json",
- "application_name": "app-B8P6K226",
- "stream_name": "1722aead_stream5"
}, - {
- "name": "V:320x180+A:128K",
- "output_id": "bvkh2nsz",
- "url": "wss://abc123.entrypoint.video.wowza.com/webrtc-session.json",
- "application_name": "app-B8P6K226",
- "stream_name": "1722aead_stream6"
}
]
}, - "encoder": "other_rtmp",
- "hosted_page": {
- "enabled": true,
- "description": "My Hosted Page Description",
- "logo_image_url": "https://prod.s3.amazonaws.com/uploads/player/hosted_page_logo_image/23424/5bad28.jpg",
- "sharing_icons": true,
- "title": "My Hosted Page",
}, - "id": "wdjfqvsv",
- "name": "My PAYG Transcoded WSE Live Stream",
- "playback_stream_name": "wxyz6789",
- "player": {
- "customizations": {
- "play_icon": "solid",
- "thin_timeline": false,
- "drag_handle": false,
- "volume": true,
- "mute": true,
- "fullscreen": true,
- "show_player_title": false,
- "color": "4d4d4d"
}, - "countdown": true,
- "countdown_at": "2020-02-01T17:00:00.000Z",
- "embed_code": null,
- "id": "kwb6pwnv",
- "logo_position": "top-right",
- "plugins": {
- "airplay": false,
- "chromecast": false
}, - "responsive": false,
- "type": "wowza_flowplayer",
- "video_poster_image_url": "https://prod.s3.amazonaws.com/uploads/player/video_poster_image/23424/5bad28.jpg",
- "width": 640
}, - "recording": true,
- "reference_id": "mySystemID_01",
- "save_asset": false,
- "stream_source_id": "5skrfpyf",
- "stream_targets": [
- {
- "id": "klbmg2h8"
}, - {
- "id": "bnjtdmmc"
}
], - "target_delivery_protocol": "hls-https",
- "transcoder_type": "transcoded",
- "updated_at": "2020-01-31T06:12:39.956Z",
- "use_stream_source": true,
- "vod_stream": true
}
}
This operation shows limited details for all of your live streams. For detailed information, fetch a single live stream.
filter | string Restricts the data that gets returned by filtering on one or more values associated with a field. Construct a filter using a two-part expression that specifies the field on which to filter and the logic to use to filter. Filters use a zero-based index. For valid filter operators and filter fields, see How to get filtered query results with the Wowza Video REST API. Example: filter[0][field]=state&filter[0][eq]=stopped |
page | integer Returns a paginated view of results from the HTTP request. Specify a positive integer to indicate which page of the results should be displayed. The default is 1. For more information and examples, see Get paginated query results with the Wowza Video REST API. |
per_page | integer For use with the page parameter. Indicates how many records should be included in a page of results. A valid value is any positive integer. The default and maximum value is 1000. |
Success
Unauthorized
// Using cURL curl -H "Authorization: Bearer ${WV_JWT}" \ -H "Content-Type: application/json" \ -X "GET" \ "${WV_HOST}/api/v1.11/live_streams"
{- "live_streams": [
- {
- "id": "wdjfqvsv",
- "name": "My PAYG Transcoded WSE Live Stream",
- "created_at": "2020-01-29T17:16:21.849Z",
- "updated_at": "2020-01-31T16:06:47.849Z"
}, - {
- "id": "KyxWKtHQ",
- "name": "My 24x7 Passthrough GoCoder Live Stream",
- "created_at": "2020-01-29T17:16:21.849Z",
- "updated_at": "2020-01-31T02:26:05.849Z"
}, - {
- "id": "Ly40ZDSg",
- "name": "My PAYG Transcoded Teradek Cube Live Stream",
- "created_at": "2020-01-29T17:16:21.849Z",
- "updated_at": "2020-01-30T18:13:18.849Z"
}
]
}
This operation shows the details of a specific live stream.
Success
required | object (live_stream) | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Unauthorized
Forbidden
Not Found
Gone
// Using cURL curl -H "Authorization: Bearer ${WV_JWT}" \ -H "Content-Type: application/json" \ -X "GET" \ "${WV_HOST}/api/v1.11/live_streams/2adffc17"
{- "live_stream": {
- "aspect_ratio_height": 1080,
- "aspect_ratio_width": 1920,
- "billing_mode": "pay_as_you_go",
- "broadcast_location": "us_west_california",
- "closed_caption_type": "cea",
- "connection_code": "0e15cb",
- "connection_code_expires_at": "2020-11-30T17:16:21.956Z",
- "created_at": "2020-01-29T17:16:21.956Z",
- "delivery_method": "push",
- "delivery_protocols": [
- "rtmp",
- "rtsp",
- "wowz",
- "webrtc"
], - "direct_playback_urls": {
- "rtmp": [
- {
- "name": "source",
- "url": "rtmp://abc123.entrypoint.video.wowza.com/app-B8P6K226/wxyz6789"
}, - {
- "name": "webrtc",
- "output_id": "dcxq5q6c",
- "url": "rtmp://abc123.entrypoint.video.wowza.com/app-B8P6K226/wxyz6789_stream1"
}, - {
- "name": "V:1280x720+A:128K",
- "output_id": "0g116zkf",
- "url": "rtmp://abc123.entrypoint.video.wowza.com/app-B8P6K226/wxyz6789_stream2"
}, - {
- "name": "V:854x480+A:128K",
- "output_id": "4qqkwndt",
- "url": "rtmp://abc123.entrypoint.video.wowza.com/app-B8P6K226/wxyz6789_stream3"
}, - {
- "name": "V:640x360+A:128K",
- "output_id": "0pv8djpg",
- "url": "rtmp://abc123.entrypoint.video.wowza.com/app-B8P6K226/wxyz6789_stream4"
}, - {
- "name": "V:512x288+A:128K",
- "output_id": "b09xrxjf",
- "url": "rtmp://abc123.entrypoint.video.wowza.com/app-B8P6K226/wxyz6789_stream5"
}, - {
- "name": "V:320x180+A:128K",
- "output_id": "bvkh2nsz",
- "url": "rtmp://abc123.entrypoint.video.wowza.com/app-B8P6K226/wxyz6789_stream6"
}
], - "rtsp": [
- {
- "name": "source",
- "url": "rtsp://abc123.entrypoint.video.wowza.com:1935/app-B8P6K226/wxyz6789"
}, - {
- "name": "webrtc",
- "output_id": "dcxq5q6c",
- "url": "rtsp://abc123.entrypoint.video.wowza.com:1935/app-B8P6K226/wxyz6789_stream1"
}, - {
- "name": "V:1280x720+A:128K",
- "output_id": "0g116zkf",
- "url": "rtsp://abc123.entrypoint.video.wowza.com:1935/app-B8P6K226/wxyz6789_stream2"
}, - {
- "name": "V:854x480+A:128K",
- "output_id": "4qqkwndt",
- "url": "rtsp://abc123.entrypoint.video.wowza.com:1935/app-B8P6K226/wxyz6789_stream3"
}, - {
- "name": "V:640x360+A:128K",
- "output_id": "0pv8djpg",
- "url": "rtsp://abc123.entrypoint.video.wowza.com:1935/app-B8P6K226/wxyz6789_stream4"
}, - {
- "name": "V:512x288+A:128K",
- "output_id": "b09xrxjf",
- "url": "rtsp://abc123.entrypoint.video.wowza.com:1935/app-B8P6K226/wxyz6789_stream5"
}, - {
- "name": "V:320x180+A:128K",
- "output_id": "bvkh2nsz",
- "url": "rtsp://abc123.entrypoint.video.wowza.com:1935/app-B8P6K226/wxyz6789_stream6"
}
], - "wowz": [
- {
- "name": "source",
- "url": "wowz://abc123.entrypoint.video.wowza.com:1935/app-B8P6K226/wxyz6789"
}, - {
- "name": "webrtc",
- "output_id": "dcxq5q6c",
- "url": "wowz://abc123.entrypoint.video.wowza.com:1935/app-B8P6K226/wxyz6789_stream1"
}, - {
- "name": "V:1280x720+A:128K",
- "output_id": "0g116zkf",
- "url": "wowz://abc123.entrypoint.video.wowza.com:1935/app-B8P6K226/wxyz6789_stream2"
}, - {
- "name": "V:854x480+A:128K",
- "output_id": "4qqkwndt",
- "url": "wowz://abc123.entrypoint.video.wowza.com:1935/app-B8P6K226/wxyz6789_stream3"
}, - {
- "name": "V:640x360+A:128K",
- "output_id": "0pv8djpg",
- "url": "wowz://abc123.entrypoint.video.wowza.com:1935/app-B8P6K226/wxyz6789_stream4"
}, - {
- "name": "V:512x288+A:128K",
- "output_id": "b09xrxjf",
- "url": "wowz://abc123.entrypoint.video.wowza.com:1935/app-B8P6K226/wxyz6789_stream5"
}, - {
- "name": "V:320x180+A:128K",
- "output_id": "bvkh2nsz",
- "url": "wowz://abc123.entrypoint.video.wowza.com:1935/app-B8P6K226/wxyz6789_stream6"
}
], - "webrtc": [
- {
- "name": "source",
- "url": "wss://abc123.entrypoint.video.wowza.com/webrtc-session.json",
- "application_name": "app-B8P6K226",
- "stream_name": "1722aead"
}, - {
- "name": "webrtc",
- "output_id": "dcxq5q6c",
- "url": "wss://abc123.entrypoint.video.wowza.com/webrtc-session.json",
- "application_name": "app-B8P6K226",
- "stream_name": "1722aead_stream1"
}, - {
- "name": "V:1280x720+A:128K",
- "output_id": "0g116zkf",
- "url": "wss://abc123.entrypoint.video.wowza.com/webrtc-session.json",
- "application_name": "app-B8P6K226",
- "stream_name": "1722aead_stream2"
}, - {
- "name": "V:854x480+A:128K",
- "output_id": "4qqkwndt",
- "url": "wss://abc123.entrypoint.video.wowza.com/webrtc-session.json",
- "application_name": "app-B8P6K226",
- "stream_name": "1722aead_stream3"
}, - {
- "name": "V:640x360+A:128K",
- "output_id": "0pv8djpg",
- "url": "wss://abc123.entrypoint.video.wowza.com/webrtc-session.json",
- "application_name": "app-B8P6K226",
- "stream_name": "1722aead_stream4"
}, - {
- "name": "V:512x288+A:128K",
- "output_id": "b09xrxjf",
- "url": "wss://abc123.entrypoint.video.wowza.com/webrtc-session.json",
- "application_name": "app-B8P6K226",
- "stream_name": "1722aead_stream5"
}, - {
- "name": "V:320x180+A:128K",
- "output_id": "bvkh2nsz",
- "url": "wss://abc123.entrypoint.video.wowza.com/webrtc-session.json",
- "application_name": "app-B8P6K226",
- "stream_name": "1722aead_stream6"
}
]
}, - "encoder": "other_rtmp",
- "hosted_page": {
- "enabled": true,
- "description": "My Hosted Page Description",
- "logo_image_url": "https://prod.s3.amazonaws.com/uploads/player/hosted_page_logo_image/23424/5bad28.jpg",
- "sharing_icons": true,
- "title": "My Hosted Page",
}, - "id": "wdjfqvsv",
- "name": "My PAYG Transcoded WSE Live Stream",
- "playback_stream_name": "wxyz6789",
- "player": {
- "customizations": {
- "play_icon": "solid",
- "thin_timeline": false,
- "drag_handle": false,
- "volume": true,
- "mute": true,
- "fullscreen": true,
- "show_player_title": false,
- "color": "4d4d4d"
}, - "countdown": true,
- "countdown_at": "2020-02-01T17:00:00.000Z",
- "embed_code": null,
- "id": "kwb6pwnv",
- "logo_position": "top-right",
- "plugins": {
- "airplay": false,
- "chromecast": false
}, - "responsive": false,
- "type": "wowza_flowplayer",
- "video_poster_image_url": "https://prod.s3.amazonaws.com/uploads/player/video_poster_image/23424/5bad28.jpg",
- "width": 640
}, - "recording": true,
- "reference_id": "mySystemID_01",
- "save_asset": false,
- "stream_source_id": "5skrfpyf",
- "stream_targets": [
- {
- "id": "klbmg2h8"
}, - {
- "id": "bnjtdmmc"
}
], - "target_delivery_protocol": "hls-https",
- "transcoder_type": "transcoded",
- "updated_at": "2020-01-31T06:12:39.956Z",
- "use_stream_source": true,
- "vod_stream": true
}
}
This operation updates a live stream.
Provide the details of the live stream to update in the body of the request.
required | object (live_stream) | ||||||||||||||||||||||||||||||||||||||
|
Success
required | object (live_stream) | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Unauthorized
Forbidden
Not Found
Gone
Unprocessable Entity
{- "live_stream": {
- "name": "My Updated Live Stream",
- "recording": true
}
}
{- "live_stream": {
- "aspect_ratio_height": 1080,
- "aspect_ratio_width": 1920,
- "billing_mode": "pay_as_you_go",
- "broadcast_location": "us_west_california",
- "closed_caption_type": "cea",
- "connection_code": "0e15cb",
- "connection_code_expires_at": "2020-11-30T17:16:21.956Z",
- "created_at": "2020-01-29T17:16:21.956Z",
- "delivery_method": "push",
- "delivery_protocols": [
- "rtmp",
- "rtsp",
- "wowz",
- "webrtc"
], - "direct_playback_urls": {
- "rtmp": [
- {
- "name": "source",
- "url": "rtmp://abc123.entrypoint.video.wowza.com/app-B8P6K226/wxyz6789"
}, - {
- "name": "webrtc",
- "output_id": "dcxq5q6c",
- "url": "rtmp://abc123.entrypoint.video.wowza.com/app-B8P6K226/wxyz6789_stream1"
}, - {
- "name": "V:1280x720+A:128K",
- "output_id": "0g116zkf",
- "url": "rtmp://abc123.entrypoint.video.wowza.com/app-B8P6K226/wxyz6789_stream2"
}, - {
- "name": "V:854x480+A:128K",
- "output_id": "4qqkwndt",
- "url": "rtmp://abc123.entrypoint.video.wowza.com/app-B8P6K226/wxyz6789_stream3"
}, - {
- "name": "V:640x360+A:128K",
- "output_id": "0pv8djpg",
- "url": "rtmp://abc123.entrypoint.video.wowza.com/app-B8P6K226/wxyz6789_stream4"
}, - {
- "name": "V:512x288+A:128K",
- "output_id": "b09xrxjf",
- "url": "rtmp://abc123.entrypoint.video.wowza.com/app-B8P6K226/wxyz6789_stream5"
}, - {
- "name": "V:320x180+A:128K",
- "output_id": "bvkh2nsz",
- "url": "rtmp://abc123.entrypoint.video.wowza.com/app-B8P6K226/wxyz6789_stream6"
}
], - "rtsp": [
- {
- "name": "source",
- "url": "rtsp://abc123.entrypoint.video.wowza.com:1935/app-B8P6K226/wxyz6789"
}, - {
- "name": "webrtc",
- "output_id": "dcxq5q6c",
- "url": "rtsp://abc123.entrypoint.video.wowza.com:1935/app-B8P6K226/wxyz6789_stream1"
}, - {
- "name": "V:1280x720+A:128K",
- "output_id": "0g116zkf",
- "url": "rtsp://abc123.entrypoint.video.wowza.com:1935/app-B8P6K226/wxyz6789_stream2"
}, - {
- "name": "V:854x480+A:128K",
- "output_id": "4qqkwndt",
- "url": "rtsp://abc123.entrypoint.video.wowza.com:1935/app-B8P6K226/wxyz6789_stream3"
}, - {
- "name": "V:640x360+A:128K",
- "output_id": "0pv8djpg",
- "url": "rtsp://abc123.entrypoint.video.wowza.com:1935/app-B8P6K226/wxyz6789_stream4"
}, - {
- "name": "V:512x288+A:128K",
- "output_id": "b09xrxjf",
- "url": "rtsp://abc123.entrypoint.video.wowza.com:1935/app-B8P6K226/wxyz6789_stream5"
}, - {
- "name": "V:320x180+A:128K",
- "output_id": "bvkh2nsz",
- "url": "rtsp://abc123.entrypoint.video.wowza.com:1935/app-B8P6K226/wxyz6789_stream6"
}
], - "wowz": [
- {
- "name": "source",
- "url": "wowz://abc123.entrypoint.video.wowza.com:1935/app-B8P6K226/wxyz6789"
}, - {
- "name": "webrtc",
- "output_id": "dcxq5q6c",
- "url": "wowz://abc123.entrypoint.video.wowza.com:1935/app-B8P6K226/wxyz6789_stream1"
}, - {
- "name": "V:1280x720+A:128K",
- "output_id": "0g116zkf",
- "url": "wowz://abc123.entrypoint.video.wowza.com:1935/app-B8P6K226/wxyz6789_stream2"
}, - {
- "name": "V:854x480+A:128K",
- "output_id": "4qqkwndt",
- "url": "wowz://abc123.entrypoint.video.wowza.com:1935/app-B8P6K226/wxyz6789_stream3"
}, - {
- "name": "V:640x360+A:128K",
- "output_id": "0pv8djpg",
- "url": "wowz://abc123.entrypoint.video.wowza.com:1935/app-B8P6K226/wxyz6789_stream4"
}, - {
- "name": "V:512x288+A:128K",
- "output_id": "b09xrxjf",
- "url": "wowz://abc123.entrypoint.video.wowza.com:1935/app-B8P6K226/wxyz6789_stream5"
}, - {
- "name": "V:320x180+A:128K",
- "output_id": "bvkh2nsz",
- "url": "wowz://abc123.entrypoint.video.wowza.com:1935/app-B8P6K226/wxyz6789_stream6"
}
], - "webrtc": [
- {
- "name": "source",
- "url": "wss://abc123.entrypoint.video.wowza.com/webrtc-session.json",
- "application_name": "app-B8P6K226",
- "stream_name": "1722aead"
}, - {
- "name": "webrtc",
- "output_id": "dcxq5q6c",
- "url": "wss://abc123.entrypoint.video.wowza.com/webrtc-session.json",
- "application_name": "app-B8P6K226",
- "stream_name": "1722aead_stream1"
}, - {
- "name": "V:1280x720+A:128K",
- "output_id": "0g116zkf",
- "url": "wss://abc123.entrypoint.video.wowza.com/webrtc-session.json",
- "application_name": "app-B8P6K226",
- "stream_name": "1722aead_stream2"
}, - {
- "name": "V:854x480+A:128K",
- "output_id": "4qqkwndt",
- "url": "wss://abc123.entrypoint.video.wowza.com/webrtc-session.json",
- "application_name": "app-B8P6K226",
- "stream_name": "1722aead_stream3"
}, - {
- "name": "V:640x360+A:128K",
- "output_id": "0pv8djpg",
- "url": "wss://abc123.entrypoint.video.wowza.com/webrtc-session.json",
- "application_name": "app-B8P6K226",
- "stream_name": "1722aead_stream4"
}, - {
- "name": "V:512x288+A:128K",
- "output_id": "b09xrxjf",
- "url": "wss://abc123.entrypoint.video.wowza.com/webrtc-session.json",
- "application_name": "app-B8P6K226",
- "stream_name": "1722aead_stream5"
}, - {
- "name": "V:320x180+A:128K",
- "output_id": "bvkh2nsz",
- "url": "wss://abc123.entrypoint.video.wowza.com/webrtc-session.json",
- "application_name": "app-B8P6K226",
- "stream_name": "1722aead_stream6"
}
]
}, - "encoder": "other_rtmp",
- "hosted_page": {
- "enabled": true,
- "description": "My Hosted Page Description",
- "logo_image_url": "https://prod.s3.amazonaws.com/uploads/player/hosted_page_logo_image/23424/5bad28.jpg",
- "sharing_icons": true,
- "title": "My Hosted Page",
}, - "id": "wdjfqvsv",
- "name": "My PAYG Transcoded WSE Live Stream",
- "playback_stream_name": "wxyz6789",
- "player": {
- "customizations": {
- "play_icon": "solid",
- "thin_timeline": false,
- "drag_handle": false,
- "volume": true,
- "mute": true,
- "fullscreen": true,
- "show_player_title": false,
- "color": "4d4d4d"
}, - "countdown": true,
- "countdown_at": "2020-02-01T17:00:00.000Z",
- "embed_code": null,
- "id": "kwb6pwnv",
- "logo_position": "top-right",
- "plugins": {
- "airplay": false,
- "chromecast": false
}, - "responsive": false,
- "type": "wowza_flowplayer",
- "video_poster_image_url": "https://prod.s3.amazonaws.com/uploads/player/video_poster_image/23424/5bad28.jpg",
- "width": 640
}, - "recording": true,
- "reference_id": "mySystemID_01",
- "save_asset": false,
- "stream_source_id": "5skrfpyf",
- "stream_targets": [
- {
- "id": "klbmg2h8"
}, - {
- "id": "bnjtdmmc"
}
], - "target_delivery_protocol": "hls-https",
- "transcoder_type": "transcoded",
- "updated_at": "2020-01-31T06:12:39.956Z",
- "use_stream_source": true,
- "vod_stream": true
}
}
This operation deletes a live stream, including all assigned outputs and targets.
Note: You can't remove live streams that have an asset_id. Assets must be removed by sending a DEL request to the /assets endpoint.
No Content
Unauthorized
Forbidden
Not Found
Gone
Unprocessable Entity
// Using cURL curl -H "Authorization: Bearer ${WV_JWT}" \ -H "Content-Type: application/json" \ -X "DELETE" \ "${WV_HOST}/api/v1.11/live_streams/2adffc17"
{- "Example Response 1": {
- "meta": {
- "status": 401,
- "code": "ERR-401-NoApiKey",
- "title": "No API Key Error",
- "message": "No API key sent in header.",
- "description": "",
- "links": [ ]
}
}, - "Example Response 2": {
- "meta": {
- "status": 401,
- "code": "ERR-401-NoAccessKey",
- "title": "No Access Key Error",
- "message": "No access key sent in header.",
- "description": "",
- "links": [ ]
}
}, - "Example Response 3": {
- "meta": {
- "status": 401,
- "code": "ERR-401-InvalidApiKey",
- "title": "Invalid Api Key Error",
- "message": "Invalid API key.",
- "description": "",
- "links": [ ]
}
}, - "Example Response 4": {
- "meta": {
- "status": 401,
- "code": "ERR-401-InvalidAccessKey",
- "title": "Invalid Access Key Error",
- "message": "Invalid access key.",
- "description": "",
- "links": [ ]
}
}, - "Example Response 5": {
- "meta": {
- "status": 401,
- "code": "ERR-401-BadAccountStatus",
- "title": "Bad Account Status Error",
- "message": "Your account's status doesn't allow this action.",
- "description": "",
- "links": [ ]
}
}, - "Example Response 6": {
- "meta": {
- "status": 401,
- "code": "ERR-401-FeatureNotEnabled",
- "title": "Feature Not Enabled Error",
- "message": "This feature isn't enabled.",
- "description": "",
- "links": [ ]
}
}, - "Example Response 7": {
- "meta": {
- "status": 401,
- "code": "ERR-401-TrialExceeded",
- "title": "Bad Billing Status Error",
- "message": "Your billing status needs attention. You can't start or add live streams until your billing status is updated.",
- "description": "",
- "links": [ ]
}
}, - "Example Response 8": {
- "meta": {
- "status": 401,
- "code": "ERR-401-ExpiredToken",
- "title": "JWT is expired",
- "message": "Token has exired.",
- "description": "",
- "links": [ ]
}
}, - "Example Response 9": {
- "meta": {
- "status": 401,
- "code": "ERR-401-InvalidToken",
- "title": "JWT is invalid",
- "message": "Token is invalid.",
- "description": "",
- "links": [ ]
}
}
}
// Using cURL curl -H "Authorization: Bearer ${WV_JWT}" \ -H "Content-Type: application/json" \ -X "PUT" \ "${WV_HOST}/api/v1.11/live_streams/2adffc17/start"
{- "live_stream": {
- "state": "starting"
}
}
// Using cURL curl -H "Authorization: Bearer ${WV_JWT}" \ -H "Content-Type: application/json" \ -X "PUT" \ "${WV_HOST}/api/v1.11/live_streams/2adffc17/stop"
{- "live_stream": {
- "state": "stopped"
}
}
// Using cURL curl -H "Authorization: Bearer ${WV_JWT}" \ -H "Content-Type: application/json" \ -X "PUT" \ "${WV_HOST}/api/v1.11/live_streams/2adffc17/reset"
{- "live_stream": {
- "state": "resetting"
}
}
This operation regenerates the connection code of a live stream.
Success
Unauthorized
Forbidden
Not Found
Gone
Unprocessable Entity
// Using cURL curl -H "Authorization: Bearer ${WV_JWT}" \ -H "Content-Type: application/json" \ -X "PUT" \ "${WV_HOST}/api/v1.11/live_streams/2adffc17/regenerate_connection_code"
{- "live_stream": {
- "connection_code": "0cd2e8"
}
}
This operation shows the thumbnail URL of a started live stream.
// Using cURL curl -H "Authorization: Bearer ${WV_JWT}" \ -H "Content-Type: application/json" \ -X "GET" \ "${WV_HOST}/api/v1.11/live_streams/2adffc17/thumbnail_url"
{- "live_stream": {
}
}
This operation shows the current state of a live stream.
Success
Unauthorized
Forbidden
Not Found
Gone
// Using cURL curl -H "Authorization: Bearer ${WV_JWT}" \ -H "Content-Type: application/json" \ -X "GET" \ "${WV_HOST}/api/v1.11/live_streams/2adffc17/state"
{- "live_stream": {
- "ip_address": "0.0.0.0",
- "state": "stopped"
}
}
The GET /live_streams/{id}/stats operation is sunset and no longer available. To retrieve metrics data for a live stream, use GET /analytics/ingest/live_streams/{id}.
Success
required | object (shm_metrics) | ||||||||||||||||||||||||||||||
|
Unauthorized
Forbidden
Not Found
Gone
// Using cURL curl -H "Authorization: Bearer ${WV_JWT}" \ -H "Content-Type: application/json" \ -X "GET" \ "${WV_HOST}/api/v1.11/live_streams/2adffc17/stats"
{- "live_stream": {
- "audio_codec": {
- "status": "normal",
- "text": "",
- "units": "",
- "value": "aac"
}, - "bits_in_rate": {
- "status": "normal",
- "text": "",
- "units": "Kbps",
- "value": 317.3
}, - "bits_out_rate": {
- "status": "normal",
- "text": "",
- "units": "Kbps",
- "value": 856
}, - "bytes_in_rate": {
- "status": "normal",
- "text": "",
- "units": "KBps",
- "value": 317.3
}, - "bytes_out_rate": {
- "status": "normal",
- "text": "",
- "units": "KBps",
- "value": 856
}, - "configured_bytes_out_rate": {
- "status": "warning",
- "text": "Outbound bitrate is lower than the configured bitrate. There might be a problem with the stream targets.",
- "units": "Kbps",
- "value": 8192
}, - "connected": {
- "status": "normal",
- "text": "",
- "units": "",
- "value": "Yes"
}, - "frame_size": {
- "status": "warning",
- "text": "Configured frame size is different from what Wowza Video is receiving from the source: 1280x720.",
- "units": "",
- "value": "1280x720"
}, - "frame_rate": {
- "status": "normal",
- "text": "",
- "units": "FPS",
- "value": 30
}, - "height": {
- "status": "warning",
- "text": "Configured height is different from what Wowza Video is receiving from the source: 720.",
- "units": "px",
- "value": 720
}, - "keyframe_interval": {
- "status": "normal",
- "text": "",
- "units": "GOP",
- "value": 69
}, - "stream_target_status_OUTPUTIDX_STREAMTARGETIDX": {
- "status": "normal",
- "text": "",
- "units": "",
- "value": "Active"
}, - "unique_views": {
- "status": "normal",
- "text": "",
- "units": "%",
- "value": 1030
}, - "video_codec": {
- "status": "normal",
- "text": "",
- "units": "",
- "value": "h264"
}, - "width": {
- "status": "warning",
- "text": "Configured width is different from what Wowza Video is receiving from the source: 1280.",
- "units": "px",
- "value": 1280
}
}
}