Table of Contents

Class RtmpGlobal

Namespace
VAST.RTMP
Assembly
VAST.RTMP.dll

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

bool

RtmpApplication

RTMP application name

public static string RtmpApplication

Field Value

string

RtmpDefaultAckWindowSize

RTMP default ack window size

public static int RtmpDefaultAckWindowSize

Field Value

int

RtmpDefaultOurChunkSize

Default chunk size of our messages

public static int RtmpDefaultOurChunkSize

Field Value

int

RtmpMaxConnections

Maximum number of simultaneous RTMP connections.

public static int RtmpMaxConnections

Field Value

int

RtmpSessionInactivityTimeoutMs

Inactivity timeout after which RTMP session will be disposed

public static int RtmpSessionInactivityTimeoutMs

Field Value

int

RtmpTimescale

RTMP timescale

public static readonly Rational RtmpTimescale

Field Value

Rational

TransportBufferSize

Transport buffer size used to accumulate received data. This must be equal or bigger than RtmpOurChunkSize

public const int TransportBufferSize = 8192

Field Value

int

VerifyHandshake

Gets or sets whether to verify handshake data validity

public static bool VerifyHandshake

Field Value

bool

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

bool

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

bool

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; }

Property Value

int