mirror of
https://github.com/ossrs/srs.git
synced 2025-03-09 15:49:59 +00:00
RTC: Use event notify for stream source
This commit is contained in:
parent
2b47b42213
commit
fb6c2fdf80
4 changed files with 50 additions and 18 deletions
|
@ -370,7 +370,6 @@ private:
|
|||
public:
|
||||
void request_keyframe(uint32_t ssrc);
|
||||
virtual srs_error_t do_request_keyframe(uint32_t ssrc, SrsContextId cid);
|
||||
void on_consumers_finished();
|
||||
// interface ISrsHourGlass
|
||||
public:
|
||||
virtual srs_error_t notify(int type, srs_utime_t interval, srs_utime_t tick);
|
||||
|
@ -412,8 +411,6 @@ public:
|
|||
virtual ~ISrsRtcConnectionHijacker();
|
||||
public:
|
||||
virtual srs_error_t on_dtls_done() = 0;
|
||||
// Notify when all consumers of publisher(specified by url) is finished.
|
||||
virtual void on_consumers_finished(std::string url) = 0;
|
||||
};
|
||||
|
||||
// A RTC Peer Connection, SDP level object.
|
||||
|
@ -516,7 +513,6 @@ public:
|
|||
srs_error_t on_rtcp_feedback_twcc(char* buf, int nb_buf);
|
||||
srs_error_t on_rtcp_feedback_remb(SrsRtcpPsfbCommon *rtcp);
|
||||
public:
|
||||
void on_consumers_finished(std::string url);
|
||||
void set_hijacker(ISrsRtcConnectionHijacker* h);
|
||||
public:
|
||||
srs_error_t on_connection_established();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue