Package com.wowza.wms.rtp.model
Class RTPDestination
- Object
- 
- com.wowza.wms.rtp.model.RTPDestination
 
- 
 public class RTPDestination extends ObjectRTPDestination: Fully describes an RTP destination. 
- 
- 
Constructor SummaryConstructors Constructor Description RTPDestination()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetAudioHost()Get audio hostintgetAudioPort()Get audio portStringgetHost()Get the hostStringgetHostType()Get host type (default IP4)StringgetMulticastInterfaceAddress()StringgetName()Get nameintgetStreamPort()Get stream portintgetTTL()Get time to liveStringgetVideoHost()Get video hostintgetVideoPort()Get video portbooleanisMulticast()Return true if multicast destinationbooleanisRTPWrapped()Is stream wrapped in RTP (MPEG-TS in RTP)booleanisStream()Return true if stream destination (and not native RTP destination)voidsetAudioHost(String audioHost)Set audio hostvoidsetAudioPort(int audioPort)Set audio portvoidsetHost(String host)Set hostvoidsetHostType(String hostType)Set host type (default IP4)voidsetMulticastInterfaceAddress(String multicastInterfaceAddress)voidsetName(String name)Set namevoidsetRTPWrapped(boolean isRTPWrapped)Is stream wrapped in RTP (MPEG-TS in RTP)voidsetStreamPort(int streamPort)Set stream portvoidsetTTL(int ttl)Set time to livevoidsetVideoHost(String videoHost)Set video hostvoidsetVideoPort(int videoPort)Set video portStringtoString()
 
- 
- 
- 
Method Detail- 
toStringpublic String toString() - Overrides:
- toStringin class- Object
 
 - 
isMulticastpublic boolean isMulticast() Return true if multicast destination- Returns:
- true if multicast destination
 
 - 
isStreampublic boolean isStream() Return true if stream destination (and not native RTP destination)- Returns:
- true if stream destination
 
 - 
getHostpublic String getHost() Get the host- Returns:
- host
 
 - 
setHostpublic void setHost(String host) Set host- Parameters:
- host- host
 
 - 
getVideoPortpublic int getVideoPort() Get video port- Returns:
- video port
 
 - 
setVideoPortpublic void setVideoPort(int videoPort) Set video port- Parameters:
- videoPort- video port
 
 - 
getAudioPortpublic int getAudioPort() Get audio port- Returns:
- audio port
 
 - 
setAudioPortpublic void setAudioPort(int audioPort) Set audio port- Parameters:
- audioPort- audio port
 
 - 
getStreamPortpublic int getStreamPort() Get stream port- Returns:
- stream port
 
 - 
setStreamPortpublic void setStreamPort(int streamPort) Set stream port- Parameters:
- streamPort- stream port
 
 - 
getVideoHostpublic String getVideoHost() Get video host- Returns:
- video host
 
 - 
setVideoHostpublic void setVideoHost(String videoHost) Set video host- Parameters:
- videoHost- video host
 
 - 
getAudioHostpublic String getAudioHost() Get audio host- Returns:
- audio host
 
 - 
setAudioHostpublic void setAudioHost(String audioHost) Set audio host- Parameters:
- audioHost- audio host
 
 - 
getHostTypepublic String getHostType() Get host type (default IP4)- Returns:
- host type
 
 - 
setHostTypepublic void setHostType(String hostType) Set host type (default IP4)- Parameters:
- hostType- host type
 
 - 
getTTLpublic int getTTL() Get time to live- Returns:
- time to live
 
 - 
setTTLpublic void setTTL(int ttl) Set time to live- Parameters:
- ttl- time to live
 
 - 
isRTPWrappedpublic boolean isRTPWrapped() Is stream wrapped in RTP (MPEG-TS in RTP)- Returns:
- true if stream wrapped in RTP
 
 - 
setRTPWrappedpublic void setRTPWrapped(boolean isRTPWrapped) Is stream wrapped in RTP (MPEG-TS in RTP)- Parameters:
- isRTPWrapped- true if stream wrapped in RTP
 
 - 
getNamepublic String getName() Get name- Returns:
- name
 
 - 
setNamepublic void setName(String name) Set name- Parameters:
- name- name
 
 - 
getMulticastInterfaceAddresspublic String getMulticastInterfaceAddress() 
 - 
setMulticastInterfaceAddresspublic void setMulticastInterfaceAddress(String multicastInterfaceAddress) 
 
- 
 
-