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:
parent
abb5c5ad31
commit
9a9483e7d5
6 changed files with 38 additions and 1 deletions
|
@ -28,6 +28,8 @@
|
|||
#include <srs_app_config.hpp>
|
||||
#include <srs_app_async_call.hpp>
|
||||
|
||||
#ifdef SRS_AUTO_KAFKA
|
||||
|
||||
SrsKafkaProducer::SrsKafkaProducer()
|
||||
{
|
||||
worker = new SrsAsyncCallWorker();
|
||||
|
@ -66,3 +68,5 @@ void SrsKafkaProducer::stop()
|
|||
worker->stop();
|
||||
}
|
||||
|
||||
#endif
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue