mirror of
https://github.com/ossrs/srs.git
synced 2025-03-09 15:49:59 +00:00
refine code:
优化 判断重复推流 及 推流流程
This commit is contained in:
parent
f6a2cea716
commit
2263f2a610
4 changed files with 59 additions and 143 deletions
5
trunk/src/app/srs_app_rtmp_conn.hpp
Normal file → Executable file
5
trunk/src/app/srs_app_rtmp_conn.hpp
Normal file → Executable file
|
@ -111,9 +111,10 @@ private:
|
|||
virtual int check_vhost();
|
||||
virtual int playing(SrsSource* source);
|
||||
virtual int do_playing(SrsSource* source, SrsConsumer* consumer, SrsQueueRecvThread* trd);
|
||||
virtual int fmle_publishing(SrsSource* source);
|
||||
virtual int flash_publishing(SrsSource* source);
|
||||
virtual int publishing(SrsSource* source);
|
||||
virtual int do_publishing(SrsSource* source, SrsPublishRecvThread* trd);
|
||||
virtual int acquire_publish(SrsSource* source, bool is_edge);
|
||||
virtual void release_publish(SrsSource* source, bool is_edge);
|
||||
virtual int handle_publish_message(SrsSource* source, SrsCommonMessage* msg, bool is_fmle, bool vhost_is_edge);
|
||||
virtual int process_publish_message(SrsSource* source, SrsCommonMessage* msg, bool vhost_is_edge);
|
||||
virtual int process_play_control_msg(SrsConsumer* consumer, SrsCommonMessage* msg);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue