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

Always enable SRS_StreamCaster

This commit is contained in:
winlin 2018-12-22 20:45:25 +08:00
parent 0d5c86853a
commit 2e9bf2af83
14 changed files with 3 additions and 64 deletions

View file

@ -49,9 +49,7 @@ class ISrsTcpHandler;
class ISrsUdpHandler;
class SrsUdpListener;
class SrsTcpListener;
#ifdef SRS_AUTO_STREAM_CASTER
class SrsAppCasterFlv;
#endif
#ifdef SRS_AUTO_KAFKA
class SrsKafkaProducer;
#endif
@ -111,7 +109,6 @@ public:
virtual srs_error_t on_tcp_client(srs_netfd_t stfd);
};
#ifdef SRS_AUTO_STREAM_CASTER
/**
* the tcp listener, for rtsp server.
*/
@ -147,7 +144,6 @@ public:
public:
virtual srs_error_t on_tcp_client(srs_netfd_t stfd);
};
#endif
/**
* the udp listener, for udp server.
@ -167,14 +163,12 @@ public:
/**
* the udp listener, for udp stream caster server.
*/
#ifdef SRS_AUTO_STREAM_CASTER
class SrsUdpCasterListener : public SrsUdpStreamListener
{
public:
SrsUdpCasterListener(SrsServer* svr, SrsListenerType t, SrsConfDirective* c);
virtual ~SrsUdpCasterListener();
};
#endif
/**
* convert signal to io,