Skip to content

Commit

Permalink
support vhost for http flv.
Browse files Browse the repository at this point in the history
  • Loading branch information
winlinvip committed Aug 21, 2015
1 parent dd21eee commit c31a546
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions trunk/src/app/srs_app_http_stream.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -800,10 +800,6 @@ int SrsHttpStreamServer::http_mount(SrsSource* s, SrsRequest* r)

// remove the default vhost mount
mount = srs_string_replace(mount, SRS_CONSTS_RTMP_DEFAULT_VHOST"/", "/");
// TODO: FIXME: check match
if (mount.at(0) != '/') {
mount = "/" + mount;
}

entry = new SrsLiveEntry(mount, tmpl->hstrs);

Expand Down

1 comment on commit c31a546

@winlinvip
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

for #442

Please sign in to comment.