The C++ framework for developing highly scalable, high performance servers on Windows platforms.

IManageRTSPResources Class Reference

Inheritance diagram for IManageRTSPResources:

List of all members.

Public Types

enum  ResponseCode {
  ResponseOK = 200, ResponseNotFound = 404, ResponseNotAcceptable = 406, ResponseInvalidParameter = 451,
  ResponseSessionNotFound = 454, ResponseUnsupportedTransport = 461
}
enum  SupportedTransports { SupportsUDPTransport = 0x01, SupportsTCPTransport = 0x10, SupportsAllTransports = 0x11 }

Public Member Functions

virtual ResponseCode Describe (const std::string &hostAddress, const std::string &rtspPort, const JetByteTools::Socket::IAddress &remoteAddress, const std::string &uri, const std::string &accept, std::string &description, std::string &contentType)=0
virtual ResponseCode Setup (SupportedTransports supportedTransports, const std::string &hostAddress, const JetByteTools::Socket::IAddress &remoteAddress, IInterleavedRTPTCPStream &tcpStream, const std::string &uri, std::string &session, const std::string &transport, std::string &selectedTransport, std::string &sessionDescription)=0
virtual ResponseCode Play (const std::string &hostAddress, const std::string &rtspPort, const JetByteTools::Socket::IAddress &remoteAddress, const std::string &uri, const std::string &sessionID, const std::string &range, std::string &outputRange, std::string &rtpInfo)=0
virtual ResponseCode Pause (const JetByteTools::Socket::IAddress &remoteAddress, const std::string &uri, const std::string &sessionID, const std::string &range)=0
virtual ResponseCode GetParameter (const JetByteTools::Socket::IAddress &remoteAddress, const std::string &uri, const std::string &sessionID, size_t entitySize, const BYTE *pEntityData)=0
virtual ResponseCode Teardown (const JetByteTools::Socket::IAddress &remoteAddress, const std::string &uri, const std::string &sessionID)=0
virtual ResponseCode DestroySession (const std::string &sessionID)=0
virtual void OnInboundStreamData (const IInterleavedRTPTCPStream &stream, JetByteTools::IO::CSmartBuffer &data)=0
virtual void RemoveStream (const IInterleavedRTPTCPStream &stream)=0
virtual void PauseSession (const std::string &sessionID)=0
virtual void ResumeSession (const std::string &sessionID)=0

Protected Member Functions

virtual ~IManageRTSPResources ()


Member Enumeration Documentation

Enumerator:
ResponseOK 
ResponseNotFound 
ResponseNotAcceptable 
ResponseInvalidParameter 
ResponseSessionNotFound 
ResponseUnsupportedTransport 

Enumerator:
SupportsUDPTransport 
SupportsTCPTransport 
SupportsAllTransports 


Constructor & Destructor Documentation

virtual ~IManageRTSPResources (  )  [protected, virtual]


Member Function Documentation

virtual ResponseCode Describe ( const std::string &  hostAddress,
const std::string &  rtspPort,
const JetByteTools::Socket::IAddress remoteAddress,
const std::string &  uri,
const std::string &  accept,
std::string &  description,
std::string &  contentType 
) [pure virtual]

Implemented in CRTSPResourceManager.

virtual ResponseCode Setup ( SupportedTransports  supportedTransports,
const std::string &  hostAddress,
const JetByteTools::Socket::IAddress remoteAddress,
IInterleavedRTPTCPStream tcpStream,
const std::string &  uri,
std::string &  session,
const std::string &  transport,
std::string &  selectedTransport,
std::string &  sessionDescription 
) [pure virtual]

Implemented in CRTSPResourceManager.

virtual ResponseCode Play ( const std::string &  hostAddress,
const std::string &  rtspPort,
const JetByteTools::Socket::IAddress remoteAddress,
const std::string &  uri,
const std::string &  sessionID,
const std::string &  range,
std::string &  outputRange,
std::string &  rtpInfo 
) [pure virtual]

Implemented in CRTSPResourceManager.

virtual ResponseCode Pause ( const JetByteTools::Socket::IAddress remoteAddress,
const std::string &  uri,
const std::string &  sessionID,
const std::string &  range 
) [pure virtual]

Implemented in CRTSPResourceManager.

virtual ResponseCode GetParameter ( const JetByteTools::Socket::IAddress remoteAddress,
const std::string &  uri,
const std::string &  sessionID,
size_t  entitySize,
const BYTE pEntityData 
) [pure virtual]

Implemented in CRTSPResourceManager.

virtual ResponseCode Teardown ( const JetByteTools::Socket::IAddress remoteAddress,
const std::string &  uri,
const std::string &  sessionID 
) [pure virtual]

Implemented in CRTSPResourceManager.

virtual ResponseCode DestroySession ( const std::string &  sessionID  )  [pure virtual]

Implemented in CRTSPResourceManager.

virtual void OnInboundStreamData ( const IInterleavedRTPTCPStream stream,
JetByteTools::IO::CSmartBuffer data 
) [pure virtual]

Implemented in CRTSPResourceManager.

virtual void RemoveStream ( const IInterleavedRTPTCPStream stream  )  [pure virtual]

Implemented in CRTSPResourceManager.

virtual void PauseSession ( const std::string &  sessionID  )  [pure virtual]

Implemented in CRTSPResourceManager.

virtual void ResumeSession ( const std::string &  sessionID  )  [pure virtual]

Implemented in CRTSPResourceManager.


Generated on Sun Sep 12 19:11:10 2021 for The Server Framework - v7.4 by doxygen 1.5.3