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

add todo for the bug of forwarder

This commit is contained in:
winlin 2013-12-12 16:18:32 +08:00
parent 7baa53a8d6
commit 6329284b39
2 changed files with 1130 additions and 1125 deletions

View file

@ -255,6 +255,9 @@ int SrsForwarder::cycle()
srs_error("connect with server failed, stream_id=%d. ret=%d", stream_id, ret);
return ret;
}
// TODO: FIXME: need to cache the metadata and sequence header when reconnect.
if ((ret = client->publish(stream_name, stream_id)) != ERROR_SUCCESS) {
srs_error("connect with server failed, stream_name=%s, stream_id=%d. ret=%d",
stream_name.c_str(), stream_id, ret);

2
trunk/src/core/srs_core_rtmp.cpp Normal file → Executable file
View file

@ -110,6 +110,8 @@ int SrsRequest::discovery_app()
vhost = parsed_vhost->arg0();
}
// TODO: discovery the params of vhost.
srs_info("discovery app success. schema=%s, vhost=%s, port=%s, app=%s",
schema.c_str(), vhost.c_str(), port.c_str(), app.c_str());