正在显示
2 个修改的文件
包含
5 行增加
和
0 行删除
| @@ -255,6 +255,9 @@ int SrsForwarder::cycle() | @@ -255,6 +255,9 @@ int SrsForwarder::cycle() | ||
| 255 | srs_error("connect with server failed, stream_id=%d. ret=%d", stream_id, ret); | 255 | srs_error("connect with server failed, stream_id=%d. ret=%d", stream_id, ret); |
| 256 | return ret; | 256 | return ret; |
| 257 | } | 257 | } |
| 258 | + | ||
| 259 | + // TODO: FIXME: need to cache the metadata and sequence header when reconnect. | ||
| 260 | + | ||
| 258 | if ((ret = client->publish(stream_name, stream_id)) != ERROR_SUCCESS) { | 261 | if ((ret = client->publish(stream_name, stream_id)) != ERROR_SUCCESS) { |
| 259 | srs_error("connect with server failed, stream_name=%s, stream_id=%d. ret=%d", | 262 | srs_error("connect with server failed, stream_name=%s, stream_id=%d. ret=%d", |
| 260 | stream_name.c_str(), stream_id, ret); | 263 | stream_name.c_str(), stream_id, ret); |
trunk/src/core/srs_core_rtmp.cpp
100644 → 100755
| @@ -110,6 +110,8 @@ int SrsRequest::discovery_app() | @@ -110,6 +110,8 @@ int SrsRequest::discovery_app() | ||
| 110 | vhost = parsed_vhost->arg0(); | 110 | vhost = parsed_vhost->arg0(); |
| 111 | } | 111 | } |
| 112 | 112 | ||
| 113 | + // TODO: discovery the params of vhost. | ||
| 114 | + | ||
| 113 | srs_info("discovery app success. schema=%s, vhost=%s, port=%s, app=%s", | 115 | srs_info("discovery app success. schema=%s, vhost=%s, port=%s, app=%s", |
| 114 | schema.c_str(), vhost.c_str(), port.c_str(), app.c_str()); | 116 | schema.c_str(), vhost.c_str(), port.c_str(), app.c_str()); |
| 115 | 117 |
-
请 注册 或 登录 后发表评论