diff options
Diffstat (limited to 'hlsPlayer.h')
-rw-r--r-- | hlsPlayer.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/hlsPlayer.h b/hlsPlayer.h index 111a367..ee27049 100644 --- a/hlsPlayer.h +++ b/hlsPlayer.h @@ -27,6 +27,7 @@ private: unsigned int m_lastLoadedSegment; bool m_bufferFilled; bool m_newList; + int m_streamlenght; uchar* m_pBuffer; @@ -66,6 +67,7 @@ public: bool LoadM3u8(std::string uri); void AddHeader(Poco::Net::HTTPRequest& req); void Ping(void); + int GetStreamLenght(); }; class cHlsPlayer : public cPlayer, cThread |