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.
This operation creates a real-time stream.
Provide the details of the real-time stream to create in the body of the request.
object (real_time_stream) | |||||||||||||||||||||||||||||||||
|
Success
required | object (real_time_stream) | ||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Unauthorized
Unprocessable Entity
{- "real_time_stream": {
- "name": "MyRealTimeStream",
- "description": "This is my first real-time stream."
}
}
{- "real_time_stream": {
- "id": "2adffc17",
- "name": "MyRealTimeStream",
- "stream_name": "8d304b93f1684320a54f2798666eeca7",
- "token": "97e52731bc21ef66e4c05a8ee1e28b64bf5f9db728573d94e690277cea9215bc",
- "rtmp_url": "rtmp://rtmp-realtime1.wowza.com:1935/v2/pub/8d304b93f1684320a54f2798666eeca7?token=97e52731bc21ef66e4c05a8ee1e28b64bf5f9db728573d94e690277cea9215bc",
- "enable_secure_viewer": false,
- "state": "started",
- "region": "amsterdam",
- "recording": true,
- "reference_id": "mySystemID_01",
- "disable_vod_encoder": true,
- "description": "This is my first real-time stream.",
- "enable_player_and_hosted_page": true,
- "player_id": "2205b4e8-b160-43c2-868d-d88698a4e850",
- "player_type": "wowza_flowplayer_v2",
- "flowplayer": true,
- "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,
- "hosted_page": {
- "title": "MyRealTimeStreamHostedPage",
- "description": "My hosted page description",
- "sharing_icons": true
}, - "created_at": "2021-06-30T18:02:20.000Z",
- "updated_at": "2021-06-30T20:03:16.000Z"
}
}
This operation shows limited details for all of your real-time streams. For detailed information, fetch a single real-time 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/real_time"
{- "real_time_streams": [
- {
- "id": "2adffc17",
- "name": "MyRealTimeStream",
- "state": "started",
- "created_at": "2021-01-29T17:16:21.849Z",
- "updated_at": "2021-01-31T16:06:47.849Z"
}, - {
- "id": "if7le8ip",
- "name": "MyRealTimeStream2",
- "state": "started",
- "created_at": "2020-01-29T17:16:21.849Z",
- "updated_at": "2020-01-31T02:26:05.849Z"
}, - {
- "id": "dd4udt1b",
- "name": "MyRealTimeStream3",
- "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 real-time stream.
Success
required | object (real_time_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/real_time/2adffc17"
{- "real_time_stream": {
- "id": "2adffc17",
- "name": "MyRealTimeStream",
- "stream_name": "8d304b93f1684320a54f2798666eeca7",
- "token": "97e52731bc21ef66e4c05a8ee1e28b64bf5f9db728573d94e690277cea9215bc",
- "rtmp_url": "rtmp://rtmp-realtime1.wowza.com:1935/v2/pub/8d304b93f1684320a54f2798666eeca7?token=97e52731bc21ef66e4c05a8ee1e28b64bf5f9db728573d94e690277cea9215bc",
- "enable_secure_viewer": false,
- "state": "started",
- "region": "amsterdam",
- "recording": true,
- "reference_id": "mySystemID_01",
- "disable_vod_encoder": true,
- "description": "This is my first real-time stream.",
- "enable_player_and_hosted_page": true,
- "player_id": "2205b4e8-b160-43c2-868d-d88698a4e850",
- "player_type": "wowza_flowplayer_v2",
- "flowplayer": true,
- "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,
- "hosted_page": {
- "title": "MyRealTimeStreamHostedPage",
- "description": "My hosted page description",
- "sharing_icons": true
}, - "created_at": "2021-06-30T18:02:20.000Z",
- "updated_at": "2021-06-30T20:03:16.000Z"
}
}
This operation updates a real-time stream.
Provide the details of the real-time stream to update in the body of the request.
object (real_time_stream) | |||||||||||||||||||||||||||||||
|
Success
required | object (real_time_stream) | ||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Unauthorized
Forbidden
Not Found
Gone
Unprocessable Entity
{- "real_time_stream": {
- "name": "MyUpdatedRealTimeStream",
- "description": "This is my first real-time stream."
}
}
{- "real_time_stream": {
- "id": "2adffc17",
- "name": "MyRealTimeStream",
- "stream_name": "8d304b93f1684320a54f2798666eeca7",
- "token": "97e52731bc21ef66e4c05a8ee1e28b64bf5f9db728573d94e690277cea9215bc",
- "rtmp_url": "rtmp://rtmp-realtime1.wowza.com:1935/v2/pub/8d304b93f1684320a54f2798666eeca7?token=97e52731bc21ef66e4c05a8ee1e28b64bf5f9db728573d94e690277cea9215bc",
- "enable_secure_viewer": false,
- "state": "started",
- "region": "amsterdam",
- "recording": true,
- "reference_id": "mySystemID_01",
- "disable_vod_encoder": true,
- "description": "This is my first real-time stream.",
- "enable_player_and_hosted_page": true,
- "player_id": "2205b4e8-b160-43c2-868d-d88698a4e850",
- "player_type": "wowza_flowplayer_v2",
- "flowplayer": true,
- "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,
- "hosted_page": {
- "title": "MyRealTimeStreamHostedPage",
- "description": "My hosted page description",
- "sharing_icons": true
}, - "created_at": "2021-06-30T18:02:20.000Z",
- "updated_at": "2021-06-30T20:03:16.000Z"
}
}
This operation deletes a real-time stream.
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/real_time/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": [ ]
}
}
}
This operation shows the current state of a real-time stream.
// Using cURL curl -H "Authorization: Bearer ${WV_JWT}" \ -H "Content-Type: application/json" \ -X "GET" \ "${WV_HOST}/api/v2.0/real_time/2adffc17/state"
{- "real_time": {
- "state": "stopped"
}
}
// Using cURL curl -H "Authorization: Bearer ${WV_JWT}" \ -H "Content-Type: application/json" \ -X "PUT" \ "${WV_HOST}/api/v2.0/real_time/2adffc17/stop"
{- "real_time_stream": {
- "state": "stopped"
}
}