mirror of
https://github.com/rofafor/vdr-plugin-iptv.git
synced 2023-10-10 11:37:03 +00:00
Compare commits
3 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
2226be2edd | ||
|
|
d3a73019c0 | ||
|
|
db7bb8f9b5 |
7
README
7
README
@@ -46,13 +46,6 @@ make -C iptv-X.Y.Z install
|
|||||||
|
|
||||||
Setup menu:
|
Setup menu:
|
||||||
|
|
||||||
- TS buffer size [MB] = 2 Defines ringbuffer size for transport
|
|
||||||
stream in MB.
|
|
||||||
Valid range: 1...4
|
|
||||||
- TS buffer prefill ratio [%] = 0 Defines prefill ratio for transport
|
|
||||||
stream ringbuffer before data is
|
|
||||||
transferred to VDR.
|
|
||||||
Valid range: 0...40
|
|
||||||
- Protocol base port = 4321 Defines base port used in CURL/EXT
|
- Protocol base port = 4321 Defines base port used in CURL/EXT
|
||||||
protocol. Two ports are defined for
|
protocol. Two ports are defined for
|
||||||
each device.
|
each device.
|
||||||
|
|||||||
5
common.h
5
common.h
@@ -14,7 +14,7 @@
|
|||||||
|
|
||||||
#define ELEMENTS(x) (sizeof(x) / sizeof(x[0]))
|
#define ELEMENTS(x) (sizeof(x) / sizeof(x[0]))
|
||||||
|
|
||||||
#define IPTV_BUFFER_SIZE MEGABYTE(1)
|
#define IPTV_BUFFER_SIZE KILOBYTE(2048)
|
||||||
|
|
||||||
#define IPTV_DVR_FILENAME "/tmp/vdr-iptv%d.dvr"
|
#define IPTV_DVR_FILENAME "/tmp/vdr-iptv%d.dvr"
|
||||||
|
|
||||||
@@ -36,14 +36,13 @@
|
|||||||
do { \
|
do { \
|
||||||
if (exp) { \
|
if (exp) { \
|
||||||
char tmp[64]; \
|
char tmp[64]; \
|
||||||
esyslog("[%s,%d]: "errstr": %s", __FILE__, __LINE__, \
|
esyslog("[%s,%d]: " errstr ": %s", __FILE__, __LINE__, \
|
||||||
strerror_r(errno, tmp, sizeof(tmp))); \
|
strerror_r(errno, tmp, sizeof(tmp))); \
|
||||||
func; \
|
func; \
|
||||||
ret; \
|
ret; \
|
||||||
} \
|
} \
|
||||||
} while (0)
|
} while (0)
|
||||||
|
|
||||||
|
|
||||||
#define ERROR_IF_RET(exp, errstr, ret) ERROR_IF_FUNC(exp, errstr, ,ret);
|
#define ERROR_IF_RET(exp, errstr, ret) ERROR_IF_FUNC(exp, errstr, ,ret);
|
||||||
|
|
||||||
#define ERROR_IF(exp, errstr) ERROR_IF_FUNC(exp, errstr, , );
|
#define ERROR_IF(exp, errstr) ERROR_IF_FUNC(exp, errstr, , );
|
||||||
|
|||||||
Reference in New Issue
Block a user