c1c1eb1951
rtp: fix joining of re_main thread
2019-01-07 15:49:34 +01:00
99cae8903d
rtp: use signalled queue for thread synchronization
2019-01-07 15:22:38 +01:00
fb67e4969c
rtp: fix warn()
2019-01-07 12:52:24 +01:00
d18d786801
refactor: list_* -> vlist_*
2019-01-07 10:28:55 +01:00
5b443aeff4
Merge branch 'node-rtp' into develop
2019-01-07 10:20:02 +01:00
0caca6d2cf
csv: re-enable parsing of offset
2019-01-06 01:46:00 +01:00
e1abbbddbf
csv: add missing flags for TSV format
2018-12-23 00:07:38 +01:00
Marvin Klimke
434e1e5c1d
[WIP] Prepare for RTCP sessions
...
add second pair of local/remote addresses
add receive handler for RTCP packets
2018-12-20 08:25:13 +01:00
Marvin Klimke
26cdc6e58a
add proper queue destruction
2018-12-19 18:40:53 +01:00
Marvin Klimke
7e38cb9eb0
add free and mem_deref to prevent memory leaks
2018-12-16 11:47:33 +01:00
Marvin Klimke
22b42a8d88
[WIP] Use thread save queue instead of mutexes for data exchange
...
worker thread pushes received data in queue, main thread pulls data on request from queue.
2018-12-13 18:50:18 +01:00
Marvin Klimke
2575688951
[WIP] add pthread syncronization to re_main thread
...
rtp receive handler writes data to mutex protected memory and indicates the amount of data written.
main thread polls on the thread and gets the data respecting the mutex.
2018-12-07 15:15:24 +01:00
Marvin Klimke
c905f242c5
add re_main in pthread
...
thread is started in rtp_type_start and joined in rtp_type_stop
2018-12-07 06:37:48 +01:00
760292e111
file: create non-existant dirs only for local files
2018-12-04 10:54:31 +01:00
b393815916
csv: ignore offset field
2018-12-04 10:46:16 +01:00
772003983d
memory: move initialization of hugepages to hugepage.c
2018-12-04 10:46:02 +01:00
ac1b7070f8
api: process multiple pending actions at once
2018-12-04 00:31:37 +01:00
b745fe930f
api: fix connection handling for HTTP sessions
2018-12-04 00:26:58 +01:00
13bd2c2800
web: fix underrun of http header pool
2018-12-04 00:26:13 +01:00
452a329f39
harmonizing log messages
2018-12-04 00:25:40 +01:00
cb8c0e79f7
api: C++17 include filesystem library by default
2018-12-02 03:58:10 +01:00
5ca2a5046e
api: remove obsolete logging
2018-12-02 03:57:54 +01:00
0cfd908158
api: bugfixes in HTTP sessions
2018-12-02 03:24:25 +01:00
ff3fb5c820
remove unused variable
2018-12-02 03:23:48 +01:00
b882617243
api: improve handling of socket descriptors
2018-12-02 03:21:27 +01:00
eab8f1cad7
api: use C++ queues
2018-12-02 03:20:51 +01:00
993bcdb378
improve logging messages
2018-12-02 03:18:09 +01:00
0c1427dcbe
cosmetics
2018-12-02 03:17:12 +01:00
3a45ae3b3d
remove unused variable
2018-12-02 03:11:32 +01:00
d6a0b27fc8
websocket: now supported in C++ web code
2018-12-02 03:11:32 +01:00
40265ffca8
api: fix new node action in C++ code
2018-12-02 03:11:32 +01:00
dc350c83f1
fix format string for size_t argument
2018-12-02 03:11:32 +01:00
3674669424
fix duplicate use of same identifier
2018-12-02 03:11:32 +01:00
71c6d5f9e5
fix assertion in _init() about invalid state
2018-12-02 03:11:32 +01:00
a63b15609a
do not throw dynamically allocated exceptions
2018-12-02 03:11:32 +01:00
caf3e45960
workaround for C-compatability
2018-12-02 03:11:31 +01:00
Marvin Klimke
b6161e06b1
[WIP] further work on write function of RTP node
...
add proper warning and error outputs
fix rtp_write to write data to interface (not verified)
cleanup of rtp socket outstanding
2018-12-01 12:31:12 +01:00
47023f0c3e
add missing files
2018-11-30 21:40:48 +01:00
9bda0fdfd5
api: check version
2018-11-30 21:40:36 +01:00
5370bb5a73
improve logging messages
2018-11-30 21:40:36 +01:00
f004b4bf3f
api: avoid segfault due to gone sessions
2018-11-30 21:39:55 +01:00
e3b522c39b
socket: use pre-allocated buffers to avoid dynamic allocations and syscalls in critical path
2018-11-30 21:39:55 +01:00
64f0bcb160
remove superfluous log output
2018-11-30 21:38:19 +01:00
a0afecd50c
api: use std::filesystem for creating unix socket dir
2018-11-30 21:38:19 +01:00
1ad92dca28
super_node: fix nullptr dereference if no config was loaded
2018-11-30 21:37:52 +01:00
25ff130377
remove SuperNode::init()
2018-11-30 21:37:52 +01:00
30c15be7ae
json: properly handle EOF in json format
2018-11-30 21:37:52 +01:00
31cf7329e4
fix state of uninitialized lists
2018-11-30 21:37:52 +01:00
2db4a32abd
fix more warnings about uninitialized variables
2018-11-30 21:37:52 +01:00
88295bb7cd
stats: only collect stats of required meta-data is available
2018-11-30 21:37:52 +01:00