mirror of
https://github.com/ZLMediaKit/ZLMediaKit.git
synced 2026-06-16 13:05:59 +08:00
优化rtsp服务器代码
修复一个rtp over http的bug
This commit is contained in:
@@ -81,9 +81,15 @@ protected:
|
||||
* 恢复初始设置
|
||||
*/
|
||||
void reset();
|
||||
|
||||
/**
|
||||
* 剩余数据大小
|
||||
*/
|
||||
int64_t remainDataSize();
|
||||
private:
|
||||
string _remain_data;
|
||||
int64_t _content_len = 0;
|
||||
int64_t _remain_data_size = 0;
|
||||
};
|
||||
|
||||
} /* namespace mediakit */
|
||||
|
||||
Reference in New Issue
Block a user