Class RTMPSinkSettings
RTMP sink settings.
Implements
Inherited Members
Namespace: VisioForge.Core.Types.X.Sinks
Assembly: VisioForge.Core.dll
Syntax
public class RTMPSinkSettings : IMediaBlockSettings
Properties
Application
Gets or sets the RTMP application path.
Declaration
public string Application { get; set; }
Property Value
Type | Description |
---|---|
string |
AsyncConnect
Gets or sets a value indicating whether to connect on READY, otherwise on first push.
Declaration
public bool AsyncConnect { get; set; }
Property Value
Type | Description |
---|---|
bool |
AuthMode
Gets or sets the authentication mode.
Declaration
public RTMPAuthMode AuthMode { get; set; }
Property Value
Type | Description |
---|---|
RTMPAuthMode |
ChunkSize
Gets or sets the RTMP chunk size.
Declaration
public uint ChunkSize { get; set; }
Property Value
Type | Description |
---|---|
uint |
FlashVersion
Gets or sets the flash version reported to the server.
Declaration
public string FlashVersion { get; set; }
Property Value
Type | Description |
---|---|
string |
Host
Gets or sets the RTMP server host name.
Declaration
public string Host { get; set; }
Property Value
Type | Description |
---|---|
string |
Location
Gets or sets the location of RTMP stream to access.
Declaration
public string Location { get; set; }
Property Value
Type | Description |
---|---|
string |
Password
Gets or sets the RTMP authorization password.
Declaration
public string Password { get; set; }
Property Value
Type | Description |
---|---|
string |
PeakBitrate
Gets or sets the bitrate in Kbps to pace outgoing packets.
Declaration
public uint PeakBitrate { get; set; }
Property Value
Type | Description |
---|---|
uint |
Port
Gets or sets the RTMP server port.
Declaration
public int Port { get; set; }
Property Value
Type | Description |
---|---|
int |
Scheme
Gets or sets the RTMP connection scheme.
Declaration
public RTMPScheme Scheme { get; set; }
Property Value
Type | Description |
---|---|
RTMPScheme |
SecureToken
Gets or sets the RTMP authorization token.
Declaration
public string SecureToken { get; set; }
Property Value
Type | Description |
---|---|
string |
StopCommands
Gets or sets which commands (if any) to send on EOS event before closing connection.
Declaration
public RTMPStopCommands StopCommands { get; set; }
Property Value
Type | Description |
---|---|
RTMPStopCommands |
Stream
Gets or sets the RTMP stream path.
Declaration
public string Stream { get; set; }
Property Value
Type | Description |
---|---|
string |
TLSValidationFlags
Gets or sets the TLS validation flags.
Declaration
public RTMPTLSCertificateFlags TLSValidationFlags { get; set; }
Property Value
Type | Description |
---|---|
RTMPTLSCertificateFlags |
Timeout
Gets or sets the RTMP timeout.
Declaration
public TimeSpan Timeout { get; set; }
Property Value
Type | Description |
---|---|
TimeSpan |
Username
Gets or sets the RTMP authorization user name.
Declaration
public string Username { get; set; }
Property Value
Type | Description |
---|---|
string |
Methods
CreateBlock()
Creates the block.
Declaration
public MediaBlock CreateBlock()
Returns
Type | Description |
---|---|
MediaBlock | MediaBlock. |