Package com.wowza.wms.rtp.model
Class RTPSessions
- Object
- 
- com.wowza.wms.rtp.model.RTPSessions
 
- 
 public class RTPSessions extends ObjectRTPSessions: collection of RTP sessions 
- 
- 
Constructor SummaryConstructors Constructor Description RTPSessions(IVHost vhost)Constructor
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description RTPSessionaddSession(RTPSession session)Add RTP sessionvoidaddSessionListener(IRTPSessionNotify listener)Add a RTP session listenerStringgetNextSessionId()Get next RTP session id for new sessionRTPSessiongetSession(String sessionId)Get RTP session by session idjava.util.List<String>getSessionIds()Get list of current RTP session idsIVHostgetVHost()Get vhostvoidnotifySessionCreate(IApplicationInstance appInstance, RTPSession rtpSession)Notify session createvoidnotifySessionCreate(RTPSession rtpSession)Notify session createvoidnotifySessionDestroy(IApplicationInstance appInstance, RTPSession rtpSession)Notify session destroyvoidnotifySessionDestroy(RTPSession rtpSession)Notify session destroyvoidreleaseSessionId(String sessionIdStr)Release an RTP session idRTPSessionremoveSession(RTPSession session)Remove RTP session by objectRTPSessionremoveSession(String sessionId)Remove RTP session by session idvoidremoveSessionListener(IRTPSessionNotify listener)Remove an RTP session listener
 
- 
- 
- 
Constructor Detail- 
RTPSessionspublic RTPSessions(IVHost vhost) Constructor- Parameters:
- vhost- vhost
 
 
- 
 - 
Method Detail- 
getNextSessionIdpublic String getNextSessionId() Get next RTP session id for new session- Returns:
- RTP session id
 
 - 
getSessionIdspublic java.util.List<String> getSessionIds() Get list of current RTP session ids- Returns:
- list of current RTP session ids
 
 - 
releaseSessionIdpublic void releaseSessionId(String sessionIdStr) Release an RTP session id- Parameters:
- sessionIdStr- RTP session id
 
 - 
getSessionpublic RTPSession getSession(String sessionId) Get RTP session by session id- Parameters:
- sessionId- session id
- Returns:
- RTP session
 
 - 
removeSessionpublic RTPSession removeSession(String sessionId) Remove RTP session by session id- Parameters:
- sessionId- session id
- Returns:
- RTP session if removed
 
 - 
removeSessionpublic RTPSession removeSession(RTPSession session) Remove RTP session by object- Parameters:
- session- RTP session
- Returns:
- RTP session if removed
 
 - 
addSessionpublic RTPSession addSession(RTPSession session) Add RTP session- Parameters:
- session- RTP session
- Returns:
- RTP session added
 
 - 
getVHostpublic IVHost getVHost() Get vhost- Returns:
- vhost
 
 - 
addSessionListenerpublic void addSessionListener(IRTPSessionNotify listener) Add a RTP session listener- Parameters:
- listener- RTP session listener
 
 - 
removeSessionListenerpublic void removeSessionListener(IRTPSessionNotify listener) Remove an RTP session listener- Parameters:
- listener- RTP session listener
 
 - 
notifySessionCreatepublic void notifySessionCreate(IApplicationInstance appInstance, RTPSession rtpSession) Notify session create- Parameters:
- appInstance- application instance
- rtpSession- RTP session
 
 - 
notifySessionDestroypublic void notifySessionDestroy(IApplicationInstance appInstance, RTPSession rtpSession) Notify session destroy- Parameters:
- appInstance- application instance
- rtpSession- RTP session
 
 - 
notifySessionCreatepublic void notifySessionCreate(RTPSession rtpSession) Notify session create- Parameters:
- rtpSession- RTP session
 
 - 
notifySessionDestroypublic void notifySessionDestroy(RTPSession rtpSession) Notify session destroy- Parameters:
- rtpSession- RTP session
 
 
- 
 
-