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

@ -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