summaryrefslogtreecommitdiff
path: root/server/recstreamer.h
diff options
context:
space:
mode:
Diffstat (limited to 'server/recstreamer.h')
-rw-r--r--server/recstreamer.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/server/recstreamer.h b/server/recstreamer.h
index 83df8c1..6c53a61 100644
--- a/server/recstreamer.h
+++ b/server/recstreamer.h
@@ -14,6 +14,7 @@ private:
RecPlayer m_RecPlayer;
int64_t m_From;
int64_t m_To;
+ std::string m_Pos;
uchar m_Buffer[RECBUFSIZE];
protected:
@@ -25,7 +26,9 @@ public:
inline uint64_t GetLength() { return m_RecPlayer.getLengthBytes(); }
int64_t SetRange(int64_t &From, int64_t &To);
virtual cString ToText() const;
- cStreamdevRecStreamer(cRecording *Recording, const cServerConnection *Connection);
+ int64_t GetFromByPos();
+ int32_t getIFrameBeforeFrame(int32_t frame);
+ cStreamdevRecStreamer(cRecording *Recording, const cServerConnection *Connection, std::string pos);
virtual ~cStreamdevRecStreamer();
};