public class RTPDestination
extends Object
RTPDestination: Fully describes an RTP destination.
| Constructor | Description |
|---|---|
RTPDestination() |
| Modifier and Type | Method | Description |
|---|---|---|
String |
getAudioHost() |
Get audio host
|
int |
getAudioPort() |
Get audio port
|
String |
getHost() |
Get the host
|
String |
getHostType() |
Get host type (default IP4)
|
String |
getMulticastInterfaceAddress() |
|
String |
getName() |
Get name
|
int |
getStreamPort() |
Get stream port
|
int |
getTTL() |
Get time to live
|
String |
getVideoHost() |
Get video host
|
int |
getVideoPort() |
Get video port
|
boolean |
isMulticast() |
Return true if multicast destination
|
boolean |
isRTPWrapped() |
Is stream wrapped in RTP (MPEG-TS in RTP)
|
boolean |
isStream() |
Return true if stream destination (and not native RTP destination)
|
void |
setAudioHost(String audioHost) |
Set audio host
|
void |
setAudioPort(int audioPort) |
Set audio port
|
void |
setHost(String host) |
Set host
|
void |
setHostType(String hostType) |
Set host type (default IP4)
|
void |
setMulticastInterfaceAddress(String multicastInterfaceAddress) |
|
void |
setName(String name) |
Set name
|
void |
setRTPWrapped(boolean isRTPWrapped) |
Is stream wrapped in RTP (MPEG-TS in RTP)
|
void |
setStreamPort(int streamPort) |
Set stream port
|
void |
setTTL(int ttl) |
Set time to live
|
void |
setVideoHost(String videoHost) |
Set video host
|
void |
setVideoPort(int videoPort) |
Set video port
|
String |
toString() |
public String getAudioHost()
public int getAudioPort()
public String getHost()
public String getHostType()
public String getMulticastInterfaceAddress()
public String getName()
public int getStreamPort()
public int getTTL()
public String getVideoHost()
public int getVideoPort()
public boolean isMulticast()
public boolean isRTPWrapped()
public boolean isStream()
public void setAudioHost(String audioHost)
audioHost - audio hostpublic void setAudioPort(int audioPort)
audioPort - audio portpublic void setHost(String host)
host - hostpublic void setHostType(String hostType)
hostType - host typepublic void setMulticastInterfaceAddress(String multicastInterfaceAddress)
public void setName(String name)
name - namepublic void setRTPWrapped(boolean isRTPWrapped)
isRTPWrapped - true if stream wrapped in RTPpublic void setStreamPort(int streamPort)
streamPort - stream portpublic void setTTL(int ttl)
ttl - time to livepublic void setVideoHost(String videoHost)
videoHost - video hostpublic void setVideoPort(int videoPort)
videoPort - video portpublic String toString()
toString in class Object