mirror of
https://github.com/ossrs/srs.git
synced 2025-03-09 15:49:59 +00:00
refine plan, add stream start time for atc
This commit is contained in:
parent
0c0010d529
commit
e271cb607f
5 changed files with 101 additions and 72 deletions
|
@ -37,6 +37,7 @@ class SrsHttpUri;
|
|||
class SrsSocket;
|
||||
class SrsRequest;
|
||||
class SrsHttpParser;
|
||||
class SrsFlvSegment;
|
||||
|
||||
#include <srs_app_st.hpp>
|
||||
|
||||
|
@ -126,8 +127,9 @@ public:
|
|||
* on_dvr_keyframe hook, when dvr get keyframe.
|
||||
* @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);
|
||||
static void on_dvr_keyframe(std::string url, SrsRequest* req, SrsFlvSegment* segment);
|
||||
};
|
||||
|
||||
#endif
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue