mirror of
https://github.com/ossrs/srs.git
synced 2025-03-09 15:49:59 +00:00
move the ts buffer to http message
This commit is contained in:
parent
a73bf8d4aa
commit
36d8fdfc1a
3 changed files with 17 additions and 4 deletions
|
@ -515,6 +515,7 @@ SrsHttpMessage::SrsHttpMessage()
|
|||
_uri = new SrsHttpUri();
|
||||
_match = NULL;
|
||||
_requires_crossdomain = false;
|
||||
_http_ts_send_buffer = new char[HTTP_TS_SEND_BUFFER_SIZE];
|
||||
}
|
||||
|
||||
SrsHttpMessage::~SrsHttpMessage()
|
||||
|
@ -522,6 +523,12 @@ SrsHttpMessage::~SrsHttpMessage()
|
|||
srs_freep(_body);
|
||||
srs_freep(_uri);
|
||||
srs_freep(_match);
|
||||
srs_freepa(_http_ts_send_buffer);
|
||||
}
|
||||
|
||||
char* SrsHttpMessage::http_ts_send_buffer()
|
||||
{
|
||||
return _http_ts_send_buffer;
|
||||
}
|
||||
|
||||
void SrsHttpMessage::reset()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue