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

hotfix #267, the forward dest ep should use server. 1.0.15

This commit is contained in:
winlin 2014-12-29 09:05:56 +08:00
parent 513c1ec6d5
commit d9aca8ab82
3 changed files with 3 additions and 2 deletions

View file

@ -119,7 +119,7 @@ int SrsForwarder::on_publish()
if (_ep_forward == SRS_CONSTS_LOCALHOST) {
dest_ep += req->host;
} else {
dest_ep += _ep_forward;
dest_ep += server;
}
dest_ep += ":";
dest_ep += port;