1
0
Fork 0
mirror of https://github.com/ossrs/srs.git synced 2025-03-09 15:49:59 +00:00

for #299, refine the signature of api for hls/dash

This commit is contained in:
winlin 2017-02-19 21:48:32 +08:00
parent 711b58e0b2
commit ede1c34a25
6 changed files with 54 additions and 32 deletions

View file

@ -321,7 +321,6 @@ private:
int64_t last_update_time;
private:
SrsOriginHub* hub;
SrsFormat* format;
SrsRtmpJitter* jitter;
SrsPithyPrint* pprint;
/**
@ -348,7 +347,7 @@ public:
/**
* initialize the hls by handler and source.
*/
virtual int initialize(SrsOriginHub* h, SrsFormat* f, SrsRequest* r);
virtual int initialize(SrsOriginHub* h, SrsRequest* r);
/**
* publish stream event, continue to write the m3u8,
* for the muxer object not destroyed.