Skip to content

Commit

Permalink
fix: support parse flv query params to http callback (#1339)
Browse files Browse the repository at this point in the history
  • Loading branch information
YLX authored and winlinvip committed Apr 5, 2019
1 parent eeffb6d commit ab83394
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions trunk/src/app/srs_app_http_conn.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -861,6 +861,10 @@ SrsRequest* SrsHttpMessage::to_request(string vhost)
}

req->tcUrl = "rtmp://" + vhost + req->app;
std::string query = _uri->get_query();
if (!query.empty()) {
req->tcUrl = req->tcUrl + "?" + query;
}
req->pageUrl = get_request_header("Referer");
req->objectEncoding = 0;

Expand Down

0 comments on commit ab83394

Please sign in to comment.