Commit Graph

2011 Commits

Author SHA1 Message Date
Martin Pulec
b2a41bb4e4 Do not supply -msse2 by default 2015-03-26 15:26:09 +01:00
Martin Pulec
e8a3d984f5 Another small (audio) fix 2015-03-26 15:26:09 +01:00
Martin Pulec
5515315230 Small fix 2015-03-26 15:25:43 +01:00
Martin Pulec
c8da0dd1bf Small semantic-clarifying change 2015-03-26 14:49:46 +01:00
Martin Pulec
5ba4fa05ae Basic support for Raspberry Pi 2015-03-26 14:42:16 +01:00
Martin Pulec
9213f359fb Fixed missing libavcodec cflags 2015-03-24 14:57:01 +01:00
Martin Pulec
794e6524dd RTP UDP: disable IPV6_V6ONLY (enabled on MSW by default) 2015-03-24 11:17:05 +01:00
Martin Pulec
67818709c2 Control socket: close on error 2015-03-23 10:58:06 +01:00
Martin Pulec
68bf4383ae MSW: fixed some other close->closesocket occurencies 2015-03-13 16:29:35 +01:00
Martin Pulec
3a77ccb398 Hd-rum-translator: use UDP sockets from RTP 2015-03-13 16:24:23 +01:00
Martin Pulec
5422f87012 TX modules: make copy of time_point to avoid potential dangling pointers 2015-03-13 16:21:11 +01:00
Martin Pulec
0b76251d3e RTP UDP: fixed proto in port availability check 2015-03-13 14:31:46 +01:00
Martin Pulec
bf79c7102f Remove rtp_init_if() with NULL as address 2015-03-13 14:11:16 +01:00
Martin Pulec
9f28893a30 RTP: UDP - some fixes 2015-03-13 13:45:23 +01:00
Martin Pulec
7e2bff298a Audio testcard: allow arbitrary size of chunk 2015-03-12 17:14:57 +01:00
Martin Pulec
ec59e39cd6 Listen on IPv6 socket instead of IPv4 by default
This allows to receive both IPv4 and IPv6 stream by default.
2015-03-12 09:58:55 +01:00
Martin Pulec
cbe15370f9 Correctly send and receive RTCP
For receiver the RTP stack will wait until it receives first RTCP packet
from sender and then it sends RTCP packets to that sender.
2015-03-11 18:38:17 +01:00
Martin Pulec
fe6aab5e86 RTP: removed some dubious code 2015-03-11 15:00:40 +01:00
Martin Pulec
025aa8ee92 RTP UDP: generalize IPv4/6 handling a bit 2015-03-11 14:00:54 +01:00
Martin Pulec
0e3727d767 Use common time base for both audio and video stream
+ send RTCP with standard H.264 transmit module
2015-03-10 18:20:01 +01:00
Martin Pulec
4e8b294352 Send RTP reports even if only sender 2015-03-10 17:39:15 +01:00
Martin Pulec
dffcaf9795 Assign determinist dynamic RTP/RTCP ports 2015-03-10 10:43:34 +01:00
Martin Pulec
7e2eb956d6 Added option to delay audio 2015-03-09 17:15:33 +01:00
Martin Pulec
10c49a9b74 Remove some workarounds for older compilers
Declare C++ code as c++11 (instead of c++0x) since it is not compilable
with GCC 4.6 since commit eb064c7a, either.
2015-03-06 10:07:24 +01:00
Martin Pulec
0353c717a4 Fixed also another problematic stuff (MSW)
Got rid of pthread_cond_timedwait() calls that would be used on MSW and
replaced by C++11 features.
2015-03-05 16:50:29 +01:00
Martin Pulec
05f01c2bb6 RTP UDP: use C++11 constructs instead of pthread
This fixes incorrect waiting in MSW where there is inaccurate (from the
real time point of view) gettimeofday wrapper resulting to inappororiate
value of struct timespec passed to pthread_cond_timedwait.
2015-03-05 16:50:25 +01:00
Martin Pulec
8d4004bfeb Hd-rum-translator: missing header (MSW) 2015-03-04 20:15:18 +01:00
Martin Pulec
ba8ab554fd RTP: fixed UDP multithreaded receiving 2015-03-04 20:14:39 +01:00
Martin Pulec
7a93e8547b small fix 2015-03-04 13:38:29 +01:00
Martin Pulec
eb064c7a81 Collect and report more statistics
Statistics are collected and reported through control socket where it
can be subscribed and further processed (eg. by CoUniverse).
2015-03-03 19:04:38 +01:00
Martin Pulec
ceaccf8b6e Fixed prev commit: copy to bundle, not bin 2015-03-02 10:39:00 +01:00
Martin Pulec
693b1e0b4f OS X: put also hd-rum-multi to app bundle 2015-02-26 16:29:30 +01:00
Martin Pulec
c7e4c98f3e SDL: do not segfault if reconf fail 2015-02-24 16:05:54 +01:00
Martin Pulec
01ce2a42fd OS X: stick reflector into bundle 2015-02-20 15:25:02 +01:00
Martin Pulec
d8e28ac7a5 Hd-rum: use sched_yield instead of pthread_yeild
sched_yield() is POSIX compliant allowing compilation on OS X.
2015-02-20 13:29:31 +01:00
Martin Pulec
893f04a308 Remove some spurious min/max macros if C++ 2015-02-20 13:03:37 +01:00
Martin Pulec
0f9b271d7b Build: small fix (missing CUDA define in LDGM) 2015-02-20 11:28:07 +01:00
Martin Pulec
7ffedf2124 RTP: update seq even in promisc mode
This fixes lost packets computation.
2015-02-20 11:24:22 +01:00
Martin Pulec
170fef4355 Fixed out-of-tree build 2015-02-20 10:33:32 +01:00
Martin Pulec
d1af5609ce Small improvement 2015-02-19 15:31:52 +01:00
Martin Pulec
69b7383a90 More descriptive return codes when UG exits 2015-02-19 14:32:38 +01:00
Martin Pulec
c782da30f2 Revert "net_udp.c: reallow SO_REUSEADDR/SO_REUSEPORT"
This reverts commit cea95a5ed0.

Conflicts:
	gpujpeg
2015-02-19 10:43:06 +01:00
Martin Pulec
60cd29c693 Resize cap filter compile fixes (OCV 2.4.9) 2015-02-18 16:54:41 +01:00
Martin Pulec
ab902ebf08 Avoid potential packet rate problems (overflow) 2015-02-18 16:15:43 +01:00
Martin Pulec
1b337df8b7 Show fixed compression help 2015-02-18 13:45:17 +01:00
Martin Pulec
a4efb64366 Dshow: use native codecs if possible
From now it doesn't convert to RGB if codec is known to UG. This
behavior can still be forced by appending "RGB" flag.
2015-02-18 10:33:54 +01:00
Martin Pulec
83234afb5f SDL: fixed RGBA when default buffer BPP isn't 32 2015-02-16 17:42:03 +01:00
Martin Pulec
33ff4d435f MSW: use asynchronous API
This hugely increases network performance on MSW which make it suitable
to low ratio compressions as well as uncompressed video.
2015-02-12 14:54:35 +01:00
Martin Pulec
afaedbc25a Fixed computation of packet size
Reflect sizes of IPv6/IPv4 header individually.
2015-02-12 14:34:08 +01:00
Martin Pulec
f26844705f RTP: fixed potential race condition 2015-02-12 14:33:24 +01:00