Operations related to transcoders, output renditions, and output stream targets.
Wowza Video transcoders allow you to customize transcoding processes by creating transcoders that are optimized for various network or streaming conditions. When you create a transcoder through the /transcoders
endpoint, you must manually configure output renditions and associated output stream targets.
Transcoders, like live streams, can be adaptive bitrate or passthrough. An adaptive bitrate transcoder generates multiple output renditions of your live stream, at different bitrates. A passthrough transcoder, in contrast, sends the source video to a stream target without performing transcoding. Passthrough transcoders, which can only be created if you have a subscription plan that supports them, accrue processing time, bandwidth, and egress usage, but much less than their adaptive bitrate counterparts.
Before you can start an adaptive bitrate transcoder, you must use the /transcoders/{transcoder_id}/outputs
operations to define the adaptive bitrate output renditions that you want the transcoder to create. Passthrough transcoders require only one output rendition because they send source video to a stream target without transcoding.
Transcoders require output stream targets before you can start them. Although you create and configure stream targets using the different /stream_targets
operations, you must associate a stream target to a transcoder's output rendition using the /transcoders/{transcoder_id}/outputs/{output_id}/output_stream_targets operations. For an adaptive bitrate transcoder with multiple output renditions defined, you must create output stream targets to associate a stream target to each output rendition. For a passthrough transcoder, you only need one output stream target.
This operation creates a transcoder.
Provide the details of the transcoder to create in the body of the request.
required | object (transcoder) | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Success
required | object (transcoder) | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Unauthorized
Unprocessable Entity
{- "transcoder": {
- "billing_mode": "pay_as_you_go",
- "broadcast_location": "us_central_iowa",
- "delivery_method": "pull",
- "description": "My Transcoder Description",
- "name": "My PAYG Transcoder",
- "protocol": "rtmp",
- "transcoder_type": "transcoded"
}
}
{- "transcoder": {
- "application_name": "app-B8P6K226",
- "billing_mode": "pay_as_you_go",
- "broadcast_location": "us_central_iowa",
- "buffer_size": 4000,
- "closed_caption_type": "cea",
- "created_at": "2020-01-28T17:16:22.098Z",
- "delivery_method": "push",
- "delivery_protocols": [
- "rtmp",
- "rtsp",
- "wowz",
- "webrtc"
], - "description": "My Transcoder Description",
- "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"
}
]
}, - "disable_authentication": false,
- "domain_name": "f92334.entrypoint.video.wowza.com",
- "id": "2lsWj3F9",
- "idle_timeout": 1200,
- "low_latency": false,
- "name": "My PAYG Transcoder",
- "outputs": [
- { }
], - "password": "82e0e971",
- "playback_stream_name": "wxyz6789",
- "play_maximum_connections": 20,
- "properties": [
- {
- "key": "fitMode",
- "section": "output",
- "value": "letterbox"
}, - {
- "key": "rtpIgnoreProfileLevelId",
- "section": "rtsp",
- "value": true
}
], - "protocol": "rtmp",
- "reference_id": "mySystemID_01",
- "source_port": 1935,
- "stream_extension": ".sdp",
- "stream_name": "10eb0ed8",
- "suppress_stream_target_start": false,
- "transcoder_type": "transcoded",
- "updated_at": "2020-01-31T15:46:50.098Z",
- "username": "client2",
- "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 transcoders. For detailed information, fetch a single transcoder.
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/transcoders"
{- "transcoders": [
- {
- "id": "2lsWj3F9",
- "name": "My transcoder",
- "workflow": "live_stream",
- "state": "stopped",
- "created_at": "2020-01-28T17:16:22.097Z",
- "updated_at": "2020-01-31T01:17:48.097Z"
}, - {
- "id": "VJbkhjzl",
- "name": "My other transcoder",
- "workflow": "transcoder",
- "state": "started",
- "created_at": "2020-01-28T17:16:22.097Z",
- "updated_at": "2020-01-30T16:03:28.097Z"
}
]
}
This operation shows the details of a specific transcoder.
Success
required | object (transcoder) | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Unauthorized
Forbidden
Not Found
Gone
Unprocessable Entity
// Using cURL curl -H "Authorization: Bearer ${WV_JWT}" \ -H "Content-Type: application/json" \ -X "GET" \ "${WV_HOST}/api/v2.0/transcoders/2adffc17"
{- "transcoder": {
- "application_name": "app-B8P6K226",
- "billing_mode": "pay_as_you_go",
- "broadcast_location": "us_central_iowa",
- "buffer_size": 4000,
- "closed_caption_type": "cea",
- "created_at": "2020-01-28T17:16:22.098Z",
- "delivery_method": "push",
- "delivery_protocols": [
- "rtmp",
- "rtsp",
- "wowz",
- "webrtc"
], - "description": "My Transcoder Description",
- "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"
}
]
}, - "disable_authentication": false,
- "domain_name": "f92334.entrypoint.video.wowza.com",
- "id": "2lsWj3F9",
- "idle_timeout": 1200,
- "low_latency": false,
- "name": "My PAYG Transcoder",
- "outputs": [
- { }
], - "password": "82e0e971",
- "playback_stream_name": "wxyz6789",
- "play_maximum_connections": 20,
- "properties": [
- {
- "key": "fitMode",
- "section": "output",
- "value": "letterbox"
}, - {
- "key": "rtpIgnoreProfileLevelId",
- "section": "rtsp",
- "value": true
}
], - "protocol": "rtmp",
- "reference_id": "mySystemID_01",
- "source_port": 1935,
- "stream_extension": ".sdp",
- "stream_name": "10eb0ed8",
- "suppress_stream_target_start": false,
- "transcoder_type": "transcoded",
- "updated_at": "2020-01-31T15:46:50.098Z",
- "username": "client2",
- "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 transcoder.
Provide the details of the transcoder to update in the body of the request.
required | object (transcoder) | ||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Success
required | object (transcoder) | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Unauthorized
Forbidden
Not Found
Gone
Unprocessable Entity
{- "transcoder": {
- "name": "My Updated Transcoder",
- "description": "My Transcoder Description",
- "watermark_position": "bottom-left"
}
}
{- "transcoder": {
- "application_name": "app-B8P6K226",
- "billing_mode": "pay_as_you_go",
- "broadcast_location": "us_central_iowa",
- "buffer_size": 4000,
- "closed_caption_type": "cea",
- "created_at": "2020-01-28T17:16:22.098Z",
- "delivery_method": "push",
- "delivery_protocols": [
- "rtmp",
- "rtsp",
- "wowz",
- "webrtc"
], - "description": "My Transcoder Description",
- "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"
}
]
}, - "disable_authentication": false,
- "domain_name": "f92334.entrypoint.video.wowza.com",
- "id": "2lsWj3F9",
- "idle_timeout": 1200,
- "low_latency": false,
- "name": "My PAYG Transcoder",
- "outputs": [
- { }
], - "password": "82e0e971",
- "playback_stream_name": "wxyz6789",
- "play_maximum_connections": 20,
- "properties": [
- {
- "key": "fitMode",
- "section": "output",
- "value": "letterbox"
}, - {
- "key": "rtpIgnoreProfileLevelId",
- "section": "rtsp",
- "value": true
}
], - "protocol": "rtmp",
- "reference_id": "mySystemID_01",
- "source_port": 1935,
- "stream_extension": ".sdp",
- "stream_name": "10eb0ed8",
- "suppress_stream_target_start": false,
- "transcoder_type": "transcoded",
- "updated_at": "2020-01-31T15:46:50.098Z",
- "username": "client2",
- "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 transcoder, including all of its assigned output renditions and stream targets.
Note: You can't remove transcoders 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/transcoders/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 enables all of the stream targets assigned to a specific transcoder.
// Using cURL curl -H "Authorization: Bearer ${WV_JWT}" \ -H "Content-Type: application/json" \ -X "PUT" \ "${WV_HOST}/api/v2.0/transcoders/2adffc17/enable_all_stream_targets"
{- "transcoder": {
- "stream_targets": {
- "state": "enabled"
}
}
}
This operation disables all of the stream targets assigned to a specific transcoder.
// Using cURL curl -H "Authorization: Bearer ${WV_JWT}" \ -H "Content-Type: application/json" \ -X "PUT" \ "${WV_HOST}/api/v2.0/transcoders/2adffc17/disable_all_stream_targets"
{- "transcoder": {
- "stream_targets": {
- "state": "enabled"
}
}
}
This operation starts a transcoder.
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/transcoders/2adffc17/start"
{- "transcoder": {
- "state": "starting",
- "uptime_id": "abcd1234"
}
}
This operation stops a transcoder.
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/transcoders/2adffc17/stop"
{- "transcoder": {
- "state": "starting",
- "uptime_id": "abcd1234"
}
}
// Using cURL curl -H "Authorization: Bearer ${WV_JWT}" \ -H "Content-Type: application/json" \ -X "PUT" \ "${WV_HOST}/api/v2.0/transcoders/2adffc17/reset"
{- "transcoder": {
- "state": "resetting"
}
}
This operation starts the recording of a transcoder after the transcoder has started. If you want the recording to start and stop automatically when you start or stop the transcoder instead, set recording to true when you create a transcoder or update a transcoder.
// Using cURL curl -H "Authorization: Bearer ${WV_JWT}" \ -H "Content-Type: application/json" \ -X "PUT" \ "${WV_HOST}/api/v2.0/transcoders/2adffc17/start_recording"
{- "transcoder": {
- "recording": {
- "state": "started"
}
}
}
This operation stops the recording of a transcoder before the transcoder has stopped. Wowza Video begins converting the recording to an MP4 file after the transcoder has stopped. You can use this operation to manually stop recording even if recording is set to true on the transcoder, meaning the recording was automatically started at transcoder start. If you want the recording to start and stop automatically when you start and stop the transcoder, set recording to true when you create a transcoder or update a transcoder and then don't use the manual stop recording operation.
// Using cURL curl -H "Authorization: Bearer ${WV_JWT}" \ -H "Content-Type: application/json" \ -X "PUT" \ "${WV_HOST}/api/v2.0/transcoders/2adffc17/stop_recording"
{- "transcoder": {
- "recording": {
- "state": "stopped"
}
}
}
Deprecated in 2.0.This operation shows limited details of all of the recordings for a specific transcoder. For detailed information about a recording, use the recording ID to fetch a recording.
Success
required | Array of objects (recordings) Array of recordings of this transcoder. See /recordings for more details. | ||||||||||||||||||
Array
|
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/transcoders/2adffc17/recordings"
{- "recordings": [
- {
- "created_at": "2020-01-29T17:16:21.993Z",
- "id": "4Jjzstdt",
- "asset_id": "tk1plmzr",
- "file_name": "",
- "real_time_stream_id": "cj39nmrt",
- "reason": "",
- "state": "completed",
- "transcoder_id": "bjaplmrw",
- "updated_at": "2020-01-31T14:14:01.993Z"
}
]
}
This operation shows the details of all of the schedules for a specific transcoder.
Success
required | Array of objects (schedule) Array of schedules of this transcoder. See /schedules for more details. | ||||||||||||||||||||||||||||||
Array
|
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/transcoders/2adffc17/schedules"
{- "schedules": [
- {
- "id": "28bwb5WT",
- "state": "disabled",
- "name": "Scheduled recurring start for my camera",
- "time_zone": "America/New_York",
- "transcoder_id": "VGB21JFJ",
- "transcoder_name": "My Camera",
- "recurrence_type": "recur",
- "recurrence_data": "monday,tuesday,wednesday,thursday,friday",
- "action_type": "start_stop",
- "start_transcoder": "2020-02-01T00:00:00.000Z",
- "stop_transcoder": "2020-02-29T23:59:59.999Z",
- "start_repeat": "2020-02-01T00:00:00.000Z",
- "end_repeat": "2020-02-29T00:00:00.000Z",
- "created_at": "2020-01-29T17:16:21.995Z",
- "updated_at": "2020-01-31T07:00:48.995Z"
}
]
}
This operation shows the thumbnail URL of a started transcoder.
// Using cURL curl -H "Authorization: Bearer ${WV_JWT}" \ -H "Content-Type: application/json" \ -X "GET" \ "${WV_HOST}/api/v2.0/transcoders/2adffc17/thumbnail_url"
{- "transcoder": {
}
}
This operation shows the current state and uptime ID of a transcoder.
Success
required | object (transcoder) | ||||||
|
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/transcoders/2adffc17/state"
{- "transcoder": {
- "ip_address": "1.2.3.4",
- "state": "started",
- "uptime_id": "abcd1234"
}
}