Class MediaPortManager
Class for managing allocation of UDP and TCP ports for audio, video, RTT and MSRP media.
Inherited Members
Namespace: SipLib.Media
Assembly: SipLib.dll
Syntax
public class MediaPortManager
Constructors
| Edit this page View SourceMediaPortManager(MediaPortSettings)
Constructor
Declaration
public MediaPortManager(MediaPortSettings settings)
Parameters
Type | Name | Description |
---|---|---|
MediaPortSettings | settings | Media port range allocations for each type of media. |
Properties
| Edit this page View SourceNextAudioPort
Gets the next port to use for audio media. The return value is for audio media. The return value + 1 may be used for RTCP for the audio stream.
Declaration
public int NextAudioPort { get; }
Property Value
Type | Description |
---|---|
int |
NextMsrpPort
Gets the next port to use for MSRP media. RTCP is not used for MSRP so only the return value may be used for the MSRP media.
Declaration
public int NextMsrpPort { get; }
Property Value
Type | Description |
---|---|
int |
NextRttPort
Gets the next port to use for RTT media. The return value is for RTT media. The return value + 1 may be used for RTCP for the RTT stream.
Declaration
public int NextRttPort { get; }
Property Value
Type | Description |
---|---|
int |
NextVideoPort
Gets the next port to use for video media. The return value is for video media. The return value + 1 may be used for RTCP for the video stream.
Declaration
public int NextVideoPort { get; }
Property Value
Type | Description |
---|---|
int |