Package com.wowza.wms.rtp.model
Class RTPDestination
Object
com.wowza.wms.rtp.model.RTPDestination
RTPDestination: Fully describes an RTP destination.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGet audio hostint
Get audio portgetHost()
Get the hostGet host type (default IP4)getName()
Get nameint
Get stream portint
getTTL()
Get time to liveGet video hostint
Get video portboolean
Return true if multicast destinationboolean
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 hostvoid
setAudioPort
(int audioPort) Set audio portvoid
Set hostvoid
setHostType
(String hostType) Set host type (default IP4)void
setMulticastInterfaceAddress
(String multicastInterfaceAddress) void
Set namevoid
setRTPWrapped
(boolean isRTPWrapped) Is stream wrapped in RTP (MPEG-TS in RTP)void
setStreamPort
(int streamPort) Set stream portvoid
setTTL
(int ttl) Set time to livevoid
setVideoHost
(String videoHost) Set video hostvoid
setVideoPort
(int videoPort) Set video porttoString()
-
Constructor Details
-
RTPDestination
public RTPDestination()
-
-
Method Details
-
toString
-
isMulticast
public boolean isMulticast()Return true if multicast destination- Returns:
- true if multicast destination
-
isStream
public boolean isStream()Return true if stream destination (and not native RTP destination)- Returns:
- true if stream destination
-
getHost
Get the host- Returns:
- host
-
setHost
Set host- Parameters:
host
- host
-
getVideoPort
public int getVideoPort()Get video port- Returns:
- video port
-
setVideoPort
public void setVideoPort(int videoPort) Set video port- Parameters:
videoPort
- video port
-
getAudioPort
public int getAudioPort()Get audio port- Returns:
- audio port
-
setAudioPort
public void setAudioPort(int audioPort) Set audio port- Parameters:
audioPort
- audio port
-
getStreamPort
public int getStreamPort()Get stream port- Returns:
- stream port
-
setStreamPort
public void setStreamPort(int streamPort) Set stream port- Parameters:
streamPort
- stream port
-
getVideoHost
Get video host- Returns:
- video host
-
setVideoHost
Set video host- Parameters:
videoHost
- video host
-
getAudioHost
Get audio host- Returns:
- audio host
-
setAudioHost
Set audio host- Parameters:
audioHost
- audio host
-
getHostType
Get host type (default IP4)- Returns:
- host type
-
setHostType
Set host type (default IP4)- Parameters:
hostType
- host type
-
getTTL
public int getTTL()Get time to live- Returns:
- time to live
-
setTTL
public void setTTL(int ttl) Set time to live- Parameters:
ttl
- time to live
-
isRTPWrapped
public boolean isRTPWrapped()Is stream wrapped in RTP (MPEG-TS in RTP)- Returns:
- true if stream wrapped in RTP
-
setRTPWrapped
public void setRTPWrapped(boolean isRTPWrapped) Is stream wrapped in RTP (MPEG-TS in RTP)- Parameters:
isRTPWrapped
- true if stream wrapped in RTP
-
getName
Get name- Returns:
- name
-
setName
Set name- Parameters:
name
- name
-
getMulticastInterfaceAddress
-
setMulticastInterfaceAddress
-