when media playback happens, all packets get scheduled at the same
time with a send time in the future. however, this results in the
output_skew calculation triggering an unnecessary shift in the send
timer, which can cause choppy playback
Change-Id: I449f221a4d348eb615c2af1dca30bec163aa4fc6
Don't depend on ->socket being set. Instead run the actual ping check
and use that as condition to see whether the daemon is ready or not.
Change-Id: I6d39ca6cb9b3a61a94194fe827768dff28ca0508
These are normally held per thread, but in cases of threads not having
dedicated init/cleanup functions (GLib thread pool), we can use a global
one as fallback.
Fixes#1936
Change-Id: Ia2ff3523e6079baa73e0721862100ec2f8b66c88
We are setting up a global die handler, so we cannot use «local» or the
statement would not have the intended effect.
Warned-by: perlcritic
Fixes: Variables::RequireLocalizedPunctuationVars
Change-Id: Ia0a433b58b4960c3394b25b1f144c0158b30ad1d
Replace with hand-rolled requests made via libcurl.
Background: libxmlrpc-core-c3-dev packaging is currently broken in
Debian Sid and this is a good opportunity to move away from it.
Ref: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1102554
Change-Id: I8a09452220993afdac19654edf13d7f3f6ba64c9
Support PKTINFO, even though no info is actually attached yet.
Prefix fake socket addresses with the type (udp/tcp) so that both can be
used at the same time.
Change-Id: Ia72e28c9a0fe07d74ec473b5288b30b82c6c8113
In case stray audio is receveived before the DTMF event is fully
finished, retain the internal state from the beginning of the event to
make sure that the output is consistent. This fixes both DTMF timestamps
jumping during the end event, and audio timestamps being off after the
end event.
Closes#1929
Change-Id: I4e675b15153e35a8d1546b947e4b82879c1577b4
If recording-method is pcap, then proc is zero-initialized, so
meta_filepath is empty. This shows many logs such as:
[core] Failed to open recording metadata file '(null)' for writing: Bad address
Prevent them by returning earlier.
Fixes#1889 for real this time.
Amends commit 759fd72dc6.
Closes#1924
Change-Id: I25c9acefba9ee129354fd799ef493af86b9eab2c