Class RtmpGlobal
Global static data common for the whole application
public static class RtmpGlobal
- Inheritance
-
RtmpGlobal
- Inherited Members
Fields
ForceAacAdts
Whether to force convertion to ADTS format of received raw AAC bitstream
public static bool ForceAacAdts
Field Value
RtmpApplication
RTMP application name
public static string RtmpApplication
Field Value
RtmpDefaultAckWindowSize
RTMP default ack window size
public static int RtmpDefaultAckWindowSize
Field Value
RtmpDefaultOurChunkSize
Default chunk size of our messages
public static int RtmpDefaultOurChunkSize
Field Value
RtmpMaxConnections
Maximum number of simultaneous RTMP connections.
public static int RtmpMaxConnections
Field Value
RtmpSessionInactivityTimeoutMs
Inactivity timeout after which RTMP session will be disposed
public static int RtmpSessionInactivityTimeoutMs
Field Value
RtmpTimescale
RTMP timescale
public static readonly Rational RtmpTimescale
Field Value
TransportBufferSize
Transport buffer size used to accumulate received data. This must be equal or bigger than RtmpOurChunkSize
public const int TransportBufferSize = 8192
Field Value
VerifyHandshake
Gets or sets whether to verify handshake data validity
public static bool VerifyHandshake
Field Value
Properties
AcceptOnlyAbsoluteTimePublisher
Gets or sets whether only publishers providing absolute synchronization time will be accepted. False by default, i.e. all publishers are accepted.
public static bool AcceptOnlyAbsoluteTimePublisher { get; set; }
Property Value
EnableBandwidthMonitoring
Gets or sets whether to allow publishing bandwidth monitoring logic when both client and server peers are using VASTreaming library. The logic can be used to lower/increase bitrate automatically based on current stat. Enabled by default.
public static bool EnableBandwidthMonitoring { get; set; }
Property Value
ReconnectionRetries
Gets or sets number of times RTMP publisher retries to connect to a server before it fails with a critical error. The default value is 3. The value int.MaxValue means a publisher never fails and keeps re-connecting endlessly.
public static int ReconnectionRetries { get; set; }