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": {
- "billing_mode": "pay_as_you_go",
- "broadcast_location": "us_west_oregon",
- "description": "This is my first live stream.",
- "encoder": "other_webrtc",
- "name": "My Live Stream",
- "transcoder_type": "transcoded"
}
}
{- "live_stream": {
- "aspect_ratio_height": 720,
- "aspect_ratio_width": 1280,
- "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"
], - "description": "This is my first live stream.",
- "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",
- "flowplayer": true,
- "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_id": "205b4e8-b160-43c2-868d-d88698a4e850",
- "player_type": "wowza_flowplayer_v2",
- "embed_code": null,
- "logo_position": "top-right",
- "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,
- "security": {
- "force_ssl_playback": false,
- "geoblock_enabled": true,
- "geoblock_by_location": "allow",
- "geoblock_country_codes": "DE, US",
- "geoblock_ip_override": "deny",
- "geoblock_ip_addresses": "77.12.34.567, 78.23.45.678",
- "token_auth_enabled": false,
- "token_auth_playlist_only": false
}, - "state": "stopped",
- "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,
- "watermark": true,
- "watermark_height": 80,
- "watermark_image_url": "https://prod.s3.amazonaws.com/uploads/transcoder/watermark_image/12345/4baa13.jpg",
- "watermark_opacity": 75,
- "watermark_position": "top-right",
- "watermark_width": 100
}
}
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/v2.0/live_streams"
{- "live_streams": [
- {
- "id": "wdjfqvsv",
- "name": "My PAYG Transcoded WSE Live Stream",
- "state": "stopped",
- "created_at": "2020-01-29T17:16:21.849Z",
- "updated_at": "2020-01-31T16:06:47.849Z"
}, - {
- "id": "KyxWKtHQ",
- "name": "My 24x7 Passthrough Live Stream",
- "state": "started",
- "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",
- "state": "started",
- "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/v2.0/live_streams/2adffc17"
{- "live_stream": {
- "aspect_ratio_height": 720,
- "aspect_ratio_width": 1280,
- "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"
], - "description": "This is my first live stream.",
- "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",
- "flowplayer": true,
- "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_id": "205b4e8-b160-43c2-868d-d88698a4e850",
- "player_type": "wowza_flowplayer_v2",
- "embed_code": null,
- "logo_position": "top-right",
- "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,
- "security": {
- "force_ssl_playback": false,
- "geoblock_enabled": true,
- "geoblock_by_location": "allow",
- "geoblock_country_codes": "DE, US",
- "geoblock_ip_override": "deny",
- "geoblock_ip_addresses": "77.12.34.567, 78.23.45.678",
- "token_auth_enabled": false,
- "token_auth_playlist_only": false
}, - "state": "stopped",
- "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,
- "watermark": true,
- "watermark_height": 80,
- "watermark_image_url": "https://prod.s3.amazonaws.com/uploads/transcoder/watermark_image/12345/4baa13.jpg",
- "watermark_opacity": 75,
- "watermark_position": "top-right",
- "watermark_width": 100
}
}
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",
- "description": "This is my first live stream.",
- "recording": true
}
}
{- "live_stream": {
- "aspect_ratio_height": 720,
- "aspect_ratio_width": 1280,
- "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"
], - "description": "This is my first live stream.",
- "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",
- "flowplayer": true,
- "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_id": "205b4e8-b160-43c2-868d-d88698a4e850",
- "player_type": "wowza_flowplayer_v2",
- "embed_code": null,
- "logo_position": "top-right",
- "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,
- "security": {
- "force_ssl_playback": false,
- "geoblock_enabled": true,
- "geoblock_by_location": "allow",
- "geoblock_country_codes": "DE, US",
- "geoblock_ip_override": "deny",
- "geoblock_ip_addresses": "77.12.34.567, 78.23.45.678",
- "token_auth_enabled": false,
- "token_auth_playlist_only": false
}, - "state": "stopped",
- "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,
- "watermark": true,
- "watermark_height": 80,
- "watermark_image_url": "https://prod.s3.amazonaws.com/uploads/transcoder/watermark_image/12345/4baa13.jpg",
- "watermark_opacity": 75,
- "watermark_position": "top-right",
- "watermark_width": 100
}
}
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/v2.0/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/v2.0/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/v2.0/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/v2.0/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/v2.0/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/v2.0/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/v2.0/live_streams/2adffc17/state"
{- "live_stream": {
- "ip_address": "0.0.0.0",
- "state": "stopped"
}
}