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 () |
enum ResponseCode |
enum SupportedTransports |
virtual ~IManageRTSPResources | ( | ) | [protected, virtual] |
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.