Table of Contents

Class RtmpServerParameters

Namespace
VAST.RTMP
Assembly
VAST.RTMP.dll

Provides configuration parameters for an RTMP server instance.

public class RtmpServerParameters
Inheritance
RtmpServerParameters
Inherited Members

Constructors

RtmpServerParameters()

public RtmpServerParameters()

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 bool AcceptOnlyAbsoluteTimePublisher { get; set; }

Property Value

bool

CertificateThumbprint

Gets or sets certificate thumbprint of certificate to be used in RTSPS server

public string CertificateThumbprint { get; set; }

Property Value

string

DropRejectedPublisherImmediately

Gets or sets whether unauthorized publisher session should be dropped immediately, without sending proper error code to a client. Can be used to prevent abusive client libraries from DOSing a server. False by default, i.e. server sends error response to a publisher and waiting for it to close a session.

public bool DropRejectedPublisherImmediately { get; set; }

Property Value

bool

DropSessionOnMediaTypeChange

Gets or sets whether RTMP session should be dropped automatically when remote peer changes type of any media stream on the fly. This can occur with some drones changing video stream parameters or even resolution in midstream. True by default.

public bool DropSessionOnMediaTypeChange { get; set; }

Property Value

bool

RtmpApplication

Gets or sets RTMP application name server will be accepting. Application name can be * which means server accepts any application name.

public string RtmpApplication { get; set; }

Property Value

string

RtmpEndPoint

Gets or sets local address and port to listen to RTMP protocol on

[Obsolete("Property is deprecated. Use RtmpEndPoints instead.")]
public IPEndPoint RtmpEndPoint { get; set; }

Property Value

IPEndPoint

RtmpEndPoints

Gets the list of network endpoints that the server listens on for incoming RTMP connections.

public List<IPEndPoint> RtmpEndPoints { get; }

Property Value

List<IPEndPoint>

Remarks

By default, the list is empty and must be initialized by user.

RtmpsEndPoint

Gets or sets local address and port to listen to RTMPS protocol on

[Obsolete("Property is deprecated. Use RtmpsEndPoints instead.")]
public IPEndPoint RtmpsEndPoint { get; set; }

Property Value

IPEndPoint

RtmpsEndPoints

Gets the list of network endpoints that the server listens on for incoming RTMPS connections.

public List<IPEndPoint> RtmpsEndPoints { get; }

Property Value

List<IPEndPoint>

Remarks

By default, the list is empty and must be initialized by user.

RtmptPath

Gets or sets path relative to a root HTTP server path to resolve request as RTMPT

public string RtmptPath { get; set; }

Property Value

string

VerifyHandshake

Gets or sets whether to verify handshake data validity

public bool VerifyHandshake { get; set; }

Property Value

bool

Methods

Clone()

Creates a shallow copy of the current RtmpServerParameters instance.

public RtmpServerParameters Clone()

Returns

RtmpServerParameters

A new RtmpServerParameters with the same values as the current instance.

Equals(RtmpServerParameters)

Determines whether the specified RtmpServerParameters is equal to the current instance.

public bool Equals(RtmpServerParameters obj)

Parameters

obj RtmpServerParameters

The RtmpServerParameters to compare with the current instance.

Returns

bool

true if the specified parameters are equal to the current instance; otherwise, false.