summaryrefslogtreecommitdiff
path: root/vdr-smarttvweb/httpresource.h
diff options
context:
space:
mode:
authorthlo <t.lohmar@gmx.de>2013-03-17 09:28:01 +0100
committerthlo <t.lohmar@gmx.de>2013-03-17 09:28:01 +0100
commit09f233d4c92c73dfa0456c7c87bcc758b68259ff (patch)
tree928b8a3c945b858823eeb57304f25c48197e2aa2 /vdr-smarttvweb/httpresource.h
parent56ef7aaa40b5aff3bce5ace21215acb0be5ab92f (diff)
downloadvdr-plugin-smarttvweb-09f233d4c92c73dfa0456c7c87bcc758b68259ff.tar.gz
vdr-plugin-smarttvweb-09f233d4c92c73dfa0456c7c87bcc758b68259ff.tar.bz2
v0.9.6. Use UrlEncoding for guid. Determine Bitrate from file size.
Diffstat (limited to 'vdr-smarttvweb/httpresource.h')
-rwxr-xr-xvdr-smarttvweb/httpresource.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/vdr-smarttvweb/httpresource.h b/vdr-smarttvweb/httpresource.h
index 8185026..fbbab4d 100755
--- a/vdr-smarttvweb/httpresource.h
+++ b/vdr-smarttvweb/httpresource.h
@@ -154,8 +154,8 @@ class cHttpResource {
int receiveResume();
int deleteRecording();
- void writeM3U8(double duration, float seg_dur, int end_seg);
- void writeMPD(double duration, float seg_dur, int end_seg);
+ void writeM3U8(double duration, int bitrate, float seg_dur, int end_seg);
+ void writeMPD(double duration, int bitrate, float seg_dur, int end_seg);
int sendMediaSegment (struct stat *statbuf);
@@ -169,6 +169,7 @@ class cHttpResource {
const char *getMimeType(const char *name);
string getConnStateName();
string getOwnIp(int fd);
+ uint64_t getVdrFileSize();
void checkRecording();
bool isTimeRequest(struct stat *statbuf);
int parseRangeHeaderValue(string);