summaryrefslogtreecommitdiff
path: root/vdr-smarttvweb/httpresource.h
diff options
context:
space:
mode:
authorthlo <smarttv640@gmail.com>2013-03-17 09:28:01 +0100
committerthlo <t.lohmar@gmx.de>2013-03-17 09:28:01 +0100
commitd48d64273d5da9bf596b239bb0aec622086655f0 (patch)
tree928b8a3c945b858823eeb57304f25c48197e2aa2 /vdr-smarttvweb/httpresource.h
parent65255cd25a87509c0a75c4e09ebd33977e54ed9c (diff)
downloadvdr-plugin-smarttvweb-d48d64273d5da9bf596b239bb0aec622086655f0.tar.gz
vdr-plugin-smarttvweb-d48d64273d5da9bf596b239bb0aec622086655f0.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);