1
0
Fork 0
mirror of https://github.com/ossrs/srs.git synced 2025-02-15 04:42:04 +00:00

refine comments for api key

This commit is contained in:
winlin 2015-10-13 11:27:39 +08:00
parent 21deeb8649
commit ca73534d7e

View file

@ -33,7 +33,10 @@
#ifdef SRS_AUTO_KAFKA
// https://cwiki.apache.org/confluence/display/KAFKA/A+Guide+To+The+Kafka+Protocol#AGuideToTheKafkaProtocol-ApiKeys
/**
* the api key used to identify the request type.
* @see https://cwiki.apache.org/confluence/display/KAFKA/A+Guide+To+The+Kafka+Protocol#AGuideToTheKafkaProtocol-ApiKeys
*/
enum SrsKafkaApiKey
{
SrsKafkaApiKeyProduceRequest = 0,
@ -178,7 +181,7 @@ public:
*/
virtual int header_size();
/**
* the size of message, the left bytes left after the header.
* the size of message, the bytes left after the header.
* @remark total_size = 4 + header_size + message_size.
*/
virtual int message_size();