- 13 Sep, 2018 7 commits
-
-
Kateryna Kostiuk authored
Change-Id: I6737763f9920fbc1b32ee558980b4ef1daadaff8
-
Adrien Béraud authored
Change-Id: I0b3573809aa5882170f27a7b0d84ad6c43f2bc3e
-
Adrien Béraud authored
Change-Id: I514943409a319b3d7749d05e6a3ff41c4f598c24
-
Adrien Béraud authored
Change-Id: I9f5bb169861f841e3efafbeae1b3f321b3df1a5b
-
Adrien Béraud authored
Change-Id: I486c7f87563f56e5cd42e6e6223c694a074eac41
-
Adrien Béraud authored
Change-Id: I50fc907a43701d75dfdb8575a5b1dfd62beac7b4
-
Philippe Gorley authored
Helps debug audio woes by writing sound to a file for later analysis. Change-Id: Iab1c3aff36624024a90af4991c1f5b8ee70ac0bf
-
- 12 Sep, 2018 3 commits
-
-
Adrien Béraud authored
Change-Id: I7ed7da86d14ccad14dc26135c0807b95c88e5367 Reviewed-by:
Sebastien Blin <sebastien.blin@savoirfairelinux.com>
-
Philippe Gorley authored
It is only used by the AudioInput, move it to the same namespace as other audio related classes. Change-Id: Icc92fbb2021a24a9d65bb904d2e790609414bd77
-
Philippe Gorley authored
Broken by f6d001e3 (video: use ffmpeg' AVPixelFormat). Change-Id: I23f103701b3a9a2e30e7648cb5862ac6ae59ad3b
-
- 11 Sep, 2018 7 commits
-
-
Hugo Lefeuvre authored
Initial import of the localrecorder. The local recorder provides a public interface for recording audio and video messages locally. For instance this can be used to record voice or video messages that could be later sent via file transfer. Change-Id: I0675fc0fb8588db24ae86302a76d4d68f5871b82
-
Hugo Lefeuvre authored
The audioInput class allows easy retrieval of local audio stream without being in a running call. For now it is only used to record audio data but might be employed for other purposes with little design changes. Change-Id: Icdf6a9799f341367b0c50aaff76b8642f42d0d1c
-
Andreas Traczyk authored
- fixes crash/lack of connectivity when making calls with a display name including colons/chevrons by quoting the display name when constructing the SIP contact header for both SIP and Ring accounts Change-Id: I9ba03100fc95316202ab63dea2d28c93f992e432 Reviewed-by:
Philippe Gorley <philippe.gorley@savoirfairelinux.com>
-
Hugo Lefeuvre authored
If call->answer() fails then we should not continue further (switchCall or addAudio doesn't make sense in the case of an invalid call). Change-Id: Ib68a7960cbb8a7b604d0f68136a6e0d538a22b8c
-
Adrien Béraud authored
Change-Id: I019e66f12cf7d704f832bce457b63ca9aaefa15d Reviewed-by:
Philippe Gorley <philippe.gorley@savoirfairelinux.com>
-
Adrien Béraud authored
Make AudioQueue and sample_buf non-copyable to avoid implicit copies and memory corruption. Fixes crashes on Android 4.4 Change-Id: I274dc5d3ecf63ea328e577e69e217f572408db57
-
Hugo Lefeuvre authored
waitForDataAvailable's doc mentions that "if no deadline is provided, the call blocks indefinitely" but in fact it is not possible not to provide a deadline because there's no default parameter. Add a default parameter {} initializing timeout to the clock's epoch, that is 0. Also, fix some code duplication and a few spellings. Change-Id: I149c09def4d96b07d231a67c11f1681c5e0f9972 Reviewed-by:
Philippe Gorley <philippe.gorley@savoirfairelinux.com>
-
- 10 Sep, 2018 1 commit
-
-
Hugo Lefeuvre authored
In the case where call timeout is reached, the daemon calls hangup(486), terminating the call. However this hangup call is not followed by any kind of callFailure() function call meaning that the tone and media states in the manager will not be reinitialized. As a consequence the daemon will continue to ring even if the call has ended. This patch addresses this issue. Change-Id: I2573e444179d5c6329896580dca5dd0111e57c6f Gitlab: #48
-
- 07 Sep, 2018 1 commit
-
-
Adrien Béraud authored
Change-Id: I65ba7e0ad6b9490e0816e175ea95574f34626851 Reviewed-by:
Andreas Traczyk <andreas.traczyk@savoirfairelinux.com>
-
- 05 Sep, 2018 1 commit
-
-
Andreas Traczyk authored
- remove audiorecorder source files from project - add scheduled_executor source files to project Change-Id: Iab499e7f9ff6ba4636b5e042629b4b685c646af3
-
- 04 Sep, 2018 1 commit
-
-
Hugo Lefeuvre authored
Currently there is no timeout for received calls. If a peer is connected but doesn't answer a call, then this call will stay in RINGING state 'forever' until the calling user manually aborts it or peer becomes unreachable. This patch implements a timeout system: When a call starts ringing a job is scheduled in a fixed amount of time (corresponding to a new user preference, by default 30s) to check whether the call is still ringing or not. If the call is still ringing after timeout, hangup() is called with 486 (BUSY) state and ringing stops. Change-Id: I49218f5d4bdef8e4a8cee35fa6dde80f572b46c6 Gitlab: #42
-
- 30 Aug, 2018 1 commit
-
-
Adrien Béraud authored
Change-Id: Ieb3f0d78051a6c36b2046f764feccecef8a39732 Reviewed-by:
Andreas Traczyk <andreas.traczyk@savoirfairelinux.com>
-
- 29 Aug, 2018 1 commit
-
-
Philippe Gorley authored
Output of strftime is garanteed to be null terminated if format is null terminated. The man page for strftime specifies "The characters of ordinary character sequences (including the null byte) are copied verbatim from format to s." Change-Id: Ie3ccdda52bf0a69efb9958a17c73fb79b8a41fab Reviewed-by:
Hugo Lefeuvre <hugo.lefeuvre@savoirfairelinux.com>
-
- 23 Aug, 2018 8 commits
-
-
Adrien Béraud authored
Change-Id: I64cf380a0afd9f60e19ce21a1f184bbe932fba07 Reviewed-by:
Sebastien Blin <sebastien.blin@savoirfairelinux.com>
-
Adrien Béraud authored
Change-Id: I52a3151eb30c5151dab448cdab00732afb3d5d2d Reviewed-by:
Sebastien Blin <sebastien.blin@savoirfairelinux.com>
-
Adrien Béraud authored
Change-Id: I1fc4a0a68446911aaee0102d7ddca4c0d5c6980e
-
Adrien Béraud authored
Change-Id: I02ac07056e209b624d863c60d042ba48d52148b0 Reviewed-by:
Sebastien Blin <sebastien.blin@savoirfairelinux.com>
-
Philippe Gorley authored
avcodec_close leaks memory, while avcodec_free_context doesn't. FFmpeg documentation specifies not to use avcodec_close, as opening and closing a context multiple times is no longer supported. Change-Id: I230891f2510c355b9d44d918dcf387399d79a8aa Reviewed-by:
Sebastien Blin <sebastien.blin@savoirfairelinux.com>
-
Philippe Gorley authored
1. Adds constness to streams in MediaRecorder; the latter shouldn't change stream parameters. 2. addStream is called from recordData to simplify workflow; users need only check that MediaRecorder is recording. 3. Fixes regression where multiple records couldn't happen in the same call. 4. Fixes AudioSender not sending starting timestamp to help mix audio. 5. MediaStream::name is now used as key for the streams_ map, so it must be constant, filter names are no longer hardcoded in the recorder. 6. fromPeer parameter is determined by checking if MediaStream::name contains the string "remote". 7. Adds copy constructor to MediaStream. 8. Renames incrementStreams to incrementExpectedStreams to better reflect what it does. 9. Removes keyframe triggers when starting a video record; we are recording raw frames, so it doesn't matter if they're keyframes or not. 10. MediaRecorder supports more than 2 audio streams, but not video. 11. Move preview to very bottom right corner. 12. Fix potential Unchecked Return Value to NULL Pointer Dereference in recordData() (CWE-690). Gitlab: #39 Change-Id: Id2fae4e9bb2072994c065e4843cc3ad832f89efc
-
Hugo Lefeuvre authored
Change-Id: Ie45773677290111f92b81230071835ac42e7197e Reviewed-by:
Philippe Gorley <philippe.gorley@savoirfairelinux.com>
-
Adrien Béraud authored
Fix race condition where the thread might start before the mutex is properly initialized Change-Id: I47c6947873b9e1e7aef576bf7d2ba79cc9ad1e57 Reviewed-by:
Andreas Traczyk <andreas.traczyk@savoirfairelinux.com>
-
- 22 Aug, 2018 6 commits
-
-
Philippe Gorley authored
Change-Id: Iffdc97ab998e1c69b22ac0cf8d7e67517efc660b
-
Philippe Gorley authored
Fixes ~1MB/s leak by using AVFrame API to alloc AVFrame buffers instead of using Sample API. Gitlab: #41 Change-Id: I1ebd6f5b87feea7a21046fe3e2172a4c5584526f
-
Adrien Béraud authored
Change-Id: I6cd45067abc547be732e498d984ce1f1f5c76655 Reviewed-by:
Andreas Traczyk <andreas.traczyk@savoirfairelinux.com>
-
Adrien Béraud authored
Change-Id: I8d042ce90ef715ff4c9425648ff2f88847fb85c6 Reviewed-by:
Andreas Traczyk <andreas.traczyk@savoirfairelinux.com>
-
Philippe Gorley authored
Change-Id: I39a8d91c2c66a029942cdfc6d2c2307a41d0d1ee
-
Adrien Béraud authored
Change-Id: Id8ce5c26459cedb5678c01cbfcce9b63d53ab668 Reviewed-by:
Andreas Traczyk <andreas.traczyk@savoirfairelinux.com>
-
- 21 Aug, 2018 3 commits
-
-
Adrien Béraud authored
fix deadlock on exit Change-Id: I6a5739bae75a792266c480ac2d3e1aa7605294bf Reviewed-by:
Andreas Traczyk <andreas.traczyk@savoirfairelinux.com>
-
Adrien Béraud authored
Change-Id: Idaa6532471d24ebd01613d01843fc3e0758d0025 Reviewed-by:
Andreas Traczyk <andreas.traczyk@savoirfairelinux.com>
-
Andreas Traczyk authored
- also adds the signal to the dbus xml in case other clients/platforms wish to connect to it in the future Change-Id: I6d4d85e88e713a7a0ef22ca032653ca5bec188e7
-