mirror of
https://github.com/ZLMediaKit/ZLMediaKit.git
synced 2026-06-15 20:45:57 +08:00
支持http-flv直播
This commit is contained in:
@@ -85,6 +85,13 @@ int HttpClientImp::send(const string& str) {
|
||||
}
|
||||
return HttpClient::send(str);
|
||||
}
|
||||
int HttpClientImp::send(string &&str){
|
||||
if(_sslBox){
|
||||
_sslBox->onSend(str.data(),str.size());
|
||||
return str.size();
|
||||
}
|
||||
return HttpClient::send(std::move(str));
|
||||
}
|
||||
|
||||
int HttpClientImp::send(const char* str, int len) {
|
||||
if(_sslBox){
|
||||
|
||||
Reference in New Issue
Block a user