Package com.wowza.wms.rtp.model
Class RTPSession
Object
com.wowza.wms.rtp.model.RTPSession
RTPSession: RTP session
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected List<IRTSPActionNotify>
protected boolean
protected IApplicationInstance
protected IApplicationInstance
protected IAuthenticateRTSP
protected IAuthenticateRTSP
static final int
static final int
static final int
protected boolean
protected com.wowza.wms.client.ConnectionHolder
protected String
protected boolean
protected ElapsedTimer
protected IRTPEncryptionProvider
protected int
protected com.wowza.wms.rtp.model.RTPIdleHandler
protected IOPerformanceCounter
protected org.apache.mina.common.support.BaseIoSession
protected String
protected boolean
protected boolean
protected boolean
protected boolean
protected int
protected Object
protected boolean
protected String
protected WMSProperties
protected String
protected boolean
protected int
protected String
protected String
protected String
protected com.wowza.wms.rtp.model.RTPWriteListener
protected double
protected double
protected String
protected String
protected int
protected String
protected boolean
protected long
protected IOPerformanceCounter
protected IOPerformanceCounter
protected String
protected String
protected IVHost
protected com.wowza.wms.webrtc.model.WebRTCSession
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
Accept this sessionvoid
addActionListener
(IRTSPActionNotify actionListener) Add action listenervoid
addIOPerformance
(IOPerformanceCounter totalIOPerformanceResult) Internal usevoid
addIOPerformance2
(IOPerformanceCounter totalIOPerformanceResult) Internal usevoid
addRTSPStream
(RTPStream stream) Add RTP streamboolean
void
Clear logging values, Internal use.boolean
True if debugging RTCP messages being sent for the RTP sessionvoid
doIdle()
Get application instancecom.wowza.wms.rtp.model.RTPPacketizerItem
getAudioPacketizerItem
(RTPContext rtpContext, IApplicationInstance appInstance, int codecId) Get audio packetizer for a given codec id.Get the authentication play handlerGet the RTP authentication handlercom.wowza.wms.client.ConnectionHolder
Get connection holder, Internal use.Get cookie stringGet the elapsed timer for this RTP sessionint
Get idle frequency (milliseconds)com.wowza.wms.rtp.model.RTPIdleHandler
Get idle handlerGet IO performance counterorg.apache.mina.common.support.BaseIoSession
getIp()
Get remote IP addressint
Get the last method receivedGet propertiesGet query stringint
Get referrercom.wowza.wms.rtp.model.RTPWriteListener
Get the RTP write listener for this sessiondouble
Get play start range, Internal use.double
Get play stop range, Internal use.Get the default RTP Stream (all RTP sessions have a single RTP Stream)getRTSPStream
(String streamId) Get RTP StreamGet the RTSP/RTP tunneling session idGet the server IP addressint
Get server portGet session idcom.wowza.wms.rtp.model.RTPPacketizerItem
getStreamPacketizerItem
(RTPContext rtpContext, IApplicationInstance appInstance, int codecId) Get stream packetizer for a given codec id.Get the time running for this RTP sessiondouble
Get the number of second this RTP session has been runninggetUri()
Get URIGet user agentgetVHost()
Get vhostcom.wowza.wms.rtp.model.RTPPacketizerItem
getVideoPacketizerItem
(RTPContext rtpContext, IApplicationInstance appInstance, int codecId) Get video packetizer for a given codec id.com.wowza.wms.webrtc.model.WebRTCSession
boolean
isActive()
boolean
Has ANNOUNCE command been called on this sessionboolean
Has announce or described been calledboolean
boolean
Is session connectionboolean
True if debugging RTSP sessionboolean
Has DESCRIBE command been called on this sessionboolean
Is connect loggedboolean
boolean
Is this session validboolean
Is RTP session shutdownboolean
isWebRTC()
void
onAnnounce
(com.wowza.wms.rtsp.RTSPRequestMessage req, com.wowza.wms.rtsp.RTSPResponseMessages resp) Invoked on ANNOUNCE commandvoid
onDescribe
(com.wowza.wms.rtsp.RTSPRequestMessage req, com.wowza.wms.rtsp.RTSPResponseMessages resp) Invoked on DESCRIBE commandvoid
onGetParameter
(com.wowza.wms.rtsp.RTSPRequestMessage req, com.wowza.wms.rtsp.RTSPResponseMessages resp) Invoked on GET_PARAMETER commandvoid
onOptions
(com.wowza.wms.rtsp.RTSPRequestMessage req, com.wowza.wms.rtsp.RTSPResponseMessages resp) Invoked on OPTIONS commandvoid
onPause
(com.wowza.wms.rtsp.RTSPRequestMessage req, com.wowza.wms.rtsp.RTSPResponseMessages resp) Invoked on PAUSE commandvoid
onPlay
(com.wowza.wms.rtsp.RTSPRequestMessage req, com.wowza.wms.rtsp.RTSPResponseMessages resp) Invoked on PLAY commandvoid
onRecord
(com.wowza.wms.rtsp.RTSPRequestMessage req, com.wowza.wms.rtsp.RTSPResponseMessages resp) Invoked on RECORD commandvoid
onRedirect
(com.wowza.wms.rtsp.RTSPRequestMessage req, com.wowza.wms.rtsp.RTSPResponseMessages resp) Invoked on REDIRECT commandvoid
onSetParameter
(com.wowza.wms.rtsp.RTSPRequestMessage req, com.wowza.wms.rtsp.RTSPResponseMessages resp) Invoked on SET_PARAMETER commandvoid
onSetup
(com.wowza.wms.rtsp.RTSPRequestMessage req, com.wowza.wms.rtsp.RTSPResponseMessages resp) Invoked on SETUP commandvoid
onTeardown
(com.wowza.wms.rtsp.RTSPRequestMessage req, com.wowza.wms.rtsp.RTSPResponseMessages resp) Invoked on TEARDOWN commandvoid
putAudioPacketizerItem
(int codecId, String classPath) Set the audio packetizer for a given codec idvoid
putStreamPacketizerItem
(int codecId, String classPath) Set the stream packetizer for a given codec idvoid
putVideoPacketizerItem
(int codecId, String classPath) Set the video packetizer for a given codec idvoid
redirectSession
(String redirectSessionURL) void
redirectSession
(String redirectSessionURL, int redirectSessionCode) void
Reject this sessionvoid
removeActionListener
(IRTSPActionNotify actionListener) Remove action listenerremoveRTSPStream
(String streamId) Remove RTP streamvoid
setAnnounce
(boolean isAnnounce) Set ANNOUNCE command been called on this sessionvoid
setAppInstance
(IApplicationInstance appInstance) Set application instancevoid
setAuthenticatePlayHandler
(IAuthenticateRTSP authenticatePlayHandler) Set the authentication play handlervoid
setAuthenticatePublishHandler
(IAuthenticateRTSP authenticatePublishHandler) Set the RTP authentication handlervoid
setCheckIpAddresses
(boolean checkIpAddresses) Set whether the ip address on incoming RTP/RTCP messages should be checked against the initial source ip address received on the port, or for RTSP sessions, the source ip address retrieved diring the RTSP negotiation.void
setConnected
(boolean isConnected) Set session is connectedvoid
setCookieStr
(String cookieStr) Set cooking stringvoid
setDebugRTCPMessages
(boolean debugRTCPMessages) Set debugging RTCP messages being sent for the RTP sessionvoid
setDebugRTSPSession
(boolean debugRTSPSession) Set debugging RTSP sessionvoid
setDescribe
(boolean isDescribe) Set DESCRIBE command been called on this sessionvoid
setEncryptionProvider
(IRTPEncryptionProvider encryptionProvider) void
setIdleFrequency
(int idleFrequency) Set idle frequency (milliseconds)void
setIdleHandler
(com.wowza.wms.rtp.model.RTPIdleHandler idleHandler) Set idle handlervoid
setIOPerformanceCounter
(IOPerformanceCounter ioPerformanceCounter) Set IO performance countervoid
setIoSession
(org.apache.mina.common.support.BaseIoSession ioSession) void
Set remote IP addressvoid
setLastAuthenticateMethod
(int lastAuthenticateMethod) Set last method receivedvoid
setLoggedConnect
(boolean loggedConnect) Set connect loggedvoid
setMulticastInterfaceAddress
(String multicastInterfaceAddress) void
setQueryStr
(String queryStr) Set query stringvoid
setRedirectSession
(boolean redirectSession) void
setRedirectSessionCode
(int redirectSessionCode) void
setRedirectSessionMessage
(String redirectSessionMessage) void
setRedirectSessionURL
(String redirectSessionURL) void
setReferrer
(String referrer) Set referrervoid
setRTSPPlayRangeStart
(double rtspPlayRangeStart) Set play start range, Internal use.void
setRTSPPlayRangeStop
(double rtspPlayRangeStop) Set play stop range, Internal use.void
setRTSPTunnelingSessionId
(String rtspTunnelingSessionId) Set the RTSP/RTP tunneling session idvoid
setServerIp
(String serverIp) Set the server IP addressvoid
setServerPort
(int serverPort) Set server portvoid
setSessionId
(String sessionId) Set session idvoid
setSessionValid
(boolean isSessionValid) Set session validvoid
setShutdownClient
(boolean shutdownClient) Set RTP session shutdownvoid
Set URIvoid
setUserAgent
(String userAgent) Set user agentvoid
Set vhostvoid
setWebRTCSession
(com.wowza.wms.webrtc.model.WebRTCSession webRTCSession) void
shutdown()
shutdown RTP session, Internal use.void
shutdown
(com.wowza.wms.rtp.model.RTPRequestStatus status) shutdown RTP session, Internal use.void
touch()
Touch the stream so it doesn't timeoutvoid
Update logging values, Internal use.
-
Field Details
-
AUTHMETHOD_UNKNOWN
public static final int AUTHMETHOD_UNKNOWN- See Also:
-
AUTHMETHOD_PLAY
public static final int AUTHMETHOD_PLAY- See Also:
-
AUTHMETHOD_PUBLISH
public static final int AUTHMETHOD_PUBLISH- See Also:
-
sessionId
-
rtspTunnelingSessionId
-
streams
-
streamsOrder
-
vhost
-
userAgent
-
cookieStr
-
ip
-
isSessionValid
protected boolean isSessionValid -
authenticatePlayHandler
-
authenticatePublishHandler
-
lastAuthenticateMethod
protected int lastAuthenticateMethod -
appInstance
-
appInstanceShutdown
-
loggedConnect
protected boolean loggedConnect -
properties
-
isDescribe
protected boolean isDescribe -
isAnnounce
protected boolean isAnnounce -
rtpWriteListener
protected com.wowza.wms.rtp.model.RTPWriteListener rtpWriteListener -
timeCreated
protected long timeCreated -
ioPerformanceCounter
-
totalIOPerformanceLast
-
totalIOPerformance2Last
-
connectionHolder
protected com.wowza.wms.client.ConnectionHolder connectionHolder -
isConnected
protected boolean isConnected -
idleHandler
protected com.wowza.wms.rtp.model.RTPIdleHandler idleHandler -
serverIp
-
serverPort
protected int serverPort -
uri
-
referrer
-
queryStr
-
actionListeners
-
elapsedTime
-
idleFrequency
protected int idleFrequency -
debugRTSPSession
protected boolean debugRTSPSession -
rtspPlayRangeStart
protected double rtspPlayRangeStart -
rtspPlayRangeStop
protected double rtspPlayRangeStop -
shutdownClient
protected boolean shutdownClient -
audioPacketizers
-
videoPacketizers
-
streamPacketizers
-
redirectSession
protected boolean redirectSession -
redirectSessionCode
protected int redirectSessionCode -
redirectSessionMessage
-
redirectSessionURL
-
lock
-
ioSession
protected org.apache.mina.common.support.BaseIoSession ioSession -
encryptionProvider
-
active
protected boolean active -
webRTCSession
protected com.wowza.wms.webrtc.model.WebRTCSession webRTCSession -
multicastInterfaceAddress
-
checkIpAddresses
protected boolean checkIpAddresses
-
-
Constructor Details
-
RTPSession
Constructor- Parameters:
sessionId
- session id
-
-
Method Details
-
acceptSession
public void acceptSession()Accept this session -
rejectSession
public void rejectSession()Reject this session -
getSessionId
Get session id- Returns:
- session id
-
setSessionId
Set session id- Parameters:
sessionId
- session id
-
addRTSPStream
Add RTP stream- Parameters:
stream
- RTP stream
-
removeRTSPStream
Remove RTP stream- Parameters:
streamId
- stream id- Returns:
- RTP stream
-
getRTSPStream
Get RTP Stream- Parameters:
streamId
- stream id- Returns:
- RTP Stream
-
getRTSPStream
Get the default RTP Stream (all RTP sessions have a single RTP Stream)- Returns:
- RTP stream
-
getVHost
Get vhost- Returns:
- vhost
-
setVHost
Set vhost- Parameters:
vhost
- vhost
-
getUserAgent
Get user agent- Returns:
- user agent
-
setUserAgent
Set user agent- Parameters:
userAgent
- user agent
-
touch
public void touch()Touch the stream so it doesn't timeout -
shutdown
public void shutdown()shutdown RTP session, Internal use. -
shutdown
public void shutdown(com.wowza.wms.rtp.model.RTPRequestStatus status) shutdown RTP session, Internal use.- Parameters:
status
-
-
allPortsConnected
public boolean allPortsConnected() -
isSessionValid
public boolean isSessionValid()Is this session valid- Returns:
- true if valid
-
setSessionValid
public void setSessionValid(boolean isSessionValid) Set session valid- Parameters:
isSessionValid
- true if valid
-
getAuthenticatePublishHandler
Get the RTP authentication handler- Returns:
- RTP authentication handler
-
setAuthenticatePublishHandler
Set the RTP authentication handler- Parameters:
authenticatePublishHandler
- RTP authentication handler
-
getAuthenticatePlayHandler
Get the authentication play handler- Returns:
- authentication play handler
-
setAuthenticatePlayHandler
Set the authentication play handler- Parameters:
authenticatePlayHandler
- authentication play handler
-
getLastAuthenticateMethod
public int getLastAuthenticateMethod()Get the last method received- Returns:
- last method received
-
setLastAuthenticateMethod
public void setLastAuthenticateMethod(int lastAuthenticateMethod) Set last method received- Parameters:
lastAuthenticateMethod
- last method received
-
getAppInstance
Get application instance- Returns:
- application instance
-
setAppInstance
Set application instance- Parameters:
appInstance
- application instance
-
isLoggedConnect
public boolean isLoggedConnect()Is connect logged- Returns:
- true if logged
-
setLoggedConnect
public void setLoggedConnect(boolean loggedConnect) Set connect logged- Parameters:
loggedConnect
- true if logged
-
getIp
Get remote IP address- Returns:
- remote IP address
-
setIp
Set remote IP address- Parameters:
ip
- remote IP address
-
getProperties
Get properties- Returns:
- properties
-
isDescribe
public boolean isDescribe()Has DESCRIBE command been called on this session- Returns:
- true if called
-
setDescribe
public void setDescribe(boolean isDescribe) Set DESCRIBE command been called on this session- Parameters:
isDescribe
- true if called
-
isAnnounce
public boolean isAnnounce()Has ANNOUNCE command been called on this session- Returns:
- true if called
-
setAnnounce
public void setAnnounce(boolean isAnnounce) Set ANNOUNCE command been called on this session- Parameters:
isAnnounce
- true if called
-
isAnnounceOrDescribe
public boolean isAnnounceOrDescribe()Has announce or described been called- Returns:
- true if either called
-
getRTPWriteListener
public com.wowza.wms.rtp.model.RTPWriteListener getRTPWriteListener()Get the RTP write listener for this session- Returns:
- RTP write listener
-
addIOPerformance
Internal use- Parameters:
totalIOPerformanceResult
- IO performance counter
-
addIOPerformance2
Internal use- Parameters:
totalIOPerformanceResult
- IO performance counter
-
getConnectionHolder
public com.wowza.wms.client.ConnectionHolder getConnectionHolder()Get connection holder, Internal use.- Returns:
- connection holder
-
isConnected
public boolean isConnected()Is session connection- Returns:
- true if connected
-
setConnected
public void setConnected(boolean isConnected) Set session is connected- Parameters:
isConnected
- true if connected
-
getIdleHandler
public com.wowza.wms.rtp.model.RTPIdleHandler getIdleHandler()Get idle handler- Returns:
- idle handler
-
setIdleHandler
public void setIdleHandler(com.wowza.wms.rtp.model.RTPIdleHandler idleHandler) Set idle handler- Parameters:
idleHandler
- idle handler
-
getServerIp
Get the server IP address- Returns:
- IP address
-
setServerIp
Set the server IP address- Parameters:
serverIp
- IP address
-
getServerPort
public int getServerPort()Get server port- Returns:
- server port
-
setServerPort
public void setServerPort(int serverPort) Set server port- Parameters:
serverPort
- server port
-
getUri
Get URI- Returns:
- URI
-
setUri
Set URI- Parameters:
uri
- URI
-
getReferrer
Get referrer- Returns:
- referrer
-
setReferrer
Set referrer- Parameters:
referrer
- referrer
-
getQueryStr
Get query string- Returns:
- query string
-
setQueryStr
Set query string- Parameters:
queryStr
- query string
-
updateLoggingValues
public void updateLoggingValues()Update logging values, Internal use. -
clearLoggingValues
public void clearLoggingValues()Clear logging values, Internal use. -
addActionListener
Add action listener- Parameters:
actionListener
- action listener
-
removeActionListener
Remove action listener- Parameters:
actionListener
- action listener
-
onDescribe
public void onDescribe(com.wowza.wms.rtsp.RTSPRequestMessage req, com.wowza.wms.rtsp.RTSPResponseMessages resp) Invoked on DESCRIBE command- Parameters:
req
- RTP requestresp
- RTP response
-
onAnnounce
public void onAnnounce(com.wowza.wms.rtsp.RTSPRequestMessage req, com.wowza.wms.rtsp.RTSPResponseMessages resp) Invoked on ANNOUNCE command- Parameters:
req
- RTP requestresp
- RTP response
-
onGetParameter
public void onGetParameter(com.wowza.wms.rtsp.RTSPRequestMessage req, com.wowza.wms.rtsp.RTSPResponseMessages resp) Invoked on GET_PARAMETER command- Parameters:
req
- RTP requestresp
- RTP response
-
onSetParameter
public void onSetParameter(com.wowza.wms.rtsp.RTSPRequestMessage req, com.wowza.wms.rtsp.RTSPResponseMessages resp) Invoked on SET_PARAMETER command- Parameters:
req
- RTP requestresp
- RTP response
-
onOptions
public void onOptions(com.wowza.wms.rtsp.RTSPRequestMessage req, com.wowza.wms.rtsp.RTSPResponseMessages resp) Invoked on OPTIONS command- Parameters:
req
- RTP requestresp
- RTP response
-
onPause
public void onPause(com.wowza.wms.rtsp.RTSPRequestMessage req, com.wowza.wms.rtsp.RTSPResponseMessages resp) Invoked on PAUSE command- Parameters:
req
- RTP requestresp
- RTP response
-
onPlay
public void onPlay(com.wowza.wms.rtsp.RTSPRequestMessage req, com.wowza.wms.rtsp.RTSPResponseMessages resp) Invoked on PLAY command- Parameters:
req
- RTP requestresp
- RTP response
-
onRecord
public void onRecord(com.wowza.wms.rtsp.RTSPRequestMessage req, com.wowza.wms.rtsp.RTSPResponseMessages resp) Invoked on RECORD command- Parameters:
req
- RTP requestresp
- RTP response
-
onRedirect
public void onRedirect(com.wowza.wms.rtsp.RTSPRequestMessage req, com.wowza.wms.rtsp.RTSPResponseMessages resp) Invoked on REDIRECT command- Parameters:
req
- RTP requestresp
- RTP response
-
onSetup
public void onSetup(com.wowza.wms.rtsp.RTSPRequestMessage req, com.wowza.wms.rtsp.RTSPResponseMessages resp) Invoked on SETUP command- Parameters:
req
- RTP requestresp
- RTP response
-
onTeardown
public void onTeardown(com.wowza.wms.rtsp.RTSPRequestMessage req, com.wowza.wms.rtsp.RTSPResponseMessages resp) Invoked on TEARDOWN command- Parameters:
req
- RTP requestresp
- RTP response
-
getIdleFrequency
public int getIdleFrequency()Get idle frequency (milliseconds)- Returns:
- idle frequency (milliseconds)
-
setIdleFrequency
public void setIdleFrequency(int idleFrequency) Set idle frequency (milliseconds)- Parameters:
idleFrequency
- idle frequency (milliseconds)
-
isDebugRTSPSession
public boolean isDebugRTSPSession()True if debugging RTSP session- Returns:
- true if debugging RTSP session
-
setDebugRTSPSession
public void setDebugRTSPSession(boolean debugRTSPSession) Set debugging RTSP session- Parameters:
debugRTSPSession
- true if debugging RTSP session
-
debugRTCPMessages
public boolean debugRTCPMessages()True if debugging RTCP messages being sent for the RTP session- Returns:
- true if debugging RTCP messages being sent for the RTP session
-
setDebugRTCPMessages
public void setDebugRTCPMessages(boolean debugRTCPMessages) Set debugging RTCP messages being sent for the RTP session- Parameters:
debugRTCPMessages
- RTCP messages being sent for the RTP session
-
getRTSPTunnelingSessionId
Get the RTSP/RTP tunneling session id- Returns:
- RTSP/RTP tunneling session id
-
setRTSPTunnelingSessionId
Set the RTSP/RTP tunneling session id- Parameters:
rtspTunnelingSessionId
- RTSP/RTP tunneling session id
-
getRTSPPlayRangeStart
public double getRTSPPlayRangeStart()Get play start range, Internal use.- Returns:
- start range
-
setRTSPPlayRangeStart
public void setRTSPPlayRangeStart(double rtspPlayRangeStart) Set play start range, Internal use.- Parameters:
rtspPlayRangeStart
- start range
-
getRTSPPlayRangeStop
public double getRTSPPlayRangeStop()Get play stop range, Internal use.- Returns:
- stop range
-
setRTSPPlayRangeStop
public void setRTSPPlayRangeStop(double rtspPlayRangeStop) Set play stop range, Internal use.- Parameters:
rtspPlayRangeStop
- stop range
-
getCookieStr
Get cookie string- Returns:
- cookie string
-
setCookieStr
Set cooking string- Parameters:
cookieStr
- cooking string
-
getIOPerformanceCounter
Get IO performance counter- Returns:
- IO performance counter
-
setIOPerformanceCounter
Set IO performance counter- Parameters:
ioPerformanceCounter
- IO performance counter
-
isShutdownClient
public boolean isShutdownClient()Is RTP session shutdown- Returns:
- true if shutdown
-
setShutdownClient
public void setShutdownClient(boolean shutdownClient) Set RTP session shutdown- Parameters:
shutdownClient
- true if shutdown
-
getAudioPacketizerItem
public com.wowza.wms.rtp.model.RTPPacketizerItem getAudioPacketizerItem(RTPContext rtpContext, IApplicationInstance appInstance, int codecId) Get audio packetizer for a given codec id.- Parameters:
rtpContext
- RTP contextappInstance
- application instancecodecId
- codec id- Returns:
- packetizer info
-
getVideoPacketizerItem
public com.wowza.wms.rtp.model.RTPPacketizerItem getVideoPacketizerItem(RTPContext rtpContext, IApplicationInstance appInstance, int codecId) Get video packetizer for a given codec id.- Parameters:
rtpContext
- RTP contextappInstance
- application instancecodecId
- codec id- Returns:
- packetizer info
-
getStreamPacketizerItem
public com.wowza.wms.rtp.model.RTPPacketizerItem getStreamPacketizerItem(RTPContext rtpContext, IApplicationInstance appInstance, int codecId) Get stream packetizer for a given codec id.- Parameters:
rtpContext
- RTP contextappInstance
- application instancecodecId
- codec id- Returns:
- packetizer info
-
putAudioPacketizerItem
Set the audio packetizer for a given codec id- Parameters:
codecId
- codec idclassPath
- class path
-
putVideoPacketizerItem
Set the video packetizer for a given codec id- Parameters:
codecId
- codec idclassPath
- class path
-
putStreamPacketizerItem
Set the stream packetizer for a given codec id- Parameters:
codecId
- codec idclassPath
- class path
-
getElapsedTime
Get the elapsed timer for this RTP session- Returns:
- elapsed timer
-
getTimeRunning
Get the time running for this RTP session- Returns:
- time running as a string
-
getTimeRunningSeconds
public double getTimeRunningSeconds()Get the number of second this RTP session has been running- Returns:
- number of second this RTP session has been running
-
isRedirectSession
public boolean isRedirectSession() -
setRedirectSession
public void setRedirectSession(boolean redirectSession) -
getRedirectSessionCode
public int getRedirectSessionCode() -
setRedirectSessionCode
public void setRedirectSessionCode(int redirectSessionCode) -
getRedirectSessionURL
-
setRedirectSessionURL
-
redirectSession
-
redirectSession
-
getRedirectSessionMessage
-
setRedirectSessionMessage
-
getIoSession
public org.apache.mina.common.support.BaseIoSession getIoSession() -
setIoSession
public void setIoSession(org.apache.mina.common.support.BaseIoSession ioSession) -
doIdle
public void doIdle() -
getEncryptionProvider
-
setEncryptionProvider
-
isActive
public boolean isActive() -
getWebRTCSession
public com.wowza.wms.webrtc.model.WebRTCSession getWebRTCSession() -
setWebRTCSession
public void setWebRTCSession(com.wowza.wms.webrtc.model.WebRTCSession webRTCSession) -
isWebRTC
public boolean isWebRTC() -
getMulticastInterfaceAddress
-
setMulticastInterfaceAddress
-
isCheckIpAddresses
public boolean isCheckIpAddresses()- Returns:
- the checkIpAddresses
-
setCheckIpAddresses
public void setCheckIpAddresses(boolean checkIpAddresses) Set whether the ip address on incoming RTP/RTCP messages should be checked against the initial source ip address received on the port, or for RTSP sessions, the source ip address retrieved diring the RTSP negotiation. Default false.- Parameters:
checkIpAddresses
- the checkIpAddresses to set
-