Class CfnRouterOutput.RtmpPushRouterOutputConfigurationProperty
The configuration settings for a router output that pushes a stream to a destination using the RTMP (Real-Time Messaging Protocol) protocol, or RTMPS (RTMP over TLS) when TLS encryption is specified.
Inherited Members
Namespace: Amazon.CDK.AWS.MediaConnect
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class CfnRouterOutput.RtmpPushRouterOutputConfigurationProperty : CfnRouterOutput.IRtmpPushRouterOutputConfigurationProperty
Syntax (vb)
Public Class CfnRouterOutput.RtmpPushRouterOutputConfigurationProperty Implements CfnRouterOutput.IRtmpPushRouterOutputConfigurationProperty
Remarks
These settings include the destination address and port, the application and stream names, and optional TLS encryption configuration.
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.MediaConnect;
var public_;
var rtmpPushRouterOutputConfigurationProperty = new RtmpPushRouterOutputConfigurationProperty {
ApplicationName = "applicationName",
DestinationAddress = "destinationAddress",
DestinationPort = 123,
StreamName = "streamName",
// the properties below are optional
TlsEncryption = new TlsEncryptionProperty {
EncryptionConfiguration = new TlsEncryptionConfigurationProperty {
Public = public_
},
// the properties below are optional
EncryptionType = "encryptionType"
}
};
Synopsis
Constructors
| RtmpPushRouterOutputConfigurationProperty() | The configuration settings for a router output that pushes a stream to a destination using the RTMP (Real-Time Messaging Protocol) protocol, or RTMPS (RTMP over TLS) when TLS encryption is specified. |
Properties
| ApplicationName | The name of the RTMP application on the destination server. |
| DestinationAddress | The IP address or hostname of the destination RTMP server that the router output pushes the stream to. |
| DestinationPort | The TCP port on the destination RTMP server. |
| StreamName | The name of the RTMP stream that the output publishes to the destination application. |
| TlsEncryption | The Transport Layer Security (TLS) encryption settings used to establish a secure connection to a destination. |
Constructors
RtmpPushRouterOutputConfigurationProperty()
The configuration settings for a router output that pushes a stream to a destination using the RTMP (Real-Time Messaging Protocol) protocol, or RTMPS (RTMP over TLS) when TLS encryption is specified.
public RtmpPushRouterOutputConfigurationProperty()
Remarks
These settings include the destination address and port, the application and stream names, and optional TLS encryption configuration.
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.MediaConnect;
var public_;
var rtmpPushRouterOutputConfigurationProperty = new RtmpPushRouterOutputConfigurationProperty {
ApplicationName = "applicationName",
DestinationAddress = "destinationAddress",
DestinationPort = 123,
StreamName = "streamName",
// the properties below are optional
TlsEncryption = new TlsEncryptionProperty {
EncryptionConfiguration = new TlsEncryptionConfigurationProperty {
Public = public_
},
// the properties below are optional
EncryptionType = "encryptionType"
}
};
Properties
ApplicationName
The name of the RTMP application on the destination server.
public string ApplicationName { get; set; }
Property Value
Remarks
Together with the stream name, the application name forms the RTMP URL path, in the pattern rtmp://destinationAddress/applicationName/streamName.
DestinationAddress
The IP address or hostname of the destination RTMP server that the router output pushes the stream to.
public string DestinationAddress { get; set; }
Property Value
Remarks
Provide only the server address; specify the application and stream names separately.
DestinationPort
The TCP port on the destination RTMP server.
public double DestinationPort { get; set; }
Property Value
Remarks
For RTMP, valid values range from 1024 to 65535. For RTMPS (RTMP over TLS), valid values are 443 or 1024 to 65535. RTMP typically uses port 1935, and RTMPS typically uses port 443.
StreamName
The name of the RTMP stream that the output publishes to the destination application.
public string StreamName { get; set; }
Property Value
Remarks
The stream name forms the final segment of the RTMP URL path.
TlsEncryption
The Transport Layer Security (TLS) encryption settings used to establish a secure connection to a destination.
public object? TlsEncryption { get; set; }