A single track or stream of media that contains video, audio, or ancillary data. After you add a media stream to a flow, you can associate it with sources and outputs on that flow, as long as they use the CDI protocol or the ST 2110 JPEG XS protocol. Each source or output can consist of one or many media streams.
Type: objectProperties: 8Required: 4
BroadcastingLive VideoMediaMedia Transport
MediaStream is a JSON Structure definition published by Amazon MediaConnect, describing 8 properties, of which 4 are required. It conforms to the https://json-structure.org/meta/core/v0/# meta-schema.
{
"$schema": "https://json-structure.org/meta/core/v0/#",
"$id": "https://raw.githubusercontent.com/api-evangelist/amazon-mediaconnect/refs/heads/main/json-structure/mediaconnect-api-media-stream-structure.json",
"name": "MediaStream",
"type": "object",
"description": "A single track or stream of media that contains video, audio, or ancillary data. After you add a media stream to a flow, you can associate it with sources and outputs on that flow, as long as they use the CDI protocol or the ST 2110 JPEG XS protocol. Each source or output can consist of one or many media streams.",
"properties": {
"Attributes": {
"allOf": [
{
"$ref": "#/components/schemas/MediaStreamAttributes"
},
{
"xml": {
"name": "attributes"
},
"description": "Attributes that are related to the media stream."
}
]
},
"ClockRate": {
"allOf": [
{
"$ref": "#/components/schemas/__integer"
},
{
"xml": {
"name": "clockRate"
},
"description": "The sample rate for the stream. This value is measured in Hz."
}
]
},
"Description": {
"allOf": [
{
"$ref": "#/components/schemas/__string"
},
{
"xml": {
"name": "description"
},
"description": "A description that can help you quickly identify what your media stream is used for."
}
]
},
"Fmt": {
"allOf": [
{
"$ref": "#/components/schemas/__integer"
},
{
"xml": {
"name": "fmt"
},
"description": "The format type number (sometimes referred to as RTP payload type) of the media stream. MediaConnect assigns this value to the media stream. For ST 2110 JPEG XS outputs, you need to provide this value to the receiver."
}
]
},
"MediaStreamId": {
"allOf": [
{
"$ref": "#/components/schemas/__integer"
},
{
"xml": {
"name": "mediaStreamId"
},
"description": "A unique identifier for the media stream."
}
]
},
"MediaStreamName": {
"allOf": [
{
"$ref": "#/components/schemas/__string"
},
{
"xml": {
"name": "mediaStreamName"
},
"description": "A name that helps you distinguish one media stream from another."
}
]
},
"MediaStreamType": {
"allOf": [
{
"$ref": "#/components/schemas/MediaStreamType"
},
{
"xml": {
"name": "mediaStreamType"
},
"description": "The type of media stream."
}
]
},
"VideoFormat": {
"allOf": [
{
"$ref": "#/components/schemas/__string"
},
{
"xml": {
"name": "videoFormat"
},
"description": "The resolution of the video."
}
]
}
},
"required": [
"MediaStreamType",
"MediaStreamId",
"MediaStreamName",
"Fmt"
]
}
Discovery needs no key. Ratings and market analysis are Pro.
Get an API key
Free tier, no form to fill in. Signing in shares your email address with us — we
store it to create your key and to recognise you if you sign in with another
provider. See our Privacy Policy and
Terms.