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

move some consts to kernel consts

This commit is contained in:
winlin 2014-07-20 13:11:53 +08:00
parent 073d900674
commit 736ec48c71
13 changed files with 46 additions and 35 deletions

View file

@ -86,8 +86,8 @@ int SrsForwarder::on_publish(SrsRequest* req, std::string forward_server)
stream_name = req->stream;
server = forward_server;
std::string s_port = RTMP_DEFAULT_PORT;
port = ::atoi(RTMP_DEFAULT_PORT);
std::string s_port = SRS_CONSTS_RTMP_DEFAULT_PORT;
port = ::atoi(SRS_CONSTS_RTMP_DEFAULT_PORT);
// TODO: FIXME: parse complex params
size_t pos = forward_server.find(":");