com.wowza.wms.rtp.model
Class RTPSession

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

public class RTPSession
extends Object

RTPSession: RTP session


Field Summary
protected  java.util.List<IRTSPActionNotify> actionListeners
           
protected  IApplicationInstance appInstance
           
protected  IApplicationInstance appInstanceShutdown
           
protected  java.util.Map<Integer,com.wowza.wms.rtp.model.RTPPacketizerItem> audioPacketizers
           
protected  IAuthenticateRTSP authenticatePlayHandler
           
protected  IAuthenticateRTSP authenticatePublishHandler
           
static int AUTHMETHOD_PLAY
           
static int AUTHMETHOD_PUBLISH
           
static int AUTHMETHOD_UNKNOWN
           
protected  com.wowza.wms.client.ConnectionHolder connectionHolder
           
protected  String cookieStr
           
protected  boolean debugRTSPSession
           
protected  ElapsedTimer elapsedTime
           
protected  int idleFrequency
           
protected  com.wowza.wms.rtp.model.RTPIdleHandler idleHandler
           
protected  IOPerformanceCounter ioPerformanceCounter
           
protected  String ip
           
protected  boolean isAnnounce
           
protected  boolean isConnected
           
protected  boolean isDescribe
           
protected  boolean isSessionValid
           
protected  int lastAuthenticateMethod
           
protected  boolean loggedConnect
           
protected  WMSProperties properties
           
protected  String queryStr
           
protected  String referrer
           
protected  com.wowza.wms.rtp.model.RTPWriteListener rtpWriteListener
           
protected  double rtspPlayRangeStart
           
protected  double rtspPlayRangeStop
           
protected  String rtspTunnelingSessionId
           
protected  String serverIp
           
protected  int serverPort
           
protected  String sessionId
           
protected  boolean shutdownClient
           
protected  java.util.Map<Integer,com.wowza.wms.rtp.model.RTPPacketizerItem> streamPacketizers
           
protected  java.util.Map<String,RTPStream> streams
           
protected  java.util.List<RTPStream> streamsOrder
           
protected  long timeCreated
           
protected  IOPerformanceCounter totalIOPerformance2Last
           
protected  IOPerformanceCounter totalIOPerformanceLast
           
protected  String uri
           
protected  String userAgent
           
protected  IVHost vhost
           
protected  java.util.Map<Integer,com.wowza.wms.rtp.model.RTPPacketizerItem> videoPacketizers
           
 
Constructor Summary
RTPSession(String sessionId)
          Constructor
 
Method Summary
 void acceptSession()
          Accept this session
 void addActionListener(IRTSPActionNotify actionListener)
          Add action listener
 void addIOPerformance(IOPerformanceCounter totalIOPerformanceResult)
          Internal use
 void addIOPerformance2(IOPerformanceCounter totalIOPerformanceResult)
          Internal use
 void addRTSPStream(RTPStream stream)
          Add RTP stream
 void clearLoggingValues()
          Clear logging values, Internal use.
 IApplicationInstance getAppInstance()
          Get application instance
 com.wowza.wms.rtp.model.RTPPacketizerItem getAudioPacketizerItem(RTPContext rtpContext, IApplicationInstance appInstance, int codecId)
          Get audio packetizer for a given codec id.
 IAuthenticateRTSP getAuthenticatePlayHandler()
          Get the authentication play handler
 IAuthenticateRTSP getAuthenticatePublishHandler()
          Get the RTP authentication handler
 com.wowza.wms.client.ConnectionHolder getConnectionHolder()
          Get connection holder, Internal use.
 String getCookieStr()
          Get cookie string
 int getIdleFrequency()
          Get idle frequency (milliseconds)
 com.wowza.wms.rtp.model.RTPIdleHandler getIdleHandler()
          Get idle handler
 IOPerformanceCounter getIOPerformanceCounter()
          Get IO performance counter
 String getIp()
          Get remote IP address
 int getLastAuthenticateMethod()
          Get the last method received
 WMSProperties getProperties()
          Get properties
 String getQueryStr()
          Get query string
 String getReferrer()
          Get referrer
 com.wowza.wms.rtp.model.RTPWriteListener getRTPWriteListener()
          Get the RTP write listener for this session
 double getRTSPPlayRangeStart()
          Get play start range, Internal use.
 double getRTSPPlayRangeStop()
          Get play stop range, Internal use.
 RTPStream getRTSPStream()
          Get the default RTP Stream (all RTP sessions have a single RTP Stream)
 RTPStream getRTSPStream(String streamId)
          Get RTP Stream
 String getRTSPTunnelingSessionId()
          Get the RTSP/RTP tunneling session id
 String getServerIp()
          Get the server IP address
 int getServerPort()
          Get server port
 String getSessionId()
          Get session id
 com.wowza.wms.rtp.model.RTPPacketizerItem getStreamPacketizerItem(RTPContext rtpContext, IApplicationInstance appInstance, int codecId)
          Get stream packetizer for a given codec id.
 String getUri()
          Get URI
 String getUserAgent()
          Get user agent
 IVHost getVHost()
          Get vhost
 com.wowza.wms.rtp.model.RTPPacketizerItem getVideoPacketizerItem(RTPContext rtpContext, IApplicationInstance appInstance, int codecId)
          Get video packetizer for a given codec id.
 boolean isAnnounce()
          Has ANNOUNCE command been called on this session
 boolean isAnnounceOrDescribe()
          Has announce or described been called
 boolean isConnected()
          Is session connection
 boolean isDebugRTSPSession()
          True if debugging RTSP session
 boolean isDescribe()
          Has DESCRIBE command been called on this session
 boolean isLoggedConnect()
          Is connect logged
 boolean isSessionValid()
          Is this session valid
 boolean isShutdownClient()
          Is RTP session shutdown
 void onAnnounce(com.wowza.wms.rtsp.RTSPRequestMessage req, com.wowza.wms.rtsp.RTSPResponseMessages resp)
          Invoked on ANNOUNCE command
 void onDescribe(com.wowza.wms.rtsp.RTSPRequestMessage req, com.wowza.wms.rtsp.RTSPResponseMessages resp)
          Invoked on DESCRIBE command
 void onGetParameter(com.wowza.wms.rtsp.RTSPRequestMessage req, com.wowza.wms.rtsp.RTSPResponseMessages resp)
          Invoked on GET_PARAMETER command
 void onOptions(com.wowza.wms.rtsp.RTSPRequestMessage req, com.wowza.wms.rtsp.RTSPResponseMessages resp)
          Invoked on OPTIONS command
 void onPause(com.wowza.wms.rtsp.RTSPRequestMessage req, com.wowza.wms.rtsp.RTSPResponseMessages resp)
          Invoked on PAUSE command
 void onPlay(com.wowza.wms.rtsp.RTSPRequestMessage req, com.wowza.wms.rtsp.RTSPResponseMessages resp)
          Invoked on PLAY command
 void onRecord(com.wowza.wms.rtsp.RTSPRequestMessage req, com.wowza.wms.rtsp.RTSPResponseMessages resp)
          Invoked on RECORD command
 void onRedirect(com.wowza.wms.rtsp.RTSPRequestMessage req, com.wowza.wms.rtsp.RTSPResponseMessages resp)
          Invoked on REDIRECT command
 void onSetParameter(com.wowza.wms.rtsp.RTSPRequestMessage req, com.wowza.wms.rtsp.RTSPResponseMessages resp)
          Invoked on SET_PARAMETER command
 void onSetup(com.wowza.wms.rtsp.RTSPRequestMessage req, com.wowza.wms.rtsp.RTSPResponseMessages resp)
          Invoked on SETUP command
 void onTeardown(com.wowza.wms.rtsp.RTSPRequestMessage req, com.wowza.wms.rtsp.RTSPResponseMessages resp)
          Invoked on TEARDOWN command
 void putAudioPacketizerItem(int codecId, String classPath)
          Set the audio packetizer for a given codec id
 void putStreamPacketizerItem(int codecId, String classPath)
          Set the stream packetizer for a given codec id
 void putVideoPacketizerItem(int codecId, String classPath)
          Set the video packetizer for a given codec id
 void rejectSession()
          Reject this session
 void removeActionListener(IRTSPActionNotify actionListener)
          Remove action listener
 RTPStream removeRTSPStream(String streamId)
          Remove RTP stream
 void setAnnounce(boolean isAnnounce)
          Set ANNOUNCE command been called on this session
 void setAppInstance(IApplicationInstance appInstance)
          Set application instance
 void setAuthenticatePlayHandler(IAuthenticateRTSP authenticatePlayHandler)
          Set the authentication play handler
 void setAuthenticatePublishHandler(IAuthenticateRTSP authenticatePublishHandler)
          Set the RTP authentication handler
 void setConnected(boolean isConnected)
          Set session is connected
 void setCookieStr(String cookieStr)
          Set cooking string
 void setDebugRTSPSession(boolean debugRTSPSession)
          Set debugging RTSP session
 void setDescribe(boolean isDescribe)
          Set DESCRIBE command been called on this session
 void setIdleFrequency(int idleFrequency)
          Set idle frequency (milliseconds)
 void setIdleHandler(com.wowza.wms.rtp.model.RTPIdleHandler idleHandler)
          Set idle handler
 void setIOPerformanceCounter(IOPerformanceCounter ioPerformanceCounter)
          Set IO performance counter
 void setIp(String ip)
          Set remote IP address
 void setLastAuthenticateMethod(int lastAuthenticateMethod)
          Set last method received
 void setLoggedConnect(boolean loggedConnect)
          Set connect logged
 void setQueryStr(String queryStr)
          Set query string
 void setReferrer(String referrer)
          Set referrer
 void 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 id
 void setServerIp(String serverIp)
          Set the server IP address
 void setServerPort(int serverPort)
          Set server port
 void setSessionId(String sessionId)
          Set session id
 void setSessionValid(boolean isSessionValid)
          Set session valid
 void setShutdownClient(boolean shutdownClient)
          Set RTP session shutdown
 void setUri(String uri)
          Set URI
 void setUserAgent(String userAgent)
          Set user agent
 void setVHost(IVHost vhost)
          Set vhost
 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 timeout
 void updateLoggingValues()
          Update logging values, Internal use.
 
Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

actionListeners

protected java.util.List<IRTSPActionNotify> actionListeners

appInstance

protected IApplicationInstance appInstance

appInstanceShutdown

protected IApplicationInstance appInstanceShutdown

audioPacketizers

protected java.util.Map<Integer,com.wowza.wms.rtp.model.RTPPacketizerItem> audioPacketizers

authenticatePlayHandler

protected IAuthenticateRTSP authenticatePlayHandler

authenticatePublishHandler

protected IAuthenticateRTSP authenticatePublishHandler

AUTHMETHOD_PLAY

public static final int AUTHMETHOD_PLAY
See Also:
Constant Field Values

AUTHMETHOD_PUBLISH

public static final int AUTHMETHOD_PUBLISH
See Also:
Constant Field Values

AUTHMETHOD_UNKNOWN

public static final int AUTHMETHOD_UNKNOWN
See Also:
Constant Field Values

connectionHolder

protected com.wowza.wms.client.ConnectionHolder connectionHolder

cookieStr

protected String cookieStr

debugRTSPSession

protected boolean debugRTSPSession

elapsedTime

protected ElapsedTimer elapsedTime

idleFrequency

protected int idleFrequency

idleHandler

protected com.wowza.wms.rtp.model.RTPIdleHandler idleHandler

ioPerformanceCounter

protected IOPerformanceCounter ioPerformanceCounter

ip

protected String ip

isAnnounce

protected boolean isAnnounce

isConnected

protected boolean isConnected

isDescribe

protected boolean isDescribe

isSessionValid

protected boolean isSessionValid

lastAuthenticateMethod

protected int lastAuthenticateMethod

loggedConnect

protected boolean loggedConnect

properties

protected WMSProperties properties

queryStr

protected String queryStr

referrer

protected String referrer

rtpWriteListener

protected com.wowza.wms.rtp.model.RTPWriteListener rtpWriteListener

rtspPlayRangeStart

protected double rtspPlayRangeStart

rtspPlayRangeStop

protected double rtspPlayRangeStop

rtspTunnelingSessionId

protected String rtspTunnelingSessionId

serverIp

protected String serverIp

serverPort

protected int serverPort

sessionId

protected String sessionId

shutdownClient

protected boolean shutdownClient

streamPacketizers

protected java.util.Map<Integer,com.wowza.wms.rtp.model.RTPPacketizerItem> streamPacketizers

streams

protected java.util.Map<String,RTPStream> streams

streamsOrder

protected java.util.List<RTPStream> streamsOrder

timeCreated

protected long timeCreated

totalIOPerformance2Last

protected IOPerformanceCounter totalIOPerformance2Last

totalIOPerformanceLast

protected IOPerformanceCounter totalIOPerformanceLast

uri

protected String uri

userAgent

protected String userAgent

vhost

protected IVHost vhost

videoPacketizers

protected java.util.Map<Integer,com.wowza.wms.rtp.model.RTPPacketizerItem> videoPacketizers
Constructor Detail

RTPSession

public RTPSession(String sessionId)
Constructor

Parameters:
sessionId - session id
Method Detail

acceptSession

public void acceptSession()
Accept this session


addActionListener

public void addActionListener(IRTSPActionNotify actionListener)
Add action listener

Parameters:
actionListener - action listener

addIOPerformance

public void addIOPerformance(IOPerformanceCounter totalIOPerformanceResult)
Internal use

Parameters:
totalIOPerformanceResult - IO performance counter

addIOPerformance2

public void addIOPerformance2(IOPerformanceCounter totalIOPerformanceResult)
Internal use

Parameters:
totalIOPerformanceResult - IO performance counter

addRTSPStream

public void addRTSPStream(RTPStream stream)
Add RTP stream

Parameters:
stream - RTP stream

clearLoggingValues

public void clearLoggingValues()
Clear logging values, Internal use.


getAppInstance

public IApplicationInstance getAppInstance()
Get application instance

Returns:
application instance

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 context
appInstance - application instance
codecId - codec id
Returns:
packetizer info

getAuthenticatePlayHandler

public IAuthenticateRTSP getAuthenticatePlayHandler()
Get the authentication play handler

Returns:
authentication play handler

getAuthenticatePublishHandler

public IAuthenticateRTSP getAuthenticatePublishHandler()
Get the RTP authentication handler

Returns:
RTP authentication handler

getConnectionHolder

public com.wowza.wms.client.ConnectionHolder getConnectionHolder()
Get connection holder, Internal use.

Returns:
connection holder

getCookieStr

public String getCookieStr()
Get cookie string

Returns:
cookie string

getIdleFrequency

public int getIdleFrequency()
Get idle frequency (milliseconds)

Returns:
idle frequency (milliseconds)

getIdleHandler

public com.wowza.wms.rtp.model.RTPIdleHandler getIdleHandler()
Get idle handler

Returns:
idle handler

getIOPerformanceCounter

public IOPerformanceCounter getIOPerformanceCounter()
Get IO performance counter

Returns:
IO performance counter

getIp

public String getIp()
Get remote IP address

Returns:
remote IP address

getLastAuthenticateMethod

public int getLastAuthenticateMethod()
Get the last method received

Returns:
last method received

getProperties

public WMSProperties getProperties()
Get properties

Returns:
properties

getQueryStr

public String getQueryStr()
Get query string

Returns:
query string

getReferrer

public String getReferrer()
Get referrer

Returns:
referrer

getRTPWriteListener

public com.wowza.wms.rtp.model.RTPWriteListener getRTPWriteListener()
Get the RTP write listener for this session

Returns:
RTP write listener

getRTSPPlayRangeStart

public double getRTSPPlayRangeStart()
Get play start range, Internal use.

Returns:
start range

getRTSPPlayRangeStop

public double getRTSPPlayRangeStop()
Get play stop range, Internal use.

Returns:
stop range

getRTSPStream

public RTPStream getRTSPStream()
Get the default RTP Stream (all RTP sessions have a single RTP Stream)

Returns:
RTP stream

getRTSPStream

public RTPStream getRTSPStream(String streamId)
Get RTP Stream

Parameters:
streamId - stream id
Returns:
RTP Stream

getRTSPTunnelingSessionId

public String getRTSPTunnelingSessionId()
Get the RTSP/RTP tunneling session id

Returns:
RTSP/RTP tunneling session id

getServerIp

public String getServerIp()
Get the server IP address

Returns:
IP address

getServerPort

public int getServerPort()
Get server port

Returns:
server port

getSessionId

public String getSessionId()
Get session id

Returns:
session id

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 context
appInstance - application instance
codecId - codec id
Returns:
packetizer info

getUri

public String getUri()
Get URI

Returns:
URI

getUserAgent

public String getUserAgent()
Get user agent

Returns:
user agent

getVHost

public IVHost getVHost()
Get vhost

Returns:
vhost

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 context
appInstance - application instance
codecId - codec id
Returns:
packetizer info

isAnnounce

public boolean isAnnounce()
Has ANNOUNCE command been called on this session

Returns:
true if called

isAnnounceOrDescribe

public boolean isAnnounceOrDescribe()
Has announce or described been called

Returns:
true if either called

isConnected

public boolean isConnected()
Is session connection

Returns:
true if connected

isDebugRTSPSession

public boolean isDebugRTSPSession()
True if debugging RTSP session

Returns:
true if debugging RTSP session

isDescribe

public boolean isDescribe()
Has DESCRIBE command been called on this session

Returns:
true if called

isLoggedConnect

public boolean isLoggedConnect()
Is connect logged

Returns:
true if logged

isSessionValid

public boolean isSessionValid()
Is this session valid

Returns:
true if valid

isShutdownClient

public boolean isShutdownClient()
Is RTP session shutdown

Returns:
true if shutdown

onAnnounce

public void onAnnounce(com.wowza.wms.rtsp.RTSPRequestMessage req,
                       com.wowza.wms.rtsp.RTSPResponseMessages resp)
Invoked on ANNOUNCE command

Parameters:
req - RTP request
resp - RTP response

onDescribe

public void onDescribe(com.wowza.wms.rtsp.RTSPRequestMessage req,
                       com.wowza.wms.rtsp.RTSPResponseMessages resp)
Invoked on DESCRIBE command

Parameters:
req - RTP request
resp - 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 request
resp - 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 request
resp - 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 request
resp - 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 request
resp - 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 request
resp - 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 request
resp - 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 request
resp - 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 request
resp - 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 request
resp - RTP response

putAudioPacketizerItem

public void putAudioPacketizerItem(int codecId,
                                   String classPath)
Set the audio packetizer for a given codec id

Parameters:
codecId - codec id
classPath - class path

putStreamPacketizerItem

public void putStreamPacketizerItem(int codecId,
                                    String classPath)
Set the stream packetizer for a given codec id

Parameters:
codecId - codec id
classPath - class path

putVideoPacketizerItem

public void putVideoPacketizerItem(int codecId,
                                   String classPath)
Set the video packetizer for a given codec id

Parameters:
codecId - codec id
classPath - class path

rejectSession

public void rejectSession()
Reject this session


removeActionListener

public void removeActionListener(IRTSPActionNotify actionListener)
Remove action listener

Parameters:
actionListener - action listener

removeRTSPStream

public RTPStream removeRTSPStream(String streamId)
Remove RTP stream

Parameters:
streamId - stream id
Returns:
RTP stream

setAnnounce

public void setAnnounce(boolean isAnnounce)
Set ANNOUNCE command been called on this session

Parameters:
isAnnounce - true if called

setAppInstance

public void setAppInstance(IApplicationInstance appInstance)
Set application instance

Parameters:
appInstance - application instance

setAuthenticatePlayHandler

public void setAuthenticatePlayHandler(IAuthenticateRTSP authenticatePlayHandler)
Set the authentication play handler

Parameters:
authenticatePlayHandler - authentication play handler

setAuthenticatePublishHandler

public void setAuthenticatePublishHandler(IAuthenticateRTSP authenticatePublishHandler)
Set the RTP authentication handler

Parameters:
authenticatePublishHandler - RTP authentication handler

setConnected

public void setConnected(boolean isConnected)
Set session is connected

Parameters:
isConnected - true if connected

setCookieStr

public void setCookieStr(String cookieStr)
Set cooking string

Parameters:
cookieStr - cooking string

setDebugRTSPSession

public void setDebugRTSPSession(boolean debugRTSPSession)
Set debugging RTSP session

Parameters:
debugRTSPSession - true if debugging RTSP session

setDescribe

public void setDescribe(boolean isDescribe)
Set DESCRIBE command been called on this session

Parameters:
isDescribe - true if called

setIdleFrequency

public void setIdleFrequency(int idleFrequency)
Set idle frequency (milliseconds)

Parameters:
idleFrequency - idle frequency (milliseconds)

setIdleHandler

public void setIdleHandler(com.wowza.wms.rtp.model.RTPIdleHandler idleHandler)
Set idle handler

Parameters:
idleHandler - idle handler

setIOPerformanceCounter

public void setIOPerformanceCounter(IOPerformanceCounter ioPerformanceCounter)
Set IO performance counter

Parameters:
ioPerformanceCounter - IO performance counter

setIp

public void setIp(String ip)
Set remote IP address

Parameters:
ip - remote IP address

setLastAuthenticateMethod

public void setLastAuthenticateMethod(int lastAuthenticateMethod)
Set last method received

Parameters:
lastAuthenticateMethod - last method received

setLoggedConnect

public void setLoggedConnect(boolean loggedConnect)
Set connect logged

Parameters:
loggedConnect - true if logged

setQueryStr

public void setQueryStr(String queryStr)
Set query string

Parameters:
queryStr - query string

setReferrer

public void setReferrer(String referrer)
Set referrer

Parameters:
referrer - referrer

setRTSPPlayRangeStart

public void setRTSPPlayRangeStart(double rtspPlayRangeStart)
Set play start range, Internal use.

Parameters:
rtspPlayRangeStart - start range

setRTSPPlayRangeStop

public void setRTSPPlayRangeStop(double rtspPlayRangeStop)
Set play stop range, Internal use.

Parameters:
rtspPlayRangeStop - stop range

setRTSPTunnelingSessionId

public void setRTSPTunnelingSessionId(String rtspTunnelingSessionId)
Set the RTSP/RTP tunneling session id

Parameters:
rtspTunnelingSessionId - RTSP/RTP tunneling session id

setServerIp

public void setServerIp(String serverIp)
Set the server IP address

Parameters:
serverIp - IP address

setServerPort

public void setServerPort(int serverPort)
Set server port

Parameters:
serverPort - server port

setSessionId

public void setSessionId(String sessionId)
Set session id

Parameters:
sessionId - session id

setSessionValid

public void setSessionValid(boolean isSessionValid)
Set session valid

Parameters:
isSessionValid - true if valid

setShutdownClient

public void setShutdownClient(boolean shutdownClient)
Set RTP session shutdown

Parameters:
shutdownClient - true if shutdown

setUri

public void setUri(String uri)
Set URI

Parameters:
uri - URI

setUserAgent

public void setUserAgent(String userAgent)
Set user agent

Parameters:
userAgent - user agent

setVHost

public void setVHost(IVHost vhost)
Set vhost

Parameters:
vhost - vhost

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 -

touch

public void touch()
Touch the stream so it doesn't timeout


updateLoggingValues

public void updateLoggingValues()
Update logging values, Internal use.