Class RTSPRAWSourceSettings
RTSP RAW source settings.
Inherited Members
Namespace: VisioForge.Core.Types.X.Sources
Assembly: VisioForge.Core.dll
Syntax
public class RTSPRAWSourceSettings : IMediaPlayerBaseSourceSettings, IVideoSourceSettings, IMediaBlockSettings
  Constructors
RTSPRAWSourceSettings(Uri, bool)
Initializes a new instance of the RTSPRAWSourceSettings class.
Declaration
public RTSPRAWSourceSettings(Uri uri, bool audioEnabled)
  Parameters
| Type | Name | Description | 
|---|---|---|
| Uri | uri | The URI.  | 
      
| bool | audioEnabled | if set to   | 
      
Properties
AllowedProtocols
Gets or sets the allowed protocols.
Declaration
public RTSPSourceProtocol AllowedProtocols { get; set; }
  Property Value
| Type | Description | 
|---|---|
| RTSPSourceProtocol | 
AudioEnabled
Gets or sets a value indicating whether audio stream is enabled.
Declaration
public bool AudioEnabled { get; set; }
  Property Value
| Type | Description | 
|---|---|
| bool | 
DecodeAudioStream
Gets or sets a value indicating whether to decode audio stream. May be required if you want to save an original video stream and PCM audio to a file.
Declaration
public bool DecodeAudioStream { get; set; }
  Property Value
| Type | Description | 
|---|---|
| bool | 
DoRTCP
Gets or sets a value indicating whether do RTCP.
Declaration
public bool DoRTCP { get; set; }
  Property Value
| Type | Description | 
|---|---|
| bool | 
  | 
      
Latency
Gets or sets the latency.
Declaration
public int Latency { get; set; }
  Property Value
| Type | Description | 
|---|---|
| int | 
Login
Gets or sets the login.
Declaration
public string Login { get; set; }
  Property Value
| Type | Description | 
|---|---|
| string | 
Password
Gets or sets the password.
Declaration
public string Password { get; set; }
  Property Value
| Type | Description | 
|---|---|
| string | 
RTPBlockSize
Gets or sets the size of the RTP block.
Declaration
public int RTPBlockSize { get; set; }
  Property Value
| Type | Description | 
|---|---|
| int | 
UDPBufferSize
Gets or sets the size of the UDP buffer.
Declaration
public int UDPBufferSize { get; set; }
  Property Value
| Type | Description | 
|---|---|
| int | 
Uri
Gets or sets the URI.
Declaration
public Uri Uri { get; set; }
  Property Value
| Type | Description | 
|---|---|
| Uri | 
Methods
CreateBlock()
Creates the block.
Declaration
public MediaBlock CreateBlock()
  Returns
| Type | Description | 
|---|---|
| MediaBlock | MediaBlock.  | 
      
ReadInfoAsync()
Read information as an asynchronous operation.
Declaration
public Task<MediaFileInfo> ReadInfoAsync()
  Returns
| Type | Description | 
|---|---|
| Task<MediaFileInfo> | A Task<MediaFileInfo> representing the asynchronous operation.  |