mirror of
https://github.com/ossrs/srs.git
synced 2025-03-09 15:49:59 +00:00
support live flashP2P(integrated by chnvideo VDN). 0.9.75
This commit is contained in:
parent
b276714573
commit
67e1988b81
11 changed files with 164 additions and 62 deletions
|
@ -124,12 +124,12 @@ public:
|
|||
static void on_stop(std::string url, int client_id, std::string ip, SrsRequest* req);
|
||||
public:
|
||||
/**
|
||||
* on_dvr_keyframe hook, when dvr get keyframe.
|
||||
* on_dvr_reap_flv hook, when dvr close flv file.
|
||||
* @param url the api server url, to process the event.
|
||||
* ignore if empty.
|
||||
* @param segment the current flv segment.
|
||||
*/
|
||||
static void on_dvr_keyframe(std::string url, SrsRequest* req, SrsFlvSegment* segment);
|
||||
static void on_dvr_reap_flv(std::string url, SrsRequest* req, SrsFlvSegment* segment);
|
||||
};
|
||||
|
||||
#endif
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue