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

support without kafka

This commit is contained in:
winlin 2015-09-22 17:46:07 +08:00
parent abb5c5ad31
commit 9a9483e7d5
6 changed files with 38 additions and 1 deletions

View file

@ -55,7 +55,9 @@ class SrsTcpListener;
#ifdef SRS_AUTO_STREAM_CASTER
class SrsAppCasterFlv;
#endif
#ifdef SRS_AUTO_KAFKA
class SrsKafkaProducer;
#endif
// listener type for server to identify the connection,
// that is, use different type to process the connection.
@ -248,7 +250,9 @@ private:
#ifdef SRS_AUTO_INGEST
SrsIngester* ingester;
#endif
#ifdef SRS_AUTO_KAFKA
SrsKafkaProducer* kafka;
#endif
private:
/**
* the pid file fd, lock the file write when server is running.