com.wowza.wms.rtp.model
Class RTPDestination

Object
  extended by com.wowza.wms.rtp.model.RTPDestination

public class RTPDestination
extends Object

RTPDestination: Fully describes an RTP destination.


Constructor Summary
RTPDestination()
           
 
Method Summary
 String getAudioHost()
          Get audio host
 int getAudioPort()
          Get audio port
 String getHost()
          Get the host
 String getHostType()
          Get host type (default IP4)
 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 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()
           
 
Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

RTPDestination

public RTPDestination()
Method Detail

getAudioHost

public String getAudioHost()
Get audio host

Returns:
audio host

getAudioPort

public int getAudioPort()
Get audio port

Returns:
audio port

getHost

public String getHost()
Get the host

Returns:
host

getHostType

public String getHostType()
Get host type (default IP4)

Returns:
host type

getName

public String getName()
Get name

Returns:
name

getStreamPort

public int getStreamPort()
Get stream port

Returns:
stream port

getTTL

public int getTTL()
Get time to live

Returns:
time to live

getVideoHost

public String getVideoHost()
Get video host

Returns:
video host

getVideoPort

public int getVideoPort()
Get video port

Returns:
video port

isMulticast

public boolean isMulticast()
Return true if multicast destination

Returns:
true if multicast destination

isRTPWrapped

public boolean isRTPWrapped()
Is stream wrapped in RTP (MPEG-TS in RTP)

Returns:
true if stream wrapped in RTP

isStream

public boolean isStream()
Return true if stream destination (and not native RTP destination)

Returns:
true if stream destination

setAudioHost

public void setAudioHost(String audioHost)
Set audio host

Parameters:
audioHost - audio host

setAudioPort

public void setAudioPort(int audioPort)
Set audio port

Parameters:
audioPort - audio port

setHost

public void setHost(String host)
Set host

Parameters:
host - host

setHostType

public void setHostType(String hostType)
Set host type (default IP4)

Parameters:
hostType - host type

setName

public void setName(String name)
Set name

Parameters:
name - name

setRTPWrapped

public void setRTPWrapped(boolean isRTPWrapped)
Is stream wrapped in RTP (MPEG-TS in RTP)

Parameters:
isRTPWrapped - true if stream wrapped in RTP

setStreamPort

public void setStreamPort(int streamPort)
Set stream port

Parameters:
streamPort - stream port

setTTL

public void setTTL(int ttl)
Set time to live

Parameters:
ttl - time to live

setVideoHost

public void setVideoHost(String videoHost)
Set video host

Parameters:
videoHost - video host

setVideoPort

public void setVideoPort(int videoPort)
Set video port

Parameters:
videoPort - video port

toString

public String toString()
Overrides:
toString in class Object