Package com.wowza.wms.rtp.model
Class RTPStream
- Object
- 
- com.wowza.wms.rtp.model.RTPStream
 
- 
 public class RTPStream extends ObjectRTPStream: RTP Stream class which encapsulates an IMediaStream class for RTP streaming. 
- 
- 
Field Summary
 - 
Constructor SummaryConstructors Constructor Description RTPStream(RTPContext context, String streamId)Constructor
 - 
Method SummaryAll Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddLockRepeaterStreams(String streamName, MediaCasterStreamItem mediaCasterStreamItem)voidaddStreamAttribute(String key, String value)Add a name value pair to the stream attribute collectionvoidaddStreamInfo(String key, String value)Add a name value pair to the stream info collectionvoidaddTrack(com.wowza.wms.rtp.model.RTPTrack track)Add a trackvoidaddTrackId(String seq, String trackId)Add trackvoidaddTrackInternal(com.wowza.wms.rtp.model.RTPTrack track)Add RTP trackvoidannounce(com.wowza.wms.rtp.model.RTPRequestStatus status)Execute announce commandvoidattachToWMSSession(com.wowza.wms.server.RtmpSessionInfo wmsSessionInfo)Attach to WMS session, Internal usestatic intavSyncNameToId(String avSyncName)Get audio/video sync id from namevoidcheckSendMetadata(long adjTimecode, com.wowza.wms.rtp.model.RTPTrack rtpTrack)Check to see if we have sent onMetadata event, if not sendvoidclearRTSPSessionExtraLines()Clear SDP extra linesvoidclearTracks()Clear all tracksbooleancreateStream(com.wowza.wms.rtp.model.RTPRequestStatus status)booleancreateStream(com.wowza.wms.rtp.model.RTPRequestStatus status, IApplicationInstance appInstance)Create IMediaStream, Internal use.Stringdescribe(RTPSession rtspSession, int isStreamPacketizer, com.wowza.wms.rtp.model.RTPRequestStatus status, int[] validCodecsAudio, int[] validCodecsVideo)Get RTP describe detailsStringdescribe(RTPSession rtspSession, com.wowza.wms.rtp.model.RTPRequestStatus status)Execute describe commandcom.wowza.wms.rtp.model.RTPSDPPartsdescribeGetDetails(RTPSession rtspSession, int isStreamPacketizer, com.wowza.wms.rtp.model.RTPRequestStatus status, int[] validCodecsAudio, int[] validCodecsVideo)Get RTP describe detailsvoiddetachFromWMSSession(com.wowza.wms.server.RtmpSessionInfo wmsSessionInfo)Detach from WMS session, Internal use.voidextractCodecConfigFromTrackInfo()Extract codec config information from SDP dataStringformatRTPInfo(long timecode, int videoSeq, int audioSeq)Format RTP infoIApplicationInstancegetAppInstance()Get application instanceStringgetAppInstanceName()Get the application instance nameStringgetAppName()Get the application namecom.wowza.wms.rtp.model.RTPTrackgetAudioTrack()Get the most likely audio trackintgetAutoAllocateInterleavePorts()intgetAVSyncMethod()Get the audio/video sync method.doublegetDuration()Get the duration of the stream if video on demandStringgetHost()Get hostAMFPacket[]getLastPacketsByType(IMediaReader localReader, double startTime)Analyzes stream to get information, Internal use.AMFPacket[]getLastPacketsByType(IMediaStream localStream)Analyzes stream to get information, Internal use.intgetMaxRTCPWaitTime()Get max time to wait for RTCP sender reports (milliseconds)StringgetMediaCasterType()Get the media caster stream type for this streamIMediaReadergetMediaReader()Get media reader if video on demand streambyte[]getMetadataPacket()Get the onMetadata packet for this RTP streamintgetMode()Get the current play/publish modeStringgetModeName()intgetMPEGTSAudioBitrate()StringgetMPEGTSAudioLanguage()intgetMPEGTSAudioPID()Get the audio PID id if MPEG-TS streamintgetMPEGTSMagazineNumber()intgetMPEGTSPageNumber()intgetMPEGTSProgramID()intgetMPEGTSVideoBitrate()intgetMPEGTSVideoPID()Get the video PID id if MPEG-TS streamlonggetNormalizedNTPTimecode(long timecode)Turn a millisecond timcode into an NTP timecodeStringgetOutHost()Get the out hostStringgetResyncAudioVideoOnSRLogStreamSuffix()Get the stream suffixes that are set for timing information loggingRTPContextgetRTPContext()Get the RTP contextRTPDestinationgetRTPDestination()Get RTP destinationcom.wowza.wms.rtp.model.RTPStream.RTPInfogetRTPInfo(double startTime, int videoSeq, int audioSeq)Get the RTP infocom.wowza.wms.rtp.model.RTPStreamContextgetRTPStreamContext()StringgetRTSPBindIpAddress()Get the bind RTSP bind IP addressStringgetRTSPConnectionAddressType()Get the connection address typeStringgetRTSPConnectionIpAddress()Get the connection IP addressintgetRTSPMaximumPendingWriteBytes()Get the maximum number of waiting bytes allow for this RTSP sessionStringgetRTSPOriginAddressType()Get the origin address typeStringgetRTSPOriginIpAddress()Get the origin IP addressStringgetRTSPSessionDescription()Get session descriptionjava.util.List<com.wowza.wms.rtp.model.RTPStream.RTSPExtraLine>getRTSPSessionExtraLines()Get extra SDP linesStringgetRTSPSessionName()Get session nameintgetRTSPSessionTimeout()Get RTP session timeout (milliseconds)StringgetSDPLang()Get the SDP languageStringgetSDPTransportStr()RTPSessiongetSession()Get the RTP sessionIMediaStreamgetStream()Get the IMediaStreamjava.util.Map<String,String>getStreamAttributes()Get all name/value pairs in the stream attributes collectionStringgetStreamExt()Get the stream extensionObjectgetStreamHandlerLock()StringgetStreamId()Get the stream idjava.util.Map<String,String>getStreamInfo()Get all name/value pairs in the stream info collectionStringgetStreamInfo(String key)Get stream info by nameObjectgetStreamLock()Get the synchronization lock for this streamStringgetStreamName()Get stream nameStringgetStreamNameLogging()Get the stream name used for loggingStringgetStreamQueryStr()Get the stream query stringlonggetStreamSessionId()Get the stream session idStringgetStreamSessionIp()Get the stream session iplonggetStreamSessionVersion()Get the stream session versioncom.wowza.wms.rtp.model.RTPTrackgetStreamTrack()Get the most likely stream trackStringgetStreamType()Get the stream typecom.wowza.wms.rtp.model.RTPTrackgetTrack(String trackId)Get track by idStringgetTrackId(String seq)Get track by sequence numberjava.util.List<String>getTrackNames()Get a list of track idsStringgetTransportMode()Get the transport modeintgetUDPManagedDeliveryCount()intgetUDPManagedDeliveryDelay()IUDPTransportgetUDPTransport(boolean isMulticast)Get the UDP transport for this streamIVHostgetVHost()Get vhostcom.wowza.wms.rtp.model.RTPTrackgetVideoTrack()Get the most likely video tracklonggetVODLastTimeTC()Get the last timecode (milliseconds) sent for video on demandlonggetVODPlayLen()Get the video on demand play duration (milliseconds)longgetVODStartTimeTC()Get the video on demand start time (milliseconds)voididle(org.apache.mina.common.IoSession session, com.wowza.wms.server.RtmpResponseMessage resp)Process idle eventvoidincrementMediaInBytes(long bytes)Increment the media bytes in, Internal use.voidinitProperties(IApplicationInstance appInstance)booleanisAVSyncNonSR()Is sync method based on RTCP packets (sender report)booleanisBlockUDPOut()booleanisCheckIpAddr()Are we checking the ip address of each incoming RTP packetbooleanisCheckSSRC()Are we checking the ssrc values of each incoming RTP packetbooleanisForceMPEGTSOut()booleanisForceRTSPInterleaved()True if forcing RTSP interleavedbooleanisLive()Is live streambooleanisModePlay()Is this a play streambooleanisModePublish()Is this a publish streambooleanisModeUknown()Is the stream mode unknown (publish vs play)booleanisMPEGTSOut()Is MPEG-TS outbooleanisPaused()Is stream pausedbooleanisPublishStreamReady()See if a publishing stream has enough data to start playbackbooleanisRefuseIncomingUDPConnections()booleanisRefuseOutgoingUDPConnections()booleanisResetPlayStream()Is reset stream trigger, Internal use.booleanisResyncAudioVideoOnSR()Reset audio/video sync on new RTCP packets (not just first packet)booleanisResyncAudioVideoOnSRLog()Log audio/video sync on new RTCP packets (not just first packet)booleanisRTPIgnoreProfileLevelId()booleanisRTPIgnoreSPropParameterSets()booleanisRTSP()Is this RTP Stream managed by RTSP sessionbooleanisRTSPAlwaysUseSDPPorts()Force RTSP to use ports in SDP databooleanisRTSPPull()Is this RTP Stream managed by RTSP sessionbooleanisSendSDESEvents()Send RTCP SDES eventsbooleanisSRT()booleanisStreamStarted()Is stream startedbooleanisTimeout(long currTime, int timeout)Is the stream timeout outbooleanisUDPTransportOverride()booleanisWebRTC()voidlockRepeaterStreams(java.util.List<String> streamNames)Lock a list of live repeater stream names, Internal use.voidnotifyEncryptionProvider(com.wowza.wms.rtp.model.RTPTrack rtpTrack)voidnotifyEncryptionProviderAllTracks()voidpause(com.wowza.wms.rtp.model.RTPRequestStatus status)Execute pausecom.wowza.wms.rtp.model.RTPStreamPlayResultplay(com.wowza.wms.rtp.model.RTPRequestStatus status)Execute playcom.wowza.wms.rtp.model.RTPStreamPlayResultplay(com.wowza.wms.rtp.model.RTPRequestStatus status, double startTime, double stopTime)Execute playvoidputRTSPSessionExtraLine(int location, String line)Add an extra line to the SDP datacom.wowza.wms.rtp.model.RTPStreamPlayResultrecord(com.wowza.wms.rtp.model.RTPRequestStatus status)Execute recordcom.wowza.wms.rtp.model.RTPStreamPlayResultrecord(com.wowza.wms.rtp.model.RTPRequestStatus status, double startTime, double stopTime)Execute recordcom.wowza.wms.rtp.model.RTPTrackremoveTrack(String trackId)Remove a track by idcom.wowza.wms.rtp.model.RTPTrackremoveTrackInternal(String trackId)Remove track by track idvoidresetSentMetadataFlag()Reset sendMetadata flagvoidsetAppInstanceName(String appInstanceName)Set the application instance namevoidsetAppName(String appName)Get the application namevoidsetAVSyncMethod(int avSyncMethod)Set the audio/video sync method.voidsetBlockUDPOut(boolean blockUDPOut)voidsetCheckIpAddr(boolean checkIpAddr)Are we checking the ip address of each incoming RTP packetvoidsetCheckSSRC(boolean checkSSRC)Are we checking the ssrc values of each incoming RTP packetvoidsetForceMPEGTSOut(boolean isForceMPEGTSOut)voidsetForceRTSPInterleaved(boolean isForceRTSPInterleaved)True if forcing RTSP interleavedvoidsetHost(String host)Set hostvoidsetLive(boolean isLive)Is live streamvoidsetMaxRTCPWaitTime(int maxRTCPWaitTime)Set max time to wait for RTCP sender reports (milliseconds)voidsetMode(int mode)Set the play/publish modevoidsetMPEGTSAudioBitrate(int mpegtsAudioBitrate)voidsetMPEGTSAudioLanguage(String mpegtsAudioLanguage)voidsetMPEGTSAudioPID(int mpegtsAudioPID)Set the audio PID id if MPEG-TS streamvoidsetMPEGTSMagazineNumber(int mpegtsDVBTeletextMagazineNumber)voidsetMPEGTSOut(boolean isMPEGTSOut)Is MPEG-TS outvoidsetMPEGTSPageNumber(int mpegtsDVBTeletextPageNumber)voidsetMPEGTSProgramID(int mpegtsProgramId)voidsetMPEGTSVideoBitrate(int mpegtsVideoBitrate)voidsetMPEGTSVideoPID(int mpegtsVideoPID)Set the video PID id if MPEG-TS streamvoidsetOutHost(String outHost)Set out hostvoidsetRefuseIncomingUDPConnections(boolean refuseIncomingUDPConnections)voidsetRefuseOutgoingUDPConnections(boolean refuseOutgoingUDPConnections)voidsetResetPlayStream(boolean doResetPlayStream)Set reset stream triggervoidsetResyncAudioVideoOnSR(boolean resyncAudioVideoOnSR)Reset audio/video sync on new RTCP packets (not just first packet)voidsetResyncAudioVideoOnSRLog(boolean resyncAudioVideoOnSRLog)Log audio/video sync on new RTCP packets (not just first packet)voidsetResyncAudioVideoOnSRLogStreamSuffix(String names)Set the stream names that require to be logged for timing informationvoidsetRTPDestination(RTPDestination rtpDestination)Set RTP destinationvoidsetRTPIgnoreProfileLevelId(boolean rtpIgnoreProfileLevelId)voidsetRTPIgnoreSPropParameterSets(boolean rtpIgnoreSPropParameterSets)voidsetRTPStreamContext(com.wowza.wms.rtp.model.RTPStreamContext rtpStreamContext)voidsetRTSP(boolean isRTSP)Is this RTP Stream managed by RTSP sessionvoidsetRTSPAlwaysUseSDPPorts(boolean rtspAlwaysUseSDPPorts)Force RTSP to use ports in SDP datavoidsetRTSPBindIpAddress(String rtspBindIpAddress)Set the bind RTSP bind IP addressvoidsetRTSPConnectionAddressType(String rtspConnectionAddressType)Set the connection address typevoidsetRTSPConnectionIpAddress(String rtspConnectionIpAddress)Set the connection IP addressvoidsetRTSPMaximumPendingWriteBytes(int rtspMaximumPendingWriteBytes)Set the maximum number of waiting bytes allow for this RTSP sessionvoidsetRTSPOriginAddressType(String rtspOriginAddressType)Set the origin address typevoidsetRTSPOriginIpAddress(String rtspOriginIpAddress)Set the origin IP addressvoidsetRTSPPull(boolean isRTSPPull)Is this RTP Stream managed by RTSP sessionvoidsetRTSPSessionDescription(String rtspSessionDescription)Get session descriptionvoidsetRTSPSessionName(String rtspSessionName)Set session namevoidsetRTSPSessionTimeout(int rtspSessionTimeout)Set RTP session timeout (milliseconds)voidsetSDPLang(String sdpLang)Set the SDP languagevoidsetSDPTransportStr(String sdpTransportStr)voidsetSendSDESEvents(boolean sendSDESEvents)Send RTCP SDES eventsvoidsetSession(RTPSession session)Set the RTP sessionvoidsetSRT(boolean isSRT)voidsetStreamExt(String streamExt)Set the stream extensionvoidsetStreamName(String streamName)Set stream namevoidsetStreamNameLogging(String streamNameLogging)Set the stream name used for loggingvoidsetStreamQueryStr(String streamQueryStr)Set the stream query stringvoidsetStreamSessionId(long streamSessionId)Set the stream session idvoidsetStreamSessionIp(String streamSessionIp)Set the stream session ipvoidsetStreamSessionVersion(long streamSessionVersion)Set the stream session versionvoidsetStreamType(String streamType)Set the stream typevoidsetTransportMode(String transportMode)Set the transport modevoidsetUDPManagedDeliveryCount(int udpManagedDeliveryCount)voidsetUDPManagedDeliveryDelay(int udpManagedDeliveryDelay)voidsetUDPTransport(IUDPTransport udpTransport)voidsetVODLastTimeTC(long vodLastTimeTC)Set the last timecode (milliseconds) sent for video on demandvoidsetVODPlayLen(long vodPlayLen)Set the video on demand play duration (milliseconds)voidsetVODStartTimeTC(long vodStartTimeTC)Set the video on demand start time (milliseconds)voidsetWebRTC(boolean isWebRTC)voidshutdown(com.wowza.wms.rtp.model.RTPRequestStatus status)shutdown RTP stream, Internal use.com.wowza.wms.rtp.model.RTPTracksloppyGetTrack(String trackId)Sloppy method for finding track by name, Internal use.booleanstreamExists()Return true if RTP stream contains a IMediaStreamvoidswitchSetupToMPEGTS()Switch a stream to MPEG-TS, Internal use.voidtouch()Touch the stream so that it does not timeoutStringtransportFindBestMatch(String transport)Based on a trasport string from SETUP command find best matchvoidunlockRepeaterStreams()Unlock live repeater streams
 
- 
- 
- 
Field Detail- 
SDPLOCATION_STREAMpublic static final int SDPLOCATION_STREAM - See Also:
- Constant Field Values
 
 - 
SDPLOCATION_AUDIOpublic static final int SDPLOCATION_AUDIO - See Also:
- Constant Field Values
 
 - 
SDPLOCATION_VIDEOpublic static final int SDPLOCATION_VIDEO - See Also:
- Constant Field Values
 
 - 
MODE_UNKNOWNpublic static final int MODE_UNKNOWN - See Also:
- Constant Field Values
 
 - 
MODE_PLAYpublic static final int MODE_PLAY - See Also:
- Constant Field Values
 
 - 
MODE_PUBLISHpublic static final int MODE_PUBLISH - See Also:
- Constant Field Values
 
 - 
AVSYNCMETHODS_UNKNOWNpublic static final int AVSYNCMETHODS_UNKNOWN - See Also:
- Constant Field Values
 
 - 
AVSYNCMETHODS_SENDERREPORTpublic static final int AVSYNCMETHODS_SENDERREPORT - See Also:
- Constant Field Values
 
 - 
AVSYNCMETHODS_SYSTEMCLOCKpublic static final int AVSYNCMETHODS_SYSTEMCLOCK - See Also:
- Constant Field Values
 
 - 
AVSYNCMETHODS_RTPTIMECODEpublic static final int AVSYNCMETHODS_RTPTIMECODE - See Also:
- Constant Field Values
 
 - 
STREAMINFO_SESSIONPROTOCOLVERSIONpublic static final String STREAMINFO_SESSIONPROTOCOLVERSION - See Also:
- Constant Field Values
 
 - 
STREAMINFO_SESSIONPORIGINpublic static final String STREAMINFO_SESSIONPORIGIN - See Also:
- Constant Field Values
 
 - 
STREAMINFO_SESSIONNAMEpublic static final String STREAMINFO_SESSIONNAME - See Also:
- Constant Field Values
 
 - 
STREAMINFO_SESSIONINFORMATIONpublic static final String STREAMINFO_SESSIONINFORMATION - See Also:
- Constant Field Values
 
 - 
STREAMINFO_SESSIONURIpublic static final String STREAMINFO_SESSIONURI - See Also:
- Constant Field Values
 
 - 
STREAMINFO_SESSIONEMAILADDRESSpublic static final String STREAMINFO_SESSIONEMAILADDRESS - See Also:
- Constant Field Values
 
 - 
STREAMINFO_SESSIONPHONENUMBERpublic static final String STREAMINFO_SESSIONPHONENUMBER - See Also:
- Constant Field Values
 
 - 
STREAMINFO_SESSIONCONNECTIONDATApublic static final String STREAMINFO_SESSIONCONNECTIONDATA - See Also:
- Constant Field Values
 
 - 
STREAMINFO_SESSIONBANDWIDTHpublic static final String STREAMINFO_SESSIONBANDWIDTH - See Also:
- Constant Field Values
 
 - 
STREAMINFO_SESSIONTIMINGpublic static final String STREAMINFO_SESSIONTIMING - See Also:
- Constant Field Values
 
 - 
STREAMINFO_SESSIONREPEATTIMESpublic static final String STREAMINFO_SESSIONREPEATTIMES - See Also:
- Constant Field Values
 
 - 
STREAMINFO_SESSIONTIMEZONESpublic static final String STREAMINFO_SESSIONTIMEZONES - See Also:
- Constant Field Values
 
 - 
STREAMINFO_SESSIONATTRIBUTESpublic static final String STREAMINFO_SESSIONATTRIBUTES - See Also:
- Constant Field Values
 
 - 
DEFAULT_RTSPSESSIONNAMEpublic static final String DEFAULT_RTSPSESSIONNAME - See Also:
- Constant Field Values
 
 - 
DEFAULT_RTPIGNOREPROFILELEVELIDpublic static final boolean DEFAULT_RTPIGNOREPROFILELEVELID - See Also:
- Constant Field Values
 
 - 
DEFAULT_RTPIGNORESPROPPARAMETERSETSpublic static final boolean DEFAULT_RTPIGNORESPROPPARAMETERSETS - See Also:
- Constant Field Values
 
 - 
DEFAULT_RTP_TRANSPORT_STRpublic static final String DEFAULT_RTP_TRANSPORT_STR - See Also:
- Constant Field Values
 
 
- 
 - 
Constructor Detail- 
RTPStreampublic RTPStream(RTPContext context, String streamId) Constructor- Parameters:
- context- RTP context
- streamId- stream id
 
 
- 
 - 
Method Detail- 
getRTPContextpublic RTPContext getRTPContext() Get the RTP context- Returns:
- RTP context
 
 - 
getStreamLockpublic Object getStreamLock() Get the synchronization lock for this stream- Returns:
- synchronization lock for this stream
 
 - 
addTrackpublic void addTrack(com.wowza.wms.rtp.model.RTPTrack track) Add a track- Parameters:
- track- RTP track
 
 - 
removeTrackpublic com.wowza.wms.rtp.model.RTPTrack removeTrack(String trackId) Remove a track by id- Parameters:
- trackId- track id
- Returns:
- RTP track
 
 - 
addTrackInternalpublic void addTrackInternal(com.wowza.wms.rtp.model.RTPTrack track) Add RTP track- Parameters:
- track- RTP track
 
 - 
removeTrackInternalpublic com.wowza.wms.rtp.model.RTPTrack removeTrackInternal(String trackId) Remove track by track id- Parameters:
- trackId- track id
- Returns:
- RTP track that was removed
 
 - 
clearTrackspublic void clearTracks() Clear all tracks
 - 
incrementMediaInBytespublic void incrementMediaInBytes(long bytes) Increment the media bytes in, Internal use.- Parameters:
- bytes-
 
 - 
sloppyGetTrackpublic com.wowza.wms.rtp.model.RTPTrack sloppyGetTrack(String trackId) Sloppy method for finding track by name, Internal use.- Parameters:
- trackId- track name
- Returns:
- RTP track
 
 - 
getTrackpublic com.wowza.wms.rtp.model.RTPTrack getTrack(String trackId) Get track by id- Parameters:
- trackId- track id
- Returns:
- RTP track
 
 - 
addTrackIdpublic void addTrackId(String seq, String trackId)Add track- Parameters:
- seq- sequence number
- trackId- track id
 
 - 
getTrackIdpublic String getTrackId(String seq) Get track by sequence number- Parameters:
- seq- sequence number
- Returns:
- RTP track
 
 - 
getTrackNamespublic java.util.List<String> getTrackNames() Get a list of track ids- Returns:
- list of track ids
 
 - 
getSessionpublic RTPSession getSession() Get the RTP session- Returns:
- RTP session
 
 - 
setSessionpublic void setSession(RTPSession session) Set the RTP session- Parameters:
- session- RTP session
 
 - 
getStreamIdpublic String getStreamId() Get the stream id- Returns:
- stream id
 
 - 
getStreampublic IMediaStream getStream() Get the IMediaStream- Returns:
- stream (IMediaStream) interface
 
 - 
getAudioTrackpublic com.wowza.wms.rtp.model.RTPTrack getAudioTrack() Get the most likely audio track- Returns:
- RTP track
 
 - 
getVideoTrackpublic com.wowza.wms.rtp.model.RTPTrack getVideoTrack() Get the most likely video track- Returns:
- RTP track
 
 - 
getStreamTrackpublic com.wowza.wms.rtp.model.RTPTrack getStreamTrack() Get the most likely stream track- Returns:
- RTP track
 
 - 
addStreamInfopublic void addStreamInfo(String key, String value)Add a name value pair to the stream info collection- Parameters:
- key- name
- value- value
 
 - 
getStreamInfopublic String getStreamInfo(String key) Get stream info by name- Parameters:
- key- name
- Returns:
- value
 
 - 
addStreamAttributepublic void addStreamAttribute(String key, String value)Add a name value pair to the stream attribute collection- Parameters:
- key- name
- value- value
 
 - 
getVHostpublic IVHost getVHost() Get vhost- Returns:
- vhost
 
 - 
getHostpublic String getHost() Get host- Returns:
- host
 
 - 
setHostpublic void setHost(String host) Set host- Parameters:
- host- host
 
 - 
streamExistspublic boolean streamExists() Return true if RTP stream contains a IMediaStream- Returns:
- true if RTP stream contains a IMediaStream
 
 - 
isPublishStreamReadypublic boolean isPublishStreamReady() See if a publishing stream has enough data to start playback- Returns:
- true, if the stream is ready for playback
 
 - 
lockRepeaterStreamspublic void lockRepeaterStreams(java.util.List<String> streamNames) Lock a list of live repeater stream names, Internal use.- Parameters:
- streamNames- stream names
 
 - 
addLockRepeaterStreamspublic void addLockRepeaterStreams(String streamName, MediaCasterStreamItem mediaCasterStreamItem)
 - 
unlockRepeaterStreamspublic void unlockRepeaterStreams() Unlock live repeater streams
 - 
getMediaCasterTypepublic String getMediaCasterType() Get the media caster stream type for this stream- Returns:
- media caster stream type
 
 - 
createStreampublic boolean createStream(com.wowza.wms.rtp.model.RTPRequestStatus status) 
 - 
createStreampublic boolean createStream(com.wowza.wms.rtp.model.RTPRequestStatus status, IApplicationInstance appInstance)Create IMediaStream, Internal use.- Parameters:
- status- status
- Returns:
- true if successful
 
 - 
shutdownpublic void shutdown(com.wowza.wms.rtp.model.RTPRequestStatus status) shutdown RTP stream, Internal use.- Parameters:
- status- status
 
 - 
initPropertiespublic void initProperties(IApplicationInstance appInstance) 
 - 
getAppInstancepublic IApplicationInstance getAppInstance() Get application instance- Returns:
- application instance
 
 - 
isPausedpublic boolean isPaused() Is stream paused- Returns:
- true if stream is paused
 
 - 
getDurationpublic double getDuration() Get the duration of the stream if video on demand- Returns:
- duration in seconds
 
 - 
isResetPlayStreampublic boolean isResetPlayStream() Is reset stream trigger, Internal use.- Returns:
- true if reset trigger
 
 - 
setResetPlayStreampublic void setResetPlayStream(boolean doResetPlayStream) Set reset stream trigger- Parameters:
- doResetPlayStream- true if reset trigger
 
 - 
recordpublic com.wowza.wms.rtp.model.RTPStreamPlayResult record(com.wowza.wms.rtp.model.RTPRequestStatus status) Execute record- Parameters:
- status- RTP status
- Returns:
- status
 
 - 
recordpublic com.wowza.wms.rtp.model.RTPStreamPlayResult record(com.wowza.wms.rtp.model.RTPRequestStatus status, double startTime, double stopTime)Execute record- Parameters:
- status- RTP status
- startTime- playback start time
- stopTime- playback stop time
- Returns:
- status
 
 - 
playpublic com.wowza.wms.rtp.model.RTPStreamPlayResult play(com.wowza.wms.rtp.model.RTPRequestStatus status) Execute play- Parameters:
- status- RTP status
- Returns:
- status
 
 - 
playpublic com.wowza.wms.rtp.model.RTPStreamPlayResult play(com.wowza.wms.rtp.model.RTPRequestStatus status, double startTime, double stopTime)Execute play- Parameters:
- status- RTP status
- startTime- playback start time
- stopTime- playback stop time
- Returns:
- status
 
 - 
attachToWMSSessionpublic void attachToWMSSession(com.wowza.wms.server.RtmpSessionInfo wmsSessionInfo) Attach to WMS session, Internal use- Parameters:
- wmsSessionInfo- session info
 
 - 
detachFromWMSSessionpublic void detachFromWMSSession(com.wowza.wms.server.RtmpSessionInfo wmsSessionInfo) Detach from WMS session, Internal use.- Parameters:
- wmsSessionInfo- session info
 
 - 
pausepublic void pause(com.wowza.wms.rtp.model.RTPRequestStatus status) Execute pause- Parameters:
- status- RTP status
 
 - 
announcepublic void announce(com.wowza.wms.rtp.model.RTPRequestStatus status) Execute announce command- Parameters:
- status- RTP status
 
 - 
isResyncAudioVideoOnSRpublic boolean isResyncAudioVideoOnSR() Reset audio/video sync on new RTCP packets (not just first packet)- Returns:
- true if resetting audio/video on new RTCP packets
 
 - 
setResyncAudioVideoOnSRpublic void setResyncAudioVideoOnSR(boolean resyncAudioVideoOnSR) Reset audio/video sync on new RTCP packets (not just first packet)- Parameters:
- resyncAudioVideoOnSR- true if resetting audio/video on new RTCP packets
 
 - 
isResyncAudioVideoOnSRLogpublic boolean isResyncAudioVideoOnSRLog() Log audio/video sync on new RTCP packets (not just first packet)- Returns:
- true if logging audio/video on new RTCP packets
 
 - 
setResyncAudioVideoOnSRLogpublic void setResyncAudioVideoOnSRLog(boolean resyncAudioVideoOnSRLog) Log audio/video sync on new RTCP packets (not just first packet)- Parameters:
- resyncAudioVideoOnSRLog- true if logging audio/video on new RTCP packets
 
 - 
setResyncAudioVideoOnSRLogStreamSuffixpublic void setResyncAudioVideoOnSRLogStreamSuffix(String names) Set the stream names that require to be logged for timing information- Parameters:
- names-
 
 - 
getResyncAudioVideoOnSRLogStreamSuffixpublic String getResyncAudioVideoOnSRLogStreamSuffix() Get the stream suffixes that are set for timing information logging- Returns:
- resyncAudioVideoOnSRLogStreamNames
 
 - 
getMetadataPacketpublic byte[] getMetadataPacket() Get the onMetadata packet for this RTP stream- Returns:
- onMetadata packet
 
 - 
resetSentMetadataFlagpublic void resetSentMetadataFlag() Reset sendMetadata flag
 - 
checkSendMetadatapublic void checkSendMetadata(long adjTimecode, com.wowza.wms.rtp.model.RTPTrack rtpTrack)Check to see if we have sent onMetadata event, if not send- Parameters:
- adjTimecode- timecode (milliseconds)
 
 - 
extractCodecConfigFromTrackInfopublic void extractCodecConfigFromTrackInfo() Extract codec config information from SDP data
 - 
getStreamTypepublic String getStreamType() Get the stream type- Returns:
- stream type
 
 - 
setStreamTypepublic void setStreamType(String streamType) Set the stream type- Parameters:
- streamType- stream type
 
 - 
getAppNamepublic String getAppName() Get the application name- Returns:
- application name
 
 - 
setAppNamepublic void setAppName(String appName) Get the application name- Parameters:
- appName- application name
 
 - 
getAppInstanceNamepublic String getAppInstanceName() Get the application instance name- Returns:
- application instance name
 
 - 
setAppInstanceNamepublic void setAppInstanceName(String appInstanceName) Set the application instance name- Parameters:
- appInstanceName- application instance name
 
 - 
getStreamExtpublic String getStreamExt() Get the stream extension- Returns:
- stream extension
 
 - 
setStreamExtpublic void setStreamExt(String streamExt) Set the stream extension- Parameters:
- streamExt- stream extension
 
 - 
getStreamNamepublic String getStreamName() Get stream name- Returns:
- stream name
 
 - 
setStreamNamepublic void setStreamName(String streamName) Set stream name- Parameters:
- streamName- stream name
 
 - 
getStreamNameLoggingpublic String getStreamNameLogging() Get the stream name used for logging- Returns:
- stream name used for logging
 
 - 
setStreamNameLoggingpublic void setStreamNameLogging(String streamNameLogging) Set the stream name used for logging- Parameters:
- streamNameLogging- stream name used for logging
 
 - 
getStreamSessionIdpublic long getStreamSessionId() Get the stream session id- Returns:
- stream session id
 
 - 
setStreamSessionIdpublic void setStreamSessionId(long streamSessionId) Set the stream session id- Parameters:
- streamSessionId- stream session id
 
 - 
getStreamSessionVersionpublic long getStreamSessionVersion() Get the stream session version- Returns:
- stream session version
 
 - 
setStreamSessionVersionpublic void setStreamSessionVersion(long streamSessionVersion) Set the stream session version- Parameters:
- streamSessionVersion- stream session version
 
 - 
getStreamSessionIppublic String getStreamSessionIp() Get the stream session ip- Returns:
- stream session ip
 
 - 
setStreamSessionIppublic void setStreamSessionIp(String streamSessionIp) Set the stream session ip- Parameters:
- streamSessionIp- stream session ip
 
 - 
isCheckSSRCpublic boolean isCheckSSRC() Are we checking the ssrc values of each incoming RTP packet- Returns:
- true if checking
 
 - 
setCheckSSRCpublic void setCheckSSRC(boolean checkSSRC) Are we checking the ssrc values of each incoming RTP packet- Parameters:
- checkSSRC- true if checking
 
 - 
isCheckIpAddrpublic boolean isCheckIpAddr() Are we checking the ip address of each incoming RTP packet- Returns:
- true if checking ip address of each incoming RTP packet
 
 - 
setCheckIpAddrpublic void setCheckIpAddr(boolean checkIpAddr) Are we checking the ip address of each incoming RTP packet- Parameters:
- checkIpAddr- true if checking ip address of each incoming RTP packet
 
 - 
getUDPTransportpublic IUDPTransport getUDPTransport(boolean isMulticast) Get the UDP transport for this stream- Parameters:
- isMulticast- true if multicast
- Returns:
- UDP transport
 
 - 
getAVSyncMethodpublic int getAVSyncMethod() Get the audio/video sync method. See AVSYNCMETHODS_*- Returns:
- audio/video sync method. See AVSYNCMETHODS_*
 
 - 
setAVSyncMethodpublic void setAVSyncMethod(int avSyncMethod) Set the audio/video sync method. See AVSYNCMETHODS_*- Parameters:
- avSyncMethod- audio/video sync method. See AVSYNCMETHODS_*
 
 - 
isAVSyncNonSRpublic boolean isAVSyncNonSR() Is sync method based on RTCP packets (sender report)- Returns:
- true if based in RTCP sender reports
 
 - 
getMaxRTCPWaitTimepublic int getMaxRTCPWaitTime() Get max time to wait for RTCP sender reports (milliseconds)- Returns:
- max time to wait for RTCP sender reports (milliseconds)
 
 - 
setMaxRTCPWaitTimepublic void setMaxRTCPWaitTime(int maxRTCPWaitTime) Set max time to wait for RTCP sender reports (milliseconds)- Parameters:
- maxRTCPWaitTime- max time to wait for RTCP sender reports (milliseconds)
 
 - 
getStreamInfopublic java.util.Map<String,String> getStreamInfo() Get all name/value pairs in the stream info collection- Returns:
- map of name/value pairs
 
 - 
getStreamAttributespublic java.util.Map<String,String> getStreamAttributes() Get all name/value pairs in the stream attributes collection- Returns:
- map of name/value pairs
 
 - 
avSyncNameToIdpublic static int avSyncNameToId(String avSyncName) Get audio/video sync id from name- Parameters:
- avSyncName- audio/video sync name
- Returns:
- audio/video sync id, see AVSYNCMETHODS_*
 
 - 
getMPEGTSAudioLanguagepublic String getMPEGTSAudioLanguage() 
 - 
setMPEGTSAudioLanguagepublic void setMPEGTSAudioLanguage(String mpegtsAudioLanguage) 
 - 
getMPEGTSProgramIDpublic int getMPEGTSProgramID() 
 - 
setMPEGTSProgramIDpublic void setMPEGTSProgramID(int mpegtsProgramId) 
 - 
getMPEGTSMagazineNumberpublic int getMPEGTSMagazineNumber() 
 - 
setMPEGTSMagazineNumberpublic void setMPEGTSMagazineNumber(int mpegtsDVBTeletextMagazineNumber) 
 - 
getMPEGTSPageNumberpublic int getMPEGTSPageNumber() 
 - 
setMPEGTSPageNumberpublic void setMPEGTSPageNumber(int mpegtsDVBTeletextPageNumber) 
 - 
getMPEGTSVideoPIDpublic int getMPEGTSVideoPID() Get the video PID id if MPEG-TS stream- Returns:
- video PID id if MPEG-TS stream
 
 - 
setMPEGTSVideoPIDpublic void setMPEGTSVideoPID(int mpegtsVideoPID) Set the video PID id if MPEG-TS stream- Parameters:
- mpegtsVideoPID- video PID id if MPEG-TS stream
 
 - 
getMPEGTSAudioPIDpublic int getMPEGTSAudioPID() Get the audio PID id if MPEG-TS stream- Returns:
- audio PID id if MPEG-TS stream
 
 - 
setMPEGTSAudioPIDpublic void setMPEGTSAudioPID(int mpegtsAudioPID) Set the audio PID id if MPEG-TS stream- Parameters:
- mpegtsAudioPID- audio PID id if MPEG-TS stream
 
 - 
isRTSPpublic boolean isRTSP() Is this RTP Stream managed by RTSP session- Returns:
- true if managed by RTSP session
 
 - 
setRTSPpublic void setRTSP(boolean isRTSP) Is this RTP Stream managed by RTSP session- Parameters:
- isRTSP- true if managed by RTSP session
 
 - 
isRTSPPullpublic boolean isRTSPPull() Is this RTP Stream managed by RTSP session- Returns:
- true if managed by RTSP session
 
 - 
setRTSPPullpublic void setRTSPPull(boolean isRTSPPull) Is this RTP Stream managed by RTSP session- Parameters:
- isRTSPPull- true if managed by RTSP session
 
 - 
getStreamQueryStrpublic String getStreamQueryStr() Get the stream query string- Returns:
- stream query string
 
 - 
setStreamQueryStrpublic void setStreamQueryStr(String streamQueryStr) Set the stream query string- Parameters:
- streamQueryStr- stream query string
 
 - 
getModeNamepublic String getModeName() 
 - 
isModePublishpublic boolean isModePublish() Is this a publish stream- Returns:
- true if publish stream
 
 - 
isModePlaypublic boolean isModePlay() Is this a play stream- Returns:
- true if play stream
 
 - 
isModeUknownpublic boolean isModeUknown() Is the stream mode unknown (publish vs play)- Returns:
- true if stream mode is unknown
 
 - 
getOutHostpublic String getOutHost() Get the out host- Returns:
- out host
 
 - 
setOutHostpublic void setOutHost(String outHost) Set out host- Parameters:
- outHost- out host
 
 - 
idlepublic void idle(org.apache.mina.common.IoSession session, com.wowza.wms.server.RtmpResponseMessage resp)Process idle event- Parameters:
- session- io session
- resp- idle request
 
 - 
getLastPacketsByTypepublic AMFPacket[] getLastPacketsByType(IMediaStream localStream) Analyzes stream to get information, Internal use.- Parameters:
- localStream- local stream
- Returns:
- important packets
 
 - 
getLastPacketsByTypepublic AMFPacket[] getLastPacketsByType(IMediaReader localReader, double startTime) Analyzes stream to get information, Internal use.- Parameters:
- localReader- media reader
- startTime- start time
- Returns:
- important packets
 
 - 
switchSetupToMPEGTSpublic void switchSetupToMPEGTS() Switch a stream to MPEG-TS, Internal use.
 - 
describepublic String describe(RTPSession rtspSession, com.wowza.wms.rtp.model.RTPRequestStatus status) Execute describe command- Parameters:
- rtspSession- RTP session
- status- RTP status
- Returns:
- describe response
 
 - 
describepublic String describe(RTPSession rtspSession, int isStreamPacketizer, com.wowza.wms.rtp.model.RTPRequestStatus status, int[] validCodecsAudio, int[] validCodecsVideo) Get RTP describe details- Parameters:
- rtspSession- rtp session
- isStreamPacketizer- is packetizing as a stream
- status- status
- validCodecsAudio- list of valid audio codecs
- validCodecsVideo- list of valid video codecs
- Returns:
- SDP info as a string
 
 - 
describeGetDetailspublic com.wowza.wms.rtp.model.RTPSDPParts describeGetDetails(RTPSession rtspSession, int isStreamPacketizer, com.wowza.wms.rtp.model.RTPRequestStatus status, int[] validCodecsAudio, int[] validCodecsVideo) Get RTP describe details- Parameters:
- rtspSession- rtp session
- isStreamPacketizer- is packetizing as a stream
- status- status
- validCodecsAudio- list of valid audio codecs
- validCodecsVideo- list of valid video codecs
- Returns:
- SDP parts
 
 - 
getModepublic int getMode() Get the current play/publish mode- Returns:
- play/publish mode
 
 - 
setModepublic void setMode(int mode) Set the play/publish mode- Parameters:
- mode- play/publish mode
 
 - 
getTransportModepublic String getTransportMode() Get the transport mode- Returns:
- transport mode
 
 - 
setTransportModepublic void setTransportMode(String transportMode) Set the transport mode- Parameters:
- transportMode- transport mode
 
 - 
getNormalizedNTPTimecodepublic long getNormalizedNTPTimecode(long timecode) Turn a millisecond timcode into an NTP timecode- Parameters:
- timecode- timecode (milliseconds)
- Returns:
- NTP timecode
 
 - 
isForceRTSPInterleavedpublic boolean isForceRTSPInterleaved() True if forcing RTSP interleaved- Returns:
- true if forcing RTSP interleaved
 
 - 
setForceRTSPInterleavedpublic void setForceRTSPInterleaved(boolean isForceRTSPInterleaved) True if forcing RTSP interleaved- Parameters:
- isForceRTSPInterleaved- true if forcing RTSP interleaved
 
 - 
getRTPInfopublic com.wowza.wms.rtp.model.RTPStream.RTPInfo getRTPInfo(double startTime, int videoSeq, int audioSeq)Get the RTP info- Parameters:
- startTime- start time
- videoSeq- video sequence number
- audioSeq- audio sequence number
- Returns:
- RTP info string
 
 - 
formatRTPInfopublic String formatRTPInfo(long timecode, int videoSeq, int audioSeq)Format RTP info- Parameters:
- timecode- timecode
- videoSeq- video sequence number
- audioSeq- audio sequence number
- Returns:
- RTP Info string
 
 - 
getRTSPSessionNamepublic String getRTSPSessionName() Get session name- Returns:
- session name
 
 - 
setRTSPSessionNamepublic void setRTSPSessionName(String rtspSessionName) Set session name- Parameters:
- rtspSessionName- session name
 
 - 
getRTSPSessionDescriptionpublic String getRTSPSessionDescription() Get session description- Returns:
- session description
 
 - 
setRTSPSessionDescriptionpublic void setRTSPSessionDescription(String rtspSessionDescription) Get session description- Parameters:
- rtspSessionDescription- session description
 
 - 
isSendSDESEventspublic boolean isSendSDESEvents() Send RTCP SDES events- Returns:
- true if sending RTCP SDES events
 
 - 
setSendSDESEventspublic void setSendSDESEvents(boolean sendSDESEvents) Send RTCP SDES events- Parameters:
- sendSDESEvents- true if sending RTCP SDES events
 
 - 
isMPEGTSOutpublic boolean isMPEGTSOut() Is MPEG-TS out- Returns:
- true if MPEG-TS out
 
 - 
setMPEGTSOutpublic void setMPEGTSOut(boolean isMPEGTSOut) Is MPEG-TS out- Parameters:
- isMPEGTSOut- true if MPEG-TS out
 
 - 
transportFindBestMatchpublic String transportFindBestMatch(String transport) Based on a trasport string from SETUP command find best match- Parameters:
- transport- trasport string
- Returns:
- best match
 
 - 
getAutoAllocateInterleavePortspublic int getAutoAllocateInterleavePorts() 
 - 
isLivepublic boolean isLive() Is live stream- Returns:
- true if live
 
 - 
setLivepublic void setLive(boolean isLive) Is live stream- Parameters:
- isLive- true if live
 
 - 
getMediaReaderpublic IMediaReader getMediaReader() Get media reader if video on demand stream- Returns:
- media reader
 
 - 
getRTSPSessionTimeoutpublic int getRTSPSessionTimeout() Get RTP session timeout (milliseconds)- Returns:
- RTP session timeout (milliseconds)
 
 - 
setRTSPSessionTimeoutpublic void setRTSPSessionTimeout(int rtspSessionTimeout) Set RTP session timeout (milliseconds)- Parameters:
- rtspSessionTimeout- RTP session timeout (milliseconds)
 
 - 
getRTSPMaximumPendingWriteBytespublic int getRTSPMaximumPendingWriteBytes() Get the maximum number of waiting bytes allow for this RTSP session- Returns:
- maximum number of waiting bytes allow for this RTSP session
 
 - 
setRTSPMaximumPendingWriteBytespublic void setRTSPMaximumPendingWriteBytes(int rtspMaximumPendingWriteBytes) Set the maximum number of waiting bytes allow for this RTSP session- Parameters:
- rtspMaximumPendingWriteBytes- maximum number of waiting bytes allow for this RTSP session
 
 - 
isTimeoutpublic boolean isTimeout(long currTime, int timeout)Is the stream timeout out- Parameters:
- currTime- current time
- timeout- timeout value
- Returns:
- true if timed out
 
 - 
touchpublic void touch() Touch the stream so that it does not timeout
 - 
getRTSPBindIpAddresspublic String getRTSPBindIpAddress() Get the bind RTSP bind IP address- Returns:
- bind RTSP bind IP address
 
 - 
setRTSPBindIpAddresspublic void setRTSPBindIpAddress(String rtspBindIpAddress) Set the bind RTSP bind IP address- Parameters:
- rtspBindIpAddress- bind RTSP bind IP address
 
 - 
getRTSPConnectionIpAddresspublic String getRTSPConnectionIpAddress() Get the connection IP address- Returns:
- connection IP address
 
 - 
setRTSPConnectionIpAddresspublic void setRTSPConnectionIpAddress(String rtspConnectionIpAddress) Set the connection IP address- Parameters:
- rtspConnectionIpAddress- connection IP address
 
 - 
getRTSPConnectionAddressTypepublic String getRTSPConnectionAddressType() Get the connection address type- Returns:
- connection address type
 
 - 
setRTSPConnectionAddressTypepublic void setRTSPConnectionAddressType(String rtspConnectionAddressType) Set the connection address type- Parameters:
- rtspConnectionAddressType- connection address type
 
 - 
getRTSPOriginIpAddresspublic String getRTSPOriginIpAddress() Get the origin IP address- Returns:
- origin IP address
 
 - 
setRTSPOriginIpAddresspublic void setRTSPOriginIpAddress(String rtspOriginIpAddress) Set the origin IP address- Parameters:
- rtspOriginIpAddress- origin IP address
 
 - 
getRTSPOriginAddressTypepublic String getRTSPOriginAddressType() Get the origin address type- Returns:
- origin address type
 
 - 
setRTSPOriginAddressTypepublic void setRTSPOriginAddressType(String rtspOriginAddressType) Set the origin address type- Parameters:
- rtspOriginAddressType- origin address type
 
 - 
getVODStartTimeTCpublic long getVODStartTimeTC() Get the video on demand start time (milliseconds)- Returns:
- video on demand start time (milliseconds)
 
 - 
setVODStartTimeTCpublic void setVODStartTimeTC(long vodStartTimeTC) Set the video on demand start time (milliseconds)- Parameters:
- vodStartTimeTC- video on demand start time (milliseconds)
 
 - 
getVODLastTimeTCpublic long getVODLastTimeTC() Get the last timecode (milliseconds) sent for video on demand- Returns:
- last timecode (milliseconds) sent for video on demand
 
 - 
setVODLastTimeTCpublic void setVODLastTimeTC(long vodLastTimeTC) Set the last timecode (milliseconds) sent for video on demand- Parameters:
- vodLastTimeTC- last timecode (milliseconds) sent for video on demand
 
 - 
getVODPlayLenpublic long getVODPlayLen() Get the video on demand play duration (milliseconds)- Returns:
- video on demand play duration (milliseconds)
 
 - 
setVODPlayLenpublic void setVODPlayLen(long vodPlayLen) Set the video on demand play duration (milliseconds)- Parameters:
- vodPlayLen- video on demand play duration (milliseconds)
 
 - 
isStreamStartedpublic boolean isStreamStarted() Is stream started- Returns:
- true if stream has started playback
 
 - 
isRTSPAlwaysUseSDPPortspublic boolean isRTSPAlwaysUseSDPPorts() Force RTSP to use ports in SDP data- Returns:
- true if using ports in SDP data
 
 - 
setRTSPAlwaysUseSDPPortspublic void setRTSPAlwaysUseSDPPorts(boolean rtspAlwaysUseSDPPorts) Force RTSP to use ports in SDP data- Parameters:
- rtspAlwaysUseSDPPorts- true if using ports in SDP data
 
 - 
putRTSPSessionExtraLinepublic void putRTSPSessionExtraLine(int location, String line)Add an extra line to the SDP data- Parameters:
- location- location of line, see SDPLOCATION_
- line- line to add
 
 - 
clearRTSPSessionExtraLinespublic void clearRTSPSessionExtraLines() Clear SDP extra lines
 - 
getRTSPSessionExtraLinespublic java.util.List<com.wowza.wms.rtp.model.RTPStream.RTSPExtraLine> getRTSPSessionExtraLines() Get extra SDP lines- Returns:
- extra SDP lines
 
 - 
getRTPDestinationpublic RTPDestination getRTPDestination() Get RTP destination- Returns:
- RTP destination
 
 - 
setRTPDestinationpublic void setRTPDestination(RTPDestination rtpDestination) Set RTP destination- Parameters:
- rtpDestination- RTP destination
 
 - 
getSDPLangpublic String getSDPLang() Get the SDP language- Returns:
- SDP language
 
 - 
setSDPLangpublic void setSDPLang(String sdpLang) Set the SDP language- Parameters:
- sdpLang- SDP language
 
 - 
isRTPIgnoreProfileLevelIdpublic boolean isRTPIgnoreProfileLevelId() 
 - 
setRTPIgnoreProfileLevelIdpublic void setRTPIgnoreProfileLevelId(boolean rtpIgnoreProfileLevelId) 
 - 
getUDPManagedDeliveryDelaypublic int getUDPManagedDeliveryDelay() 
 - 
setUDPManagedDeliveryDelaypublic void setUDPManagedDeliveryDelay(int udpManagedDeliveryDelay) 
 - 
getUDPManagedDeliveryCountpublic int getUDPManagedDeliveryCount() 
 - 
setUDPManagedDeliveryCountpublic void setUDPManagedDeliveryCount(int udpManagedDeliveryCount) 
 - 
isForceMPEGTSOutpublic boolean isForceMPEGTSOut() 
 - 
setForceMPEGTSOutpublic void setForceMPEGTSOut(boolean isForceMPEGTSOut) 
 - 
isBlockUDPOutpublic boolean isBlockUDPOut() 
 - 
setBlockUDPOutpublic void setBlockUDPOut(boolean blockUDPOut) 
 - 
getMPEGTSAudioBitratepublic int getMPEGTSAudioBitrate() 
 - 
setMPEGTSAudioBitratepublic void setMPEGTSAudioBitrate(int mpegtsAudioBitrate) 
 - 
getMPEGTSVideoBitratepublic int getMPEGTSVideoBitrate() 
 - 
setMPEGTSVideoBitratepublic void setMPEGTSVideoBitrate(int mpegtsVideoBitrate) 
 - 
isRTPIgnoreSPropParameterSetspublic boolean isRTPIgnoreSPropParameterSets() 
 - 
setRTPIgnoreSPropParameterSetspublic void setRTPIgnoreSPropParameterSets(boolean rtpIgnoreSPropParameterSets) 
 - 
getRTPStreamContextpublic com.wowza.wms.rtp.model.RTPStreamContext getRTPStreamContext() 
 - 
setRTPStreamContextpublic void setRTPStreamContext(com.wowza.wms.rtp.model.RTPStreamContext rtpStreamContext) 
 - 
isRefuseIncomingUDPConnectionspublic boolean isRefuseIncomingUDPConnections() 
 - 
setRefuseIncomingUDPConnectionspublic void setRefuseIncomingUDPConnections(boolean refuseIncomingUDPConnections) 
 - 
isRefuseOutgoingUDPConnectionspublic boolean isRefuseOutgoingUDPConnections() 
 - 
setRefuseOutgoingUDPConnectionspublic void setRefuseOutgoingUDPConnections(boolean refuseOutgoingUDPConnections) 
 - 
notifyEncryptionProviderAllTrackspublic void notifyEncryptionProviderAllTracks() 
 - 
notifyEncryptionProviderpublic void notifyEncryptionProvider(com.wowza.wms.rtp.model.RTPTrack rtpTrack) 
 - 
isUDPTransportOverridepublic boolean isUDPTransportOverride() 
 - 
setUDPTransportpublic void setUDPTransport(IUDPTransport udpTransport) 
 - 
getSDPTransportStrpublic String getSDPTransportStr() 
 - 
setSDPTransportStrpublic void setSDPTransportStr(String sdpTransportStr) 
 - 
isWebRTCpublic boolean isWebRTC() 
 - 
setWebRTCpublic void setWebRTC(boolean isWebRTC) 
 - 
isSRTpublic boolean isSRT() 
 - 
setSRTpublic void setSRT(boolean isSRT) 
 - 
getStreamHandlerLockpublic Object getStreamHandlerLock() 
 
- 
 
-