Commit Graph

1028 Commits

Author SHA1 Message Date
Martin Pulec
8eed4836fc Audio: switch when receiving a new stream
Switch to newer RTP stream when receiving audio from multiple sources.
2015-05-22 18:34:48 +02:00
Martin Pulec
9d251ec068 Audio: don't let user use unsupported FEC 2015-04-20 16:19:13 +02:00
Martin Pulec
78c3136852 Audio: use MTU from commandline 2015-04-20 16:18:44 +02:00
Martin Pulec
fd89e5697a Small improvements 2015-03-27 16:04:50 +01:00
Martin Pulec
e8a3d984f5 Another small (audio) fix 2015-03-26 15:26:09 +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
7e2bff298a Audio testcard: allow arbitrary size of chunk 2015-03-12 17:14:57 +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
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
7e2eb956d6 Added option to delay audio 2015-03-09 17:15:33 +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
69b7383a90 More descriptive return codes when UG exits 2015-02-19 14:32:38 +01:00
Martin Pulec
ccb2b7c36a Added AJA capture
TODO: figure out 50p/60p modes, 4K, Windows support etc.
2015-01-29 16:26:10 +01:00
Martin Pulec
1c2d4b3e7c Control socket: better support for audio
TODO: figure out where to start control_start().
2015-01-26 20:33:45 +01:00
Martin Pulec
fed097a97f Lavcd audio: removed G.726+ADPCM, added AAC+FLAC
Removed codecs seems to have some issues, not clear whether in UltraGrid
or libavcodec.
2014-11-27 18:21:51 +01:00
Martin Pulec
f210fe037e Fixed audio bps and sample_rate handling 2014-11-27 11:25:31 +01:00
Martin Pulec
2e833bd261 Libavcodec audio: suport for mp3 + fixes 2014-11-26 13:06:24 +01:00
Martin Pulec
806cb479b9 SDI audio: limit buffer size to 100 ms 2014-10-17 14:39:04 +02:00
Martin Pulec
d1711fe595 CUDA wrapper: add skeleton to translate wrapper errors to string 2014-10-16 17:50:37 +02:00
Martin Pulec
0e464e2332 Libavcodec 53 compat 2014-10-10 10:38:42 +02:00
Martin Pulec
00ce812db3 Couple of small fixes (mainly leaks) 2014-10-08 17:39:04 +02:00
Martin Pulec
6144609a78 Small fixes 2014-10-06 12:11:39 +02:00
Martin Pulec
6890cb5a5d Libavcodec: fixed float audio samples handling 2014-10-02 15:12:24 +02:00
Martin Pulec
6e4db32713 Fixed some OS X warnings 2014-09-30 00:09:04 +02:00
Martin Pulec
af74d48c1c Libavcodec audio: minor improvements 2014-09-19 18:22:09 +02:00
Martin Pulec
47317acc5f Libavcodec audio decompress: change sample depth if needed 2014-09-18 12:23:51 +02:00
Martin Pulec
6b3163bd05 Bind dynamic ports when only sending
This allows to run UltraGrid in separate processes for sending and
receiving at the same port.
2014-09-17 16:14:13 +02:00
Martin Pulec
76f6e3feaa Do not occupy ports when audio/video not used
Do not occupy audio ports when audio not used and the same applies for
video.
2014-09-17 15:57:29 +02:00
Martin Pulec
d8886e7c81 Fixed another Coverity bugs 2014-09-12 16:07:43 +02:00
Martin Pulec
66641acb78 Added --capabilities option to UltraGrid 2014-09-10 12:10:36 +02:00
Martin Pulec
06d89598fa Fixed some Coverity reported errors
These Coverity errors should be fixed (mostly classified as High
Impact Outstanding by Coverity):
53922, 53923, 53935, 53938, 53945, 53963, 53974, 53976, 53978, 53979,
53980, 53981, 53982, 53988, 53990, 53991, 53993, 53994, 53995, 53998,
54000, 54002, 54004, 54008, 54010, 54013, 54016, 54018, 54020, 54022,
54024, 54025, 54027, 54028, 54030, 54031, 54032, 54033, 54034, 54035,
54036, 54038, 54039, 54041, 54043, 54047, 54048, 54050, 54053, 54054,
54055, 54056, 54062, 54064, 54065, 54067, 54071, 54072, 54074, 54075,
54076, 54081, 54087, 54088, 54089, 54091, 54093, 54096, 54097, 54103,
54104, 54106, 54109, 54111, 54112, 54114, 54117, 54119, 54120, 54121,
54125, 54126, 54129, 54130, 54132, 54133, 54136, 54137, 54140, 54145,
54146, 54149, 54150, 54151, 54153, 54154, 54156, 54157
2014-09-08 15:29:02 +02:00
Martin Pulec
9a25b1b688 JACK: start processing after we have all channels
JACK capture should start processing audio after we have all capture
channels connected.
2014-08-26 19:54:18 +02:00
Martin Pulec
37f079da8d Fixed audio_frame2 sample computation 2014-08-26 19:52:30 +02:00
Martin Pulec
79b56ad8f7 GCC 4.6 compat 2014-08-26 10:42:11 +02:00
Martin Pulec
ef733c6f9e audio_frame2: added const semantics 2014-08-21 14:01:31 +02:00
Martin Pulec
14bc9d3b12 JACK: fixed error handling 2014-08-20 15:17:01 +02:00
Martin Pulec
82a2611c8a Some audio fixes (hacks) 2014-08-18 12:37:19 +02:00
Martin Pulec
abb0cd7a20 Added rate limiter for audio but disable it
Is it really needed??
2014-08-18 12:37:19 +02:00
Martin Pulec
13b3555c0a Rewrite audio_frame2 to C++ class 2014-08-18 12:37:14 +02:00
Martin Pulec
42504a3980 Use C++ compiler for files using audio_frame2 2014-08-13 13:37:52 +02:00
Martin Pulec
a68fca8258 Fixed name of module register functions 2014-08-13 13:36:25 +02:00
Martin Pulec
15fc8292e4 Audio testcard: changed description 2014-08-06 13:31:43 +02:00
Martin Pulec
e51cc8b343 Audio: increase maximal number of channels to 32
TODO: allow arbitrary number of channels (eg. C++ vector)
2014-08-01 13:37:20 +02:00
Martin Pulec
6944b5ab2e Alsa: if device not set, use pcm.pulse if possible
This allows to use PulseAudio workaround because if using pcm.default,
handle_underruns option is obviously not passed to ALSA pulse plugin.
2014-08-01 13:37:15 +02:00
Martin Pulec
191464e8a3 Coreaudio: disable resampling
Currently it is perhaps useless because we can handle different sampling
rates further in processing pipeline.

Furthermore, it seems like the resampling sometimes lasts a while
causing some samples to be skipped and not to be passed to the callback.
2014-07-24 13:15:02 +02:00
Martin Pulec
661d59a6b1 Audio sender: print statistics about audio reguarly 2014-07-21 13:18:21 +02:00
Martin Pulec
816f402991 Fixed audio reconfiguration 2014-07-18 15:14:20 +02:00
Martin Pulec
5e15562fdb MSW: compile fixes 2014-06-26 13:19:54 +02:00
Martin Pulec
6aa7eb181e Decklink audio playback: added option to control audio levels 2014-06-19 16:06:43 +02:00