1
0
Fork 0
mirror of https://github.com/ossrs/srs.git synced 2025-03-09 15:49:59 +00:00
问题:edge模式,推流时异常断开。
    解决方法:增加edge模式推流检测。
This commit is contained in:
zhengfl 2015-07-08 15:43:09 +08:00
parent 120033e0a2
commit f9257b89e7
6 changed files with 46 additions and 15 deletions

1
trunk/src/app/srs_app_rtmp_conn.hpp Normal file → Executable file
View file

@ -123,6 +123,7 @@ private:
virtual int check_edge_token_traverse_auth();
virtual int connect_server(int origin_index, st_netfd_t* pstsock);
virtual int do_token_traverse_auth(SrsRtmpClient* client);
virtual int prepare_publish(SrsSource* source, bool vhost_is_edge);
private:
virtual int http_hooks_on_connect();
virtual void http_hooks_on_close();