mirror of
https://github.com/ossrs/srs.git
synced 2025-03-09 15:49:59 +00:00
for #319, support initialize the parser to whether use jsonp
This commit is contained in:
parent
491ec11833
commit
01308ecc98
5 changed files with 40 additions and 35 deletions
|
@ -59,7 +59,7 @@ int SrsHttpClient::initialize(string h, int p, int64_t t_us)
|
|||
srs_freep(parser);
|
||||
parser = new SrsHttpParser();
|
||||
|
||||
if ((ret = parser->initialize(HTTP_RESPONSE)) != ERROR_SUCCESS) {
|
||||
if ((ret = parser->initialize(HTTP_RESPONSE, false)) != ERROR_SUCCESS) {
|
||||
srs_error("initialize parser failed. ret=%d", ret);
|
||||
return ret;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue