The entry to use a dhtproxy should supports multiple proxy to
balance the load. If multiple proxy are specified, the daemon
will select one proxy and use it.
Change-Id: Ib9cf2692e41a726ce1073537bdbbbf33654e50e7
Adds a signal that sends the linear RMS level for a given ring buffer.
The signal must be turned on via the API and can be turned off when
needed.
Adds an audio preview so the mic can be read. Call startAudioDevice and
stopAudioDevice to initialize and stop the audio layer.
Change-Id: I6a71ef87ee805a6d4bfa824fa901dd638e8cbd65
Recorder has multiple streams, and needs to know which streams it's
writing the packet to. Also reverts the change to a hardcoded timebase
of 1/20.
Change-Id: I75989ceafe4e4956ebb1adbbd53d13564aa942ea
MediaEncoder sets some of AVCodecContext's fields. Allow the
configuration file to override these fields.
Change-Id: Ic44da217344aca2da0634e81bf247d4a21bb9510
Reviewed-by: Sébastien Blin <sebastien.blin@savoirfairelinux.com>
This allows users to use different configurations than the one provided
by Jami. File settings overwrite Jami's existing configuration options.
Note that only codec-level options are supported, format-level is not
implemented.
The following options are ignored, as they are set by going into the
settings page: width, height, framerate, sample_rate, channels,
frame_size, parameters (internal option for h264's profile level id).
If a file encoder.json exists in the same folder as dring.yml, it is
loaded into the encoder's configuration options. The config file is
separated by codec. Multiple configurations can exist for the same codec
family (ex: libx264 and h264_vaapi) because each encoder has different
options. Section name should be the codec implementation's name and not
the codec's name (h264 won't work, but libx264 will).
Example configuration file:
{
"libx264": {
"crf": 15,
"preset": "ultrafast"
},
"h264_vaapi": {
"low_power": 1
},
"libopus": {
"application": "voip"
}
}
Change-Id: Ia6bb184af382638d4016256b393ac7295408ed82
Gitlab: #75
Reviewed-by: Sébastien Blin <sebastien.blin@savoirfairelinux.com>
- Portaudio enumerates all input and output devices in a single
list, but we split them up in the selection models in lrc. This
patch exposes device indexes based on device type, converts them
to an Portaudio index for saving to preferences.
- This patch also catches out of range values incoming from the
saved preferences. This can happen if we decide to switch default
host APIs in portaudio, or if someone's cat walks on their laptop
while they edit their config.
Change-Id: I350f283588745fe4186ae11a8410d7c9374b72ee
- forces dsound as the only host API
- patches portaudio dsound impl to use AEC and NS if possible
Change-Id: I3f648a41ae8991318c839de22ca322f350a2b2b2
Preemptively adds signal for hardware encoding so version won't have to
be bumped again.
Change-Id: Ie3b828671fab3628853b85a2a8259200e9a809c0
Gitlab: #55
A comment in swr_set_matrix says "[SwrContext] needs to be allocated
but not initialized" before returning an error code.
Adds a unit test for reinitializing a matrix.
Change-Id: If8f38a5dd15393f8ae9578b4f272c2554a663c11
Added precoverage step to ensure the percentage of lines covered are accurate
Added remove feature to better target files
Fixed coverage routine at the end
Removed make check in precoverage
Excluded /bin/* files
fixed output file
Change-Id: I7a4a4947d7a5491543e58b1c4b029db3cbcd0b7c
Reviewed-by: Sébastien Blin <sebastien.blin@savoirfairelinux.com>
Add -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 to CFLAGS and CXXFLAGS
on Linux platforms, except on Android.
Makes the build not fail in 32-bit linux.
Change-Id: I31358b69b2bf0a99b03d148fbc9f0a3a235d9741
Fixed unused parameter warning for main function
Fixed test_sipp.cpp not finding dring-sample.yml in test cases
Change-Id: Ie88ce5853bf18aa6f9c5c07bc0ec888aa268682f
Reviewed-by: Philippe Gorley <philippe.gorley@savoirfairelinux.com>
(It would probably be enough to just include config.h, but now the
intention is clearer)
Change-Id: Ia427d940b5b9e94b6ba174fc38e9d638d507ae45
Reviewed-by: Philippe Gorley <philippe.gorley@savoirfairelinux.com>
If the archive is not updated before exporting it, contacts can be
missing (because the file is only updated when a new device is
added for now).
Change-Id: Ie1068af26826b2a9acd1aa2c76123cff43eb6836
Gitlab: #65
fixed unitTest
frameSize should be set before reallocating the queue
Change-Id: Ie9cefb5419b34d487d67fcd6bd44f66aa192dc57
Reviewed-by: Philippe Gorley <philippe.gorley@savoirfairelinux.com>