1
0
Fork 0
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:
winlin 2014-04-22 12:20:58 +08:00
parent a73bf8d4aa
commit 36d8fdfc1a
3 changed files with 17 additions and 4 deletions

View file

@ -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()