Commit Graph

88 Commits

Author SHA1 Message Date
Martin Pulec
83e2d7087a Fixed Speex references to SpeexDSP
To be clear that we are actually using SpeexDSP.
2021-03-03 15:01:54 +01:00
Martin Pulec
81bed14603 Added low-latency-audio=ultra 2020-09-08 16:56:54 +02:00
Martin Pulec
3563e65ee4 Audio: fixed JACK transport
Put frame is done later in pipeline and should not have been done here.
2020-08-12 15:53:50 +02:00
Martin Pulec
e8c53dd39b Audio: extend network buffers if needed
Extend network buffers if received frame size exceed the configured
buffer size (eg. using a plenty of channels).
2020-02-07 15:31:58 +01:00
Martin Pulec
110fc31ec6 Fixed again already fixed Coverity issues
Fixed thosed issued that were supposed to be fixed but Coverity
disagrees.
2019-11-20 15:54:03 +01:00
Martin Pulec
4c71573a89 Fixed first series of Coverity bugs 2019-11-09 17:20:37 +01:00
Martin Pulec
31d9809fcd Updated documentation
Updated authors, copyright to 3-clause BSD (where possible) and file-level Doxygen
2019-11-09 13:47:11 +01:00
Martin Pulec
83c3cae084 Name some further threads 2019-11-06 20:47:28 +01:00
Martin Pulec
545f2241b8 Audio: fixed inverted -r/-s help meaning 2019-10-08 15:35:15 +02:00
Martin Pulec
cebcde7a63 JACK transport fixes 2019-09-23 10:06:26 +02:00
Martin Pulec
384da200fd Revert "Windows: non-blocking receiving for audio"
This reverts commit 5407a0d890.

This should no longer be needed since there are now separate sockets for
RX and TX on Windows.
2019-08-26 09:11:26 +02:00
Martin Pulec
a0d1bbcfe4 Audio: fixed wrong condition 2019-08-05 09:57:21 +02:00
Martin Pulec
6ef9969abc Use logger again
Use logger again where there is output printed in a color or highlighted.
2019-06-26 16:25:49 +02:00
Martin Pulec
5c2539b59d Audio: highlight audio levels in output 2019-06-07 15:17:27 +02:00
Martin Pulec
5407a0d890 Windows: non-blocking receiving for audio 2019-04-24 14:46:20 +02:00
Martin Pulec
8c6ec9f099 Audio: do not exit init prematurely
Finish initialization even if we are not using audio since otherwise
we'd have partially initialized state that causes problems on cleanup
(eg. participants are not initalized but we may get mute events, eg.
from a keyboard).
2019-02-11 13:54:49 +01:00
Martin Pulec
11a3854546 Audio: ensure initialization of members 2018-11-14 21:10:58 +01:00
Martin Pulec
a488b22728 Audio: redesign a bit
+ process all messages
2018-11-13 15:13:21 +01:00
Martin Pulec
f0c99a4005 Readded SDP
* Since RTSP is no longer working with current LIVE555, RFC-conforming
  H.264/A-law/u-law/OPUS streams can be accessed with SDP.
* experimental only (would need more effort to be robust, well written
  etc.)
* removed ifdefs from transmit relating to standard AV RTP payload
  formating
* main: added --protocol option (shortcut for --audio-protocol and
  --video-protocol)
* main: disable intra refresh in default setting for H.264 in RTSP/SDP
2018-10-18 16:27:42 +02:00
Martin Pulec
e7a40ce4ae Reflect RTP API change 2018-08-15 13:29:51 +02:00
Martin Pulec
91255bc38c Audio: few comments 2018-07-04 10:13:55 +02:00
Martin Pulec
53f4633b71 Keyboard control: option to mute sender 2018-07-04 10:13:55 +02:00
Martin Pulec
d30fb765a8 Control: report stats for audio 2018-04-24 09:59:32 +02:00
Martin Pulec
6158b368af Net: fixed a leak
Fixed leaks when running something like 'uv -t testcard -P 5004:5004'.
This was caused because receiving took place with default callback
putting received data to participant buffer. However, since UG was
not receiving, it was not periodically cleaning old data from PBUF
letting it increase indefinitely.
2018-02-01 14:34:49 +01:00
Martin Pulec
6c68b2efb4 Changed some messages 2017-10-17 10:45:04 +02:00
Martin Pulec
29fec0d9c9 Export: created umbrella for audio and video 2017-05-11 13:53:26 +02:00
Martin Pulec
f47597dd89 Fixed bugs reported by Coverity 2017-03-03 18:07:18 +01:00
Martin Pulec
ded740065c Added --param low-latency-audio
Currently modifies these values these values:
* audio pbuf delay - 32 ms -> 5 ms
* ALSA playback - minimal value
* ALSA audio buffer (internal in UG module) - 20 ms -> 5 ms
* audio mixer, internal audio buffer - 50 ms -> 5 ms
2017-02-22 16:16:07 +01:00
Martin Pulec
cdf865394f Transmit: use bitrate instead of packet rate
Packet rate is now computed in transmit.cpp
2017-01-24 16:26:01 +01:00
Martin Pulec
3ebaf50334 Added audio mixer 2017-01-18 11:13:24 +01:00
Martin Pulec
da99638660 Audio decoder: copy network address to pbuf struct 2017-01-18 11:13:24 +01:00
Martin Pulec
5951cda58e Added --audio-protocol and --video-protocol params
Added audio and video protocol parameters instead of original --protocol
(for video) and ad hoc parameters for audio.
2017-01-18 11:13:24 +01:00
Martin Pulec
372bd7b68b Audio: multiple changes
* separate decoder for every stream
* replaced audio_playback_query_supported_format() with more generic
  audio_playback_ctl()
* replaced audio_decoder_increase_volume(),
  audio_decoder_decrease_volume() and audio_decoder_mute() with
  audio_decoder_set_volume(), removed audio_decoder_get_volume()
2017-01-18 11:13:19 +01:00
Martin Pulec
392098bd94 Audio: removed duplicate code 2017-01-11 16:18:57 +01:00
Martin Pulec
47d1cb4014 Libavcodec: removed deprecated functions (encoder)
+ fixed leaked codec in audio
+ fixed warnings in codec listing (--audio-codec help)
2016-10-10 20:44:37 +02:00
Martin Pulec
226a69de10 Fixed dynamic audio port reconfiguration 2016-07-26 15:06:11 +02:00
Martin Pulec
9153ed8e60 Control socket: extended port setting
Allow to configure also src port for the sender and ports for audio.
2016-06-29 10:37:00 +02:00
Martin Pulec
45be2f7dfc Keyboard control: show volume 2016-06-29 10:37:00 +02:00
Martin Pulec
3e3287315f Keyboard control: keybindings to control AV delay 2016-06-29 10:37:00 +02:00
Martin Pulec
880a19dd4c ALSA play.: write from thread
This is a proposed change (not yet default) to the ALSA behaviour. There
is a thread that writes to device all the time, avoiding underruns. On
the other hand there is a need to handle latency for which new buffer
was created. Alternatively, speex jitter buffer could be used.
2016-06-28 17:33:24 +02:00
Martin Pulec
0dfe0c1638 Print dBFS in lower precision 2016-06-28 17:33:24 +02:00
Martin Pulec
52b5933ecc PDB/PBUF: Fixed some leaks 2016-04-26 16:16:25 +02:00
Martin Pulec
e272e2875f Audio: fixes 2016-03-21 17:09:05 +01:00
Martin Pulec
a4cc229495 Audio FEC: small fix 2016-03-16 11:36:52 +01:00
Martin Pulec
0f40ee2012 Use single should_exit flag. 2016-03-07 11:11:47 +01:00
Martin Pulec
0268fe518c Audio playback: improved documentation 2016-02-01 15:24:21 +01:00
Martin Pulec
07fa608501 Audio, ALSA: colorized warnings 2016-02-01 10:37:49 +01:00
Martin Pulec
3e0d06f259 Audio: fixed segv when rtp_init fails 2015-09-28 11:55:37 +02:00
Martin Pulec
2c28c13721 Control: allow SSRC change of the RTP stream 2015-09-26 12:29:57 +02:00
Martin Pulec
6ce04bf63c Change RTP dest by replacing session
This solves problem when migrating between IPv4 to IPv6 socket/address.
2015-09-16 17:41:46 +02:00