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

@ -25,6 +25,8 @@
using namespace std;
#ifdef SRS_AUTO_KAFKA
SrsKafkaString::SrsKafkaString()
{
size = -1;
@ -194,3 +196,5 @@ SrsKafkaTopicMetadataRequest::~SrsKafkaTopicMetadataRequest()
{
}
#endif

View file

@ -31,6 +31,8 @@
#include <vector>
#ifdef SRS_AUTO_KAFKA
// https://cwiki.apache.org/confluence/display/KAFKA/A+Guide+To+The+Kafka+Protocol#AGuideToTheKafkaProtocol-ApiKeys
enum SrsKafkaApiKey
{
@ -310,3 +312,5 @@ public:
#endif
#endif