Interface CfnFlow.MediaStreamProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnFlow.MediaStreamProperty.Jsii$Proxy
- Enclosing class:
CfnFlow
@Stability(Stable)
public static interface CfnFlow.MediaStreamProperty
extends software.amazon.jsii.JsiiSerializable
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.
Example:
// The code below shows an example of how to instantiate this type. // The values are placeholders you should change. import software.amazon.awscdk.services.mediaconnect.*; MediaStreamProperty mediaStreamProperty = MediaStreamProperty.builder() .mediaStreamId(123) .mediaStreamName("mediaStreamName") .mediaStreamType("mediaStreamType") // the properties below are optional .attributes(MediaStreamAttributesProperty.builder() .fmtp(FmtpProperty.builder() .channelOrder("channelOrder") .colorimetry("colorimetry") .exactFramerate("exactFramerate") .par("par") .range("range") .scanMode("scanMode") .tcs("tcs") .build()) .lang("lang") .build()) .clockRate(123) .description("description") .fmt(123) .videoFormat("videoFormat") .build();
- See Also:
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic final class
A builder forCfnFlow.MediaStreamProperty
static final class
An implementation forCfnFlow.MediaStreamProperty
-
Method Summary
Modifier and TypeMethodDescriptionbuilder()
default Object
Attributes that are related to the media stream.default Number
The sample rate for the stream.default String
A description that can help you quickly identify what your media stream is used for.default Number
getFmt()
The format type number (sometimes referred to as RTP payload type) of the media stream.A unique identifier for the media stream.A name that helps you distinguish one media stream from another.The type of media stream.default String
The resolution of the video.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getMediaStreamId
A unique identifier for the media stream.- See Also:
-
getMediaStreamName
A name that helps you distinguish one media stream from another.- See Also:
-
getMediaStreamType
The type of media stream.- See Also:
-
getAttributes
Attributes that are related to the media stream.- See Also:
-
getClockRate
The sample rate for the stream.This value in measured in kHz.
- See Also:
-
getDescription
A description that can help you quickly identify what your media stream is used for.- See Also:
-
getFmt
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.
- See Also:
-
getVideoFormat
The resolution of the video.- See Also:
-
builder
-