1
0
Fork 0
mirror of https://github.com/ossrs/srs.git synced 2025-03-09 15:49:59 +00:00

Live: Support follow client protocol for edge.

This commit is contained in:
winlin 2020-12-24 18:59:29 +08:00
parent 33fa43c118
commit 35431749c4
7 changed files with 57 additions and 2 deletions

View file

@ -680,6 +680,9 @@ SrsRequest* SrsHttpMessage::to_request(string vhost)
if (!oip.empty()) {
req->ip = oip;
}
// The request streaming protocol.
req->protocol = (schema_ == "http")? "flv" : "flvs";
return req;
}