public class RtspMediaServerSettings
extends java.lang.Object
implements java.io.Serializable
Constructor and Description |
---|
RtspMediaServerSettings() |
RtspMediaServerSettings(boolean enabled,
java.lang.String rtspIpAddress,
int rtspTcpPort,
java.lang.String rtpIpAddress,
int rtpBasePort,
boolean traceSignalling,
boolean natInUse,
java.lang.String natRtspIpAddress,
int natRtspTcpPort,
java.lang.String natRtpIpAddress,
int natRtpBasePort)
Creates a configuration for the RTSP media server with the
specified parameters.
|
RtspMediaServerSettings(RtspMediaServerSettings other) |
Modifier and Type | Method and Description |
---|---|
int |
getNatRtpBasePort() |
java.lang.String |
getNatRtpIpAddress() |
java.lang.String |
getNatRtspIpAddress() |
int |
getNatRtspTcpPort() |
int |
getRtpBasePort() |
java.lang.String |
getRtpIpAddress() |
java.lang.String |
getRtspIpAddress() |
int |
getRtspTcpPort() |
boolean |
isEnabled() |
boolean |
isNatInUse() |
boolean |
isTraceSignalling() |
void |
setEnabled(boolean enabled) |
void |
setNatInUse(boolean natInUse) |
void |
setNatRtpBasePort(int natRtpBasePort) |
void |
setNatRtpIpAddress(java.lang.String natRtpIpAddress) |
void |
setNatRtspIpAddress(java.lang.String natRtspIpAddress) |
void |
setNatRtspTcpPort(int natRtspTcpPort) |
void |
setRtpBasePort(int rtpBasePort) |
void |
setRtpIpAddress(java.lang.String rtpIpAddress) |
void |
setRtspIpAddress(java.lang.String rtspIpAddress) |
void |
setRtspTcpPort(int rtspTcpPort) |
void |
setTraceSignalling(boolean traceSignalling) |
java.lang.String |
toString() |
public RtspMediaServerSettings(boolean enabled, java.lang.String rtspIpAddress, int rtspTcpPort, java.lang.String rtpIpAddress, int rtpBasePort, boolean traceSignalling, boolean natInUse, java.lang.String natRtspIpAddress, int natRtspTcpPort, java.lang.String natRtpIpAddress, int natRtpBasePort)
enabled
- Set to true
to enable the RTSP media server.rtspIpAddress
- The IP address to use for the RTSP service. Must be one of of the
IP addresses assigned to the system.rtspTcpPort
- The TCP port to use for the RTSP service.rtpIpAddress
- The IP address to use for the RTP services. Must be one of of the
IP addresses assigned to the system.rtpBasePort
- The base UDP port to use for the RTP service. The system will use
RTP port in the range from rtpBasePort to
(rtpBasePort + 2 * VoIP channel count).traceSignalling
- Set this to true
to enable logging of RTSP messages.natInUse
- Set to true
if the SIP media server is behind a
Full Cone NAT.natRtspIpAddress
- The IP address to use in RTSP messages. Must be the public IP
of the NAT.natRtspTcpPort
- The TCP port to use in RTSP messages. Must be a port on the
NAT that is forwarding to rtspTcpPort.natRtpIpAddress
- The IP address to use in RTSP/SDP messages. Must be the public IP
of the NAT.natRtpBasePort
- The base UDP port to use in RTSP/SDP messages. Must be the base
RTP port in the range from natRtpBasePort to
(natRtpBasePort + 2 * VoIP channel count) that are forwarding
to the (rtpBasePort + 2 * VoIP channel count) ports.public RtspMediaServerSettings()
public RtspMediaServerSettings(RtspMediaServerSettings other)
public boolean isEnabled()
public void setEnabled(boolean enabled)
public java.lang.String getRtspIpAddress()
public void setRtspIpAddress(java.lang.String rtspIpAddress)
public int getRtspTcpPort()
public void setRtspTcpPort(int rtspTcpPort)
public java.lang.String getRtpIpAddress()
public void setRtpIpAddress(java.lang.String rtpIpAddress)
public int getRtpBasePort()
public void setRtpBasePort(int rtpBasePort)
public boolean isTraceSignalling()
public void setTraceSignalling(boolean traceSignalling)
public boolean isNatInUse()
public void setNatInUse(boolean natInUse)
public java.lang.String getNatRtspIpAddress()
public void setNatRtspIpAddress(java.lang.String natRtspIpAddress)
public int getNatRtspTcpPort()
public void setNatRtspTcpPort(int natRtspTcpPort)
public java.lang.String getNatRtpIpAddress()
public void setNatRtpIpAddress(java.lang.String natRtpIpAddress)
public int getNatRtpBasePort()
public void setNatRtpBasePort(int natRtpBasePort)
public java.lang.String toString()
toString
in class java.lang.Object
Copyright ©, 2005-2019 Prolancer Pty Ltd, Sydney Australia.