|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
Objectcom.wowza.wms.rtp.model.RTPStream
public class RTPStream
RTPStream: RTP Stream class which encapsulates an IMediaStream class for RTP streaming.
| Field Summary | |
|---|---|
static int |
AVSYNCMETHODS_RTPTIMECODE
|
static int |
AVSYNCMETHODS_SENDERREPORT
|
static int |
AVSYNCMETHODS_SYSTEMCLOCK
|
static int |
AVSYNCMETHODS_UNKNOWN
|
static int |
MODE_PLAY
|
static int |
MODE_PUBLISH
|
static int |
MODE_UNKNOWN
|
static int |
SDPLOCATION_AUDIO
|
static int |
SDPLOCATION_STREAM
|
static int |
SDPLOCATION_VIDEO
|
static String |
STREAMINFO_SESSIONATTRIBUTES
|
static String |
STREAMINFO_SESSIONBANDWIDTH
|
static String |
STREAMINFO_SESSIONCONNECTIONDATA
|
static String |
STREAMINFO_SESSIONEMAILADDRESS
|
static String |
STREAMINFO_SESSIONINFORMATION
|
static String |
STREAMINFO_SESSIONNAME
|
static String |
STREAMINFO_SESSIONPHONENUMBER
|
static String |
STREAMINFO_SESSIONPORIGIN
|
static String |
STREAMINFO_SESSIONPROTOCOLVERSION
|
static String |
STREAMINFO_SESSIONREPEATTIMES
|
static String |
STREAMINFO_SESSIONTIMEZONES
|
static String |
STREAMINFO_SESSIONTIMING
|
static String |
STREAMINFO_SESSIONURI
|
| Constructor Summary | |
|---|---|
RTPStream(RTPContext context,
String streamId)
Constructor |
|
| Method Summary | |
|---|---|
void |
addStreamAttribute(String key,
String value)
Add a name value pair to the stream attribute collection |
void |
addStreamInfo(String key,
String value)
Add a name value pair to the stream info collection |
void |
addTrack(com.wowza.wms.rtp.model.RTPTrack track)
Add a track |
void |
addTrackId(String seq,
String trackId)
Add track |
void |
addTrackInternal(com.wowza.wms.rtp.model.RTPTrack track)
Add RTP track |
void |
announce(com.wowza.wms.rtp.model.RTPRequestStatus status)
Execute announce command |
void |
attachToWMSSession(com.wowza.wms.server.RtmpSessionInfo wmsSessionInfo)
Attach to WMS session, Internal use |
static int |
avSyncNameToId(String avSyncName)
Get audio/video sync id from name |
void |
checkSendMetadata(long adjTimecode)
Check to see if we have sent onMetadata event, if not send |
void |
clearRTSPSessionExtraLines()
Clear SDP extra lines |
void |
clearTracks()
Clear all tracks |
boolean |
createStream(com.wowza.wms.rtp.model.RTPRequestStatus status)
Create IMediaStream, Internal use. |
String |
describe(RTPSession rtspSession,
int isStreamPacketizer,
com.wowza.wms.rtp.model.RTPRequestStatus status)
Execute describe command |
String |
describe(RTPSession rtspSession,
com.wowza.wms.rtp.model.RTPRequestStatus status)
Execute describe command |
void |
detachFromWMSSession(com.wowza.wms.server.RtmpSessionInfo wmsSessionInfo)
Detach from WMS session, Internal use. |
void |
extractCodecConfigFromTrackInfo()
Extract codec config information from SDP data |
String |
formatRTPInfo(long timecode,
int videoSeq,
int audioSeq)
Format RTP info |
IApplicationInstance |
getAppInstance()
Get application instance |
String |
getAppInstanceName()
Get the application instance name |
String |
getAppName()
Get the application name |
com.wowza.wms.rtp.model.RTPTrack |
getAudioTrack()
Get the most likely audio track |
int |
getAutoAllocateInterleavePorts()
|
int |
getAVSyncMethod()
Get the audio/video sync method. |
double |
getDuration()
Get the duration of the stream if video on demand |
String |
getHost()
Get host |
AMFPacket[] |
getLastPacketsByType(IMediaReader localReader,
double startTime)
Analyzes stream to get information, Internal use. |
AMFPacket[] |
getLastPacketsByType(IMediaStream localStream)
Analyzes stream to get information, Internal use. |
int |
getMaxRTCPWaitTime()
Get max time to wait for RTCP sender reports (milliseconds) |
String |
getMediaCasterType()
Get the media caster stream type for this stream |
IMediaReader |
getMediaReader()
Get media reader if video on demand stream |
byte[] |
getMetadataPacket()
Get the onMetadata packet for this RTP stream |
int |
getMode()
Get the current play/publish mode |
int |
getMPEGTSAudioPID()
Get the audio PID id if MPEG-TS stream |
int |
getMPEGTSVideoPID()
Get the video PID id if MPEG-TS stream |
long |
getNormalizedNTPTimecode(long timecode)
Turn a millisecond timcode into an NTP timecode |
String |
getOutHost()
Get the out host |
RTPContext |
getRTPContext()
Get the RTP context |
RTPDestination |
getRTPDestination()
Get RTP destination |
String |
getRTPInfo(double startTime,
int videoSeq,
int audioSeq)
Get the RTP info |
String |
getRTSPBindIpAddress()
Get the bind RTSP bind IP address |
String |
getRTSPConnectionAddressType()
Get the connection address type |
String |
getRTSPConnectionIpAddress()
Get the connection IP address |
int |
getRTSPMaximumPendingWriteBytes()
Get the maximum number of waiting bytes allow for this RTSP session |
String |
getRTSPOriginAddressType()
Get the origin address type |
String |
getRTSPOriginIpAddress()
Get the origin IP address |
String |
getRTSPSessionDescription()
Get session description |
java.util.List<com.wowza.wms.rtp.model.RTPStream.RTSPExtraLine> |
getRTSPSessionExtraLines()
Get extra SDP lines |
String |
getRTSPSessionName()
Get session name |
int |
getRTSPSessionTimeout()
Get RTP session timeout (milliseconds) |
String |
getSDPLang()
Get the SDP language |
RTPSession |
getSession()
Get the RTP session |
IMediaStream |
getStream()
Get the IMediaStream |
java.util.Map<String,String> |
getStreamAttributes()
Get all name/value pairs in the stream attributes collection |
String |
getStreamExt()
Get the stream extension |
String |
getStreamId()
Get the stream id |
java.util.Map<String,String> |
getStreamInfo()
Get all name/value pairs in the stream info collection |
String |
getStreamInfo(String key)
Get stream info by name |
Object |
getStreamLock()
Get the synchronization lock for this stream |
String |
getStreamName()
Get stream name |
String |
getStreamNameLogging()
Get the stream name used for logging |
String |
getStreamQueryStr()
Get the stream query string |
long |
getStreamSessionId()
Get the stream session id |
String |
getStreamSessionIp()
Get the stream session ip |
long |
getStreamSessionVersion()
Get the stream session version |
com.wowza.wms.rtp.model.RTPTrack |
getStreamTrack()
Get the most likely stream track |
String |
getStreamType()
Get the stream type |
com.wowza.wms.rtp.model.RTPTrack |
getTrack(String trackId)
Get track by id |
String |
getTrackId(String seq)
Get track by sequence number |
java.util.List<String> |
getTrackNames()
Get a list of track ids |
String |
getTransportMode()
Get the transport mode |
com.wowza.wms.rtp.transport.IUDPTransport |
getUDPTransport(boolean isMulticast)
Get the UDP transport for this stream |
IVHost |
getVHost()
Get vhost |
com.wowza.wms.rtp.model.RTPTrack |
getVideoTrack()
Get the most likely video track |
long |
getVODLastTimeTC()
Get the last timecode (milliseconds) sent for video on demand |
long |
getVODPlayLen()
Get the video on demand play duration (milliseconds) |
long |
getVODStartTimeTC()
Get the video on demand start time (milliseconds) |
void |
idle(org.apache.mina.common.IoSession session,
com.wowza.wms.server.RtmpResponseMessage resp)
Process idle event |
void |
incrementMediaInBytes(long bytes)
Increment the media bytes in, Internal use. |
boolean |
isAVSyncNonSR()
Is sync method based on RTCP packets (sender report) |
boolean |
isCheckIpAddr()
Are we checking the ip address of each incoming RTP packet |
boolean |
isCheckSSRC()
Are we checking the ssrc values of each incoming RTP packet |
boolean |
isForceRTSPInterleaved()
True if forcing RTSP interleaved |
boolean |
isLive()
Is live stream |
boolean |
isModePlay()
Is this a play stream |
boolean |
isModePublish()
Is this a publish stream |
boolean |
isModeUknown()
Is the stream mode unknown (publish vs play) |
boolean |
isMPEGTSOut()
Is MPEG-TS out |
boolean |
isPaused()
Is stream paused |
boolean |
isPublishStreamReady()
See if a publishing stream has enough data to start playback |
boolean |
isResetPlayStream()
Is reset stream trigger, Internal use. |
boolean |
isResyncAudioVideoOnSR()
Reset audio/video sync on new RTCP packets (not just first packet) |
boolean |
isRTSP()
Is this RTP Stream managed by RTSP session |
boolean |
isRTSPAlwaysUseSDPPorts()
Force RTSP to use ports in SDP data |
boolean |
isSendSDESEvents()
Send RTCP SDES events |
boolean |
isStreamStarted()
Is stream started |
boolean |
isTimeout(long currTime,
int timeout)
Is the stream timeout out |
void |
lockRepeaterStreams(java.util.List<String> streamNames)
Lock a list of live repeater stream names, Internal use. |
void |
pause(com.wowza.wms.rtp.model.RTPRequestStatus status)
Execute pause |
com.wowza.wms.rtp.model.RTPStreamPlayResult |
play(com.wowza.wms.rtp.model.RTPRequestStatus status)
Execute play |
com.wowza.wms.rtp.model.RTPStreamPlayResult |
play(com.wowza.wms.rtp.model.RTPRequestStatus status,
double startTime,
double stopTime)
Execute play |
void |
putRTSPSessionExtraLine(int location,
String line)
Add an extra line to the SDP data |
com.wowza.wms.rtp.model.RTPStreamPlayResult |
record(com.wowza.wms.rtp.model.RTPRequestStatus status)
Execute record |
com.wowza.wms.rtp.model.RTPStreamPlayResult |
record(com.wowza.wms.rtp.model.RTPRequestStatus status,
double startTime,
double stopTime)
Execute record |
com.wowza.wms.rtp.model.RTPTrack |
removeTrack(String trackId)
Remove a track by id |
com.wowza.wms.rtp.model.RTPTrack |
removeTrackInternal(String trackId)
Remove track by track id |
void |
resetSentMetadataFlag()
Reset sendMetadata flag |
void |
setAppInstanceName(String appInstanceName)
Set the application instance name |
void |
setAppName(String appName)
Get the application name |
void |
setAVSyncMethod(int avSyncMethod)
Set the audio/video sync method. |
void |
setCheckIpAddr(boolean checkIpAddr)
Are we checking the ip address of each incoming RTP packet |
void |
setCheckSSRC(boolean checkSSRC)
Are we checking the ssrc values of each incoming RTP packet |
void |
setForceRTSPInterleaved(boolean isForceRTSPInterleaved)
True if forcing RTSP interleaved |
void |
setHost(String host)
Set host |
void |
setLive(boolean isLive)
Is live stream |
void |
setMaxRTCPWaitTime(int maxRTCPWaitTime)
Set max time to wait for RTCP sender reports (milliseconds) |
void |
setMode(int mode)
Set the play/publish mode |
void |
setMPEGTSAudioPID(int mpegtsAudioPID)
Set the audio PID id if MPEG-TS stream |
void |
setMPEGTSOut(boolean isMPEGTSOut)
Is MPEG-TS out |
void |
setMPEGTSVideoPID(int mpegtsVideoPID)
Set the video PID id if MPEG-TS stream |
void |
setOutHost(String outHost)
Set out host |
void |
setResetPlayStream(boolean doResetPlayStream)
Set reset stream trigger |
void |
setResyncAudioVideoOnSR(boolean resyncAudioVideoOnSR)
Reset audio/video sync on new RTCP packets (not just first packet) |
void |
setRTPDestination(RTPDestination rtpDestination)
Set RTP destination |
void |
setRTSP(boolean isRTSP)
Is this RTP Stream managed by RTSP session |
void |
setRTSPAlwaysUseSDPPorts(boolean rtspAlwaysUseSDPPorts)
Force RTSP to use ports in SDP data |
void |
setRTSPBindIpAddress(String rtspBindIpAddress)
Set the bind RTSP bind IP address |
void |
setRTSPConnectionAddressType(String rtspConnectionAddressType)
Set the connection address type |
void |
setRTSPConnectionIpAddress(String rtspConnectionIpAddress)
Set the connection IP address |
void |
setRTSPMaximumPendingWriteBytes(int rtspMaximumPendingWriteBytes)
Set the maximum number of waiting bytes allow for this RTSP session |
void |
setRTSPOriginAddressType(String rtspOriginAddressType)
Set the origin address type |
void |
setRTSPOriginIpAddress(String rtspOriginIpAddress)
Set the origin IP address |
void |
setRTSPSessionDescription(String rtspSessionDescription)
Get session description |
void |
setRTSPSessionName(String rtspSessionName)
Set session name |
void |
setRTSPSessionTimeout(int rtspSessionTimeout)
Set RTP session timeout (milliseconds) |
void |
setSDPLang(String sdpLang)
Set the SDP language |
void |
setSendSDESEvents(boolean sendSDESEvents)
Send RTCP SDES events |
void |
setSession(RTPSession session)
Set the RTP session |
void |
setStreamExt(String streamExt)
Set the stream extension |
void |
setStreamName(String streamName)
Set stream name |
void |
setStreamNameLogging(String streamNameLogging)
Set the stream name used for logging |
void |
setStreamQueryStr(String streamQueryStr)
Set the stream query string |
void |
setStreamSessionId(long streamSessionId)
Set the stream session id |
void |
setStreamSessionIp(String streamSessionIp)
Set the stream session ip |
void |
setStreamSessionVersion(long streamSessionVersion)
Set the stream session version |
void |
setStreamType(String streamType)
Set the stream type |
void |
setTransportMode(String transportMode)
Set the transport mode |
void |
setVODLastTimeTC(long vodLastTimeTC)
Set the last timecode (milliseconds) sent for video on demand |
void |
setVODPlayLen(long vodPlayLen)
Set the video on demand play duration (milliseconds) |
void |
setVODStartTimeTC(long vodStartTimeTC)
Set the video on demand start time (milliseconds) |
void |
shutdown(com.wowza.wms.rtp.model.RTPRequestStatus status)
shutdown RTP stream, Internal use. |
com.wowza.wms.rtp.model.RTPTrack |
sloppyGetTrack(String trackId)
Sloppy method for finding track by name, Internal use. |
boolean |
streamExists()
Return true if RTP stream contains a IMediaStream |
void |
switchSetupToMPEGTS()
Switch a stream to MPEG-TS, Internal use. |
void |
touch()
Touch the stream so that it does not timeout |
String |
transportFindBestMatch(String transport)
Based on a trasport string from SETUP command find best match |
void |
unlockRepeaterStreams()
Unlock live repeater streams |
| Methods inherited from class Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final int AVSYNCMETHODS_RTPTIMECODE
public static final int AVSYNCMETHODS_SENDERREPORT
public static final int AVSYNCMETHODS_SYSTEMCLOCK
public static final int AVSYNCMETHODS_UNKNOWN
public static final int MODE_PLAY
public static final int MODE_PUBLISH
public static final int MODE_UNKNOWN
public static final int SDPLOCATION_AUDIO
public static final int SDPLOCATION_STREAM
public static final int SDPLOCATION_VIDEO
public static final String STREAMINFO_SESSIONATTRIBUTES
public static final String STREAMINFO_SESSIONBANDWIDTH
public static final String STREAMINFO_SESSIONCONNECTIONDATA
public static final String STREAMINFO_SESSIONEMAILADDRESS
public static final String STREAMINFO_SESSIONINFORMATION
public static final String STREAMINFO_SESSIONNAME
public static final String STREAMINFO_SESSIONPHONENUMBER
public static final String STREAMINFO_SESSIONPORIGIN
public static final String STREAMINFO_SESSIONPROTOCOLVERSION
public static final String STREAMINFO_SESSIONREPEATTIMES
public static final String STREAMINFO_SESSIONTIMEZONES
public static final String STREAMINFO_SESSIONTIMING
public static final String STREAMINFO_SESSIONURI
| Constructor Detail |
|---|
public RTPStream(RTPContext context,
String streamId)
context - RTP contextstreamId - stream id| Method Detail |
|---|
public void addStreamAttribute(String key,
String value)
key - namevalue - value
public void addStreamInfo(String key,
String value)
key - namevalue - valuepublic void addTrack(com.wowza.wms.rtp.model.RTPTrack track)
track - RTP track
public void addTrackId(String seq,
String trackId)
seq - sequence numbertrackId - track idpublic void addTrackInternal(com.wowza.wms.rtp.model.RTPTrack track)
track - RTP trackpublic void announce(com.wowza.wms.rtp.model.RTPRequestStatus status)
status - RTP statuspublic void attachToWMSSession(com.wowza.wms.server.RtmpSessionInfo wmsSessionInfo)
wmsSessionInfo - session infopublic static int avSyncNameToId(String avSyncName)
avSyncName - audio/video sync name
public void checkSendMetadata(long adjTimecode)
adjTimecode - timecode (milliseconds)public void clearRTSPSessionExtraLines()
public void clearTracks()
public boolean createStream(com.wowza.wms.rtp.model.RTPRequestStatus status)
status - status
public String describe(RTPSession rtspSession,
int isStreamPacketizer,
com.wowza.wms.rtp.model.RTPRequestStatus status)
rtspSession - RTP sessionisStreamPacketizer - true is streamstatus - RTP status
public String describe(RTPSession rtspSession,
com.wowza.wms.rtp.model.RTPRequestStatus status)
rtspSession - RTP sessionstatus - RTP status
public void detachFromWMSSession(com.wowza.wms.server.RtmpSessionInfo wmsSessionInfo)
wmsSessionInfo - session infopublic void extractCodecConfigFromTrackInfo()
public String formatRTPInfo(long timecode,
int videoSeq,
int audioSeq)
timecode - timecodevideoSeq - video sequence numberaudioSeq - audio sequence number
public IApplicationInstance getAppInstance()
public String getAppInstanceName()
public String getAppName()
public com.wowza.wms.rtp.model.RTPTrack getAudioTrack()
public int getAutoAllocateInterleavePorts()
public int getAVSyncMethod()
public double getDuration()
public String getHost()
public AMFPacket[] getLastPacketsByType(IMediaReader localReader,
double startTime)
localReader - media readerstartTime - start time
public AMFPacket[] getLastPacketsByType(IMediaStream localStream)
localStream - local stream
public int getMaxRTCPWaitTime()
public String getMediaCasterType()
public IMediaReader getMediaReader()
public byte[] getMetadataPacket()
public int getMode()
public int getMPEGTSAudioPID()
public int getMPEGTSVideoPID()
public long getNormalizedNTPTimecode(long timecode)
timecode - timecode (milliseconds)
public String getOutHost()
public RTPContext getRTPContext()
public RTPDestination getRTPDestination()
public String getRTPInfo(double startTime,
int videoSeq,
int audioSeq)
startTime - start timevideoSeq - video sequence numberaudioSeq - audio sequence number
public String getRTSPBindIpAddress()
public String getRTSPConnectionAddressType()
public String getRTSPConnectionIpAddress()
public int getRTSPMaximumPendingWriteBytes()
public String getRTSPOriginAddressType()
public String getRTSPOriginIpAddress()
public String getRTSPSessionDescription()
public java.util.List<com.wowza.wms.rtp.model.RTPStream.RTSPExtraLine> getRTSPSessionExtraLines()
public String getRTSPSessionName()
public int getRTSPSessionTimeout()
public String getSDPLang()
public RTPSession getSession()
public IMediaStream getStream()
public java.util.Map<String,String> getStreamAttributes()
public String getStreamExt()
public String getStreamId()
public java.util.Map<String,String> getStreamInfo()
public String getStreamInfo(String key)
key - name
public Object getStreamLock()
public String getStreamName()
public String getStreamNameLogging()
public String getStreamQueryStr()
public long getStreamSessionId()
public String getStreamSessionIp()
public long getStreamSessionVersion()
public com.wowza.wms.rtp.model.RTPTrack getStreamTrack()
public String getStreamType()
public com.wowza.wms.rtp.model.RTPTrack getTrack(String trackId)
trackId - track id
public String getTrackId(String seq)
seq - sequence number
public java.util.List<String> getTrackNames()
public String getTransportMode()
public com.wowza.wms.rtp.transport.IUDPTransport getUDPTransport(boolean isMulticast)
isMulticast - true if multicast
public IVHost getVHost()
public com.wowza.wms.rtp.model.RTPTrack getVideoTrack()
public long getVODLastTimeTC()
public long getVODPlayLen()
public long getVODStartTimeTC()
public void idle(org.apache.mina.common.IoSession session,
com.wowza.wms.server.RtmpResponseMessage resp)
session - io sessionresp - idle requestpublic void incrementMediaInBytes(long bytes)
bytes - public boolean isAVSyncNonSR()
public boolean isCheckIpAddr()
public boolean isCheckSSRC()
public boolean isForceRTSPInterleaved()
public boolean isLive()
public boolean isModePlay()
public boolean isModePublish()
public boolean isModeUknown()
public boolean isMPEGTSOut()
public boolean isPaused()
public boolean isPublishStreamReady()
public boolean isResetPlayStream()
public boolean isResyncAudioVideoOnSR()
public boolean isRTSP()
public boolean isRTSPAlwaysUseSDPPorts()
public boolean isSendSDESEvents()
public boolean isStreamStarted()
public boolean isTimeout(long currTime,
int timeout)
currTime - current timetimeout - timeout value
public void lockRepeaterStreams(java.util.List<String> streamNames)
streamNames - stream namespublic void pause(com.wowza.wms.rtp.model.RTPRequestStatus status)
status - RTP statuspublic com.wowza.wms.rtp.model.RTPStreamPlayResult play(com.wowza.wms.rtp.model.RTPRequestStatus status)
status - RTP status
public com.wowza.wms.rtp.model.RTPStreamPlayResult play(com.wowza.wms.rtp.model.RTPRequestStatus status,
double startTime,
double stopTime)
status - RTP statusstartTime - playback start timestopTime - playback stop time
public void putRTSPSessionExtraLine(int location,
String line)
location - location of line, see SDPLOCATION_line - line to addpublic com.wowza.wms.rtp.model.RTPStreamPlayResult record(com.wowza.wms.rtp.model.RTPRequestStatus status)
status - RTP status
public com.wowza.wms.rtp.model.RTPStreamPlayResult record(com.wowza.wms.rtp.model.RTPRequestStatus status,
double startTime,
double stopTime)
status - RTP statusstartTime - playback start timestopTime - playback stop time
public com.wowza.wms.rtp.model.RTPTrack removeTrack(String trackId)
trackId - track id
public com.wowza.wms.rtp.model.RTPTrack removeTrackInternal(String trackId)
trackId - track id
public void resetSentMetadataFlag()
public void setAppInstanceName(String appInstanceName)
appInstanceName - application instance namepublic void setAppName(String appName)
appName - application namepublic void setAVSyncMethod(int avSyncMethod)
avSyncMethod - audio/video sync method. See AVSYNCMETHODS_*public void setCheckIpAddr(boolean checkIpAddr)
checkIpAddr - true if checking ip address of each incoming RTP packetpublic void setCheckSSRC(boolean checkSSRC)
checkSSRC - true if checkingpublic void setForceRTSPInterleaved(boolean isForceRTSPInterleaved)
isForceRTSPInterleaved - true if forcing RTSP interleavedpublic void setHost(String host)
host - hostpublic void setLive(boolean isLive)
isLive - true if livepublic void setMaxRTCPWaitTime(int maxRTCPWaitTime)
maxRTCPWaitTime - max time to wait for RTCP sender reports (milliseconds)public void setMode(int mode)
mode - play/publish modepublic void setMPEGTSAudioPID(int mpegtsAudioPID)
mpegtsAudioPID - audio PID id if MPEG-TS streampublic void setMPEGTSOut(boolean isMPEGTSOut)
isMPEGTSOut - true if MPEG-TS outpublic void setMPEGTSVideoPID(int mpegtsVideoPID)
mpegtsVideoPID - video PID id if MPEG-TS streampublic void setOutHost(String outHost)
outHost - out hostpublic void setResetPlayStream(boolean doResetPlayStream)
doResetPlayStream - true if reset triggerpublic void setResyncAudioVideoOnSR(boolean resyncAudioVideoOnSR)
resyncAudioVideoOnSR - true if resetting audio/video on new RTCP packetspublic void setRTPDestination(RTPDestination rtpDestination)
rtpDestination - RTP destinationpublic void setRTSP(boolean isRTSP)
isRTSP - true if managed by RTSP sessionpublic void setRTSPAlwaysUseSDPPorts(boolean rtspAlwaysUseSDPPorts)
rtspAlwaysUseSDPPorts - true if using ports in SDP datapublic void setRTSPBindIpAddress(String rtspBindIpAddress)
rtspBindIpAddress - bind RTSP bind IP addresspublic void setRTSPConnectionAddressType(String rtspConnectionAddressType)
rtspConnectionAddressType - connection address typepublic void setRTSPConnectionIpAddress(String rtspConnectionIpAddress)
rtspConnectionIpAddress - connection IP addresspublic void setRTSPMaximumPendingWriteBytes(int rtspMaximumPendingWriteBytes)
rtspMaximumPendingWriteBytes - maximum number of waiting bytes allow for this RTSP sessionpublic void setRTSPOriginAddressType(String rtspOriginAddressType)
rtspOriginAddressType - origin address typepublic void setRTSPOriginIpAddress(String rtspOriginIpAddress)
rtspOriginIpAddress - origin IP addresspublic void setRTSPSessionDescription(String rtspSessionDescription)
rtspSessionDescription - session descriptionpublic void setRTSPSessionName(String rtspSessionName)
rtspSessionName - session namepublic void setRTSPSessionTimeout(int rtspSessionTimeout)
rtspSessionTimeout - RTP session timeout (milliseconds)public void setSDPLang(String sdpLang)
sdpLang - SDP languagepublic void setSendSDESEvents(boolean sendSDESEvents)
sendSDESEvents - true if sending RTCP SDES eventspublic void setSession(RTPSession session)
session - RTP sessionpublic void setStreamExt(String streamExt)
streamExt - stream extensionpublic void setStreamName(String streamName)
streamName - stream namepublic void setStreamNameLogging(String streamNameLogging)
streamNameLogging - stream name used for loggingpublic void setStreamQueryStr(String streamQueryStr)
streamQueryStr - stream query stringpublic void setStreamSessionId(long streamSessionId)
streamSessionId - stream session idpublic void setStreamSessionIp(String streamSessionIp)
streamSessionIp - stream session ippublic void setStreamSessionVersion(long streamSessionVersion)
streamSessionVersion - stream session versionpublic void setStreamType(String streamType)
streamType - stream typepublic void setTransportMode(String transportMode)
transportMode - transport modepublic void setVODLastTimeTC(long vodLastTimeTC)
vodLastTimeTC - last timecode (milliseconds) sent for video on demandpublic void setVODPlayLen(long vodPlayLen)
vodPlayLen - video on demand play duration (milliseconds)public void setVODStartTimeTC(long vodStartTimeTC)
vodStartTimeTC - video on demand start time (milliseconds)public void shutdown(com.wowza.wms.rtp.model.RTPRequestStatus status)
status - statuspublic com.wowza.wms.rtp.model.RTPTrack sloppyGetTrack(String trackId)
trackId - track name
public boolean streamExists()
public void switchSetupToMPEGTS()
public void touch()
public String transportFindBestMatch(String transport)
transport - trasport string
public void unlockRepeaterStreams()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||