Commit 8ee98d1a authored by Francois Cartegnie's avatar Francois Cartegnie

stream_filter: dash: add callback method on chunk download

parent 0b80d620
...@@ -46,6 +46,7 @@ namespace dash ...@@ -46,6 +46,7 @@ namespace dash
{ {
public: public:
Chunk (); Chunk ();
virtual ~Chunk () {}
size_t getEndByte () const; size_t getEndByte () const;
size_t getStartByte () const; size_t getStartByte () const;
...@@ -71,6 +72,8 @@ namespace dash ...@@ -71,6 +72,8 @@ namespace dash
void setBitrate (uint64_t bitrate); void setBitrate (uint64_t bitrate);
int getBitrate (); int getBitrate ();
virtual void onDownload () {}
private: private:
std::string url; std::string url;
std::string path; std::string path;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment