mirror of
https://github.com/ossrs/srs.git
synced 2025-03-09 15:49:59 +00:00
update on_hls, add ts_url, m3u8 and m3u8_url.
This commit is contained in:
parent
7b157b0678
commit
0acb942c3a
5 changed files with 28 additions and 9 deletions
|
@ -163,11 +163,14 @@ class SrsDvrAsyncCallOnHls : public ISrsDvrAsyncCall
|
|||
{
|
||||
private:
|
||||
std::string path;
|
||||
std::string ts_url;
|
||||
std::string m3u8;
|
||||
std::string m3u8_url;
|
||||
int seq_no;
|
||||
SrsRequest* req;
|
||||
double duration;
|
||||
public:
|
||||
SrsDvrAsyncCallOnHls(SrsRequest* r, std::string p, int s, double d);
|
||||
SrsDvrAsyncCallOnHls(SrsRequest* r, std::string p, std::string t, std::string m, std::string mu, int s, double d);
|
||||
virtual ~SrsDvrAsyncCallOnHls();
|
||||
public:
|
||||
virtual int call();
|
||||
|
@ -227,6 +230,7 @@ private:
|
|||
int _sequence_no;
|
||||
int target_duration;
|
||||
std::string m3u8;
|
||||
std::string m3u8_url;
|
||||
private:
|
||||
ISrsHlsHandler* handler;
|
||||
// TODO: FIXME: supports reload.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue