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:
parent
33fa43c118
commit
35431749c4
7 changed files with 57 additions and 2 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue