1
0
Fork 0
mirror of https://github.com/ossrs/srs.git synced 2025-03-09 15:49:59 +00:00

refine code, rename SrsRtmp to SrsRtmpServer.

This commit is contained in:
winlin 2014-03-02 13:54:40 +08:00
parent 4f91cae377
commit 8aedc51a2f
7 changed files with 58 additions and 42 deletions

View file

@ -146,14 +146,14 @@ public:
* such as connect to vhost/app, play stream, get audio/video data.
*/
// TODO: FIXME: rename to SrsRtmpServer
class SrsRtmp
class SrsRtmpServer
{
private:
SrsProtocol* protocol;
ISrsProtocolReaderWriter* io;
public:
SrsRtmp(ISrsProtocolReaderWriter* skt);
virtual ~SrsRtmp();
SrsRtmpServer(ISrsProtocolReaderWriter* skt);
virtual ~SrsRtmpServer();
public:
virtual SrsProtocol* get_protocol();
virtual void set_recv_timeout(int64_t timeout_us);