LumiSoft Net Help
SDP_MediaDescription Constructor (mediaType, port, ports, protocol, mediaFormats)
Namespaces ► LumiSoft.Net.SDP ► SDP_MediaDescription ► SDP_MediaDescription(String, Int32, Int32, String, array<String>[]()[][])
Default constructor.
Declaration Syntax

C# | Visual Basic | Visual C++ | F#

    public SDP_MediaDescription(
    	string mediaType,
    	int port,
    	int ports,
    	string protocol,
    	string[] mediaFormats
    )

    Public Sub New (
    	mediaType As String,
    	port As Integer,
    	ports As Integer,
    	protocol As String,
    	mediaFormats As String()
    )

    public:
    SDP_MediaDescription(
    	String^ mediaType,
    	int port,
    	int ports,
    	String^ protocol,
    	array<String^>^ mediaFormats
    )

    new :
            mediaType : string *
            port : int *
            ports : int *
            protocol : string *
            mediaFormats : string[] -> SDP_MediaDescription

Parameters

mediaType (String)
  SDP media type. List of knwon values SDP_MediaTypes.

port (Int32)
  Media transport port.

ports (Int32)
  Number of continuos transport ports.

protocol (String)
  Gets or sets transport protocol.

mediaFormats (array<String>[]()[][])
  Media formats. See MediaFormats property for more info.

Exceptions

Exception | Condition
--- | ---
ArgumentNullException | Is raised when mediaType or protocol is null reference.
ArgumentException | Is raised when any of the arguments has invalid value.

Assembly: LumiSoft.Net (Module: LumiSoft.Net.dll) Version: 4.5.5510.19119