Package com.wowza.wms.rtp.model
Class RTPDestination
- Object
-
- com.wowza.wms.rtp.model.RTPDestination
-
public class RTPDestination extends Object
RTPDestination: Fully describes an RTP destination.
-
-
Constructor Summary
Constructors Constructor Description RTPDestination()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getAudioHost()
Get audio hostint
getAudioPort()
Get audio portString
getHost()
Get the hostString
getHostType()
Get host type (default IP4)String
getMulticastInterfaceAddress()
String
getName()
Get nameint
getStreamPort()
Get stream portint
getTTL()
Get time to liveString
getVideoHost()
Get video hostint
getVideoPort()
Get video portboolean
isMulticast()
Return true if multicast destinationboolean
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 hostvoid
setAudioPort(int audioPort)
Set audio portvoid
setHost(String host)
Set hostvoid
setHostType(String hostType)
Set host type (default IP4)void
setMulticastInterfaceAddress(String multicastInterfaceAddress)
void
setName(String name)
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 portString
toString()
-
-
-
Method Detail
-
toString
public String toString()
- Overrides:
toString
in classObject
-
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
public String getHost()
Get the host- Returns:
- host
-
setHost
public void setHost(String host)
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
public String getVideoHost()
Get video host- Returns:
- video host
-
setVideoHost
public void setVideoHost(String videoHost)
Set video host- Parameters:
videoHost
- video host
-
getAudioHost
public String getAudioHost()
Get audio host- Returns:
- audio host
-
setAudioHost
public void setAudioHost(String audioHost)
Set audio host- Parameters:
audioHost
- audio host
-
getHostType
public String getHostType()
Get host type (default IP4)- Returns:
- host type
-
setHostType
public void setHostType(String hostType)
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
public String getName()
Get name- Returns:
- name
-
setName
public void setName(String name)
Set name- Parameters:
name
- name
-
getMulticastInterfaceAddress
public String getMulticastInterfaceAddress()
-
setMulticastInterfaceAddress
public void setMulticastInterfaceAddress(String multicastInterfaceAddress)
-
-