- 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 4 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
-
Hugo Lefeuvre authored
In setupAudioOutput we initialize an audio filter using the encoder stream but this filter is left unused and the initial encoder stream is returned instead. Set encoderStream to filter's out params. Change-Id: Ibe0e51946a630699f4d6528692c9930462cf18b6 Reviewed-by:
Philippe Gorley <philippe.gorley@savoirfairelinux.com>
-
- 20 Aug, 2018 1 commit
-
-
Philippe Gorley authored
Fixes compilation warning Change-Id: I5cc9853e74ddcd39952490b488a3a90eba8c9a06
-
- 17 Aug, 2018 3 commits
-
-
Adrien Béraud authored
Change-Id: I56e4a8f74400f1c838bc3cd1a9b82b1e2c23ccb1
-
Adrien Béraud authored
Change-Id: I6ad737887943bb49d61d38a38c0fb7534fb6c564 Reviewed-by:
Sebastien Blin <sebastien.blin@savoirfairelinux.com>
-
Adrien Béraud authored
Change-Id: I56b47cd4b62c9dfd31e41328830e6ff0111ca14b Reviewed-by:
Sebastien Blin <sebastien.blin@savoirfairelinux.com>
-
- 16 Aug, 2018 4 commits
-
-
Andreas Traczyk authored
- provides registerSignalHandlers to replace registerCallHandlers, registerConfHandlers, registerDataXferHandlers, registerPresHandlers, and registerVideoHandlers which are now deprecated and forward to registerSignalHandlers - this patch bumps the daemon API to 5.2.0 and is backwards compatible Change-Id: Ie9479610114a474b4748614988c3ea0156dce6a9 Reviewed-by:
Sebastien Blin <sebastien.blin@savoirfairelinux.com>
-
Philippe Gorley authored
std::queue<T> uses std::deque<T> as a container, so use it directly since the interface offers better tools for debugging and manipulation. Change-Id: I2785fc13bab6cda4704488408cad1459ae1b2395 Reviewed-by:
Sebastien Blin <sebastien.blin@savoirfairelinux.com>
-
Adrien Béraud authored
Change-Id: I1c724c6652e001bc92b36d60e163f29331c6cd74 Reviewed-by:
Sebastien Blin <sebastien.blin@savoirfairelinux.com>
-
Philippe Gorley authored
Same as default.wav, but encoded in opus at 44100 Hz. Better compression for better sound. Change-Id: Ia4e2728bdcad8eca385c0cdaef2366fd72cc135f
-
- 15 Aug, 2018 2 commits
-
-
Hugo Lefeuvre authored
Use const std::chrono::milliseconds type for secondsPerPaket_ instead of defining seconds = std::chrono::duration<double, std::ratio<1>>. That way we avoid some useless casts later. Change type of sent_samples to uint64_t: unsigned is kind of small for this usage and getNextTimestamps expects seq of type uint64_t. Simplify code in readFunction() and process(). Change-Id: I6ac7fd1b4553cfe5982a3d05a6467b8085f758a4 Reviewed-by:
Philippe Gorley <philippe.gorley@savoirfairelinux.com>
-
Hugo Lefeuvre authored
EXIT_IF_FAIL was meant to replace if (!(A)) { RING_ERR(__VA_ARGS__); loop_.exit(); } but it is not very readable. Also, loop_.exit() throws an exception where setup functions calling EXIT_IF_FAIL could simply return false. Throwing an exception has a higher overhead and leads to less readable debug output (+ throwing exceptions should never be the standard way to exit the normal control flow). This patch - removes the EXIT_IF_FAIL macro - replaces code from audio_rtp_session and video_receive_thread which was using this macro - Adds stop() call at the end of ThreadLoop::mainloop. At this point the thread loop is obviously not executing anymore. Change-Id: Id1ed8eb914e91686a63775eba3ad70f8b6143ae5 Reviewed-by:
Philippe Gorley <philippe.gorley@savoirfairelinux.com>
-
- 14 Aug, 2018 1 commit
-
-
Hugo Lefeuvre authored
It is bad design to have recording related code in the encoder. The encoder should handle exclusively encoding related tasks. Move recording related code to audio_rtp. Change-Id: I4e2c59b09d40d1ae07b88cfb61865312a69c0942 Reviewed-by:
Philippe Gorley <philippe.gorley@savoirfairelinux.com>
-
- 13 Aug, 2018 4 commits
-
-
Philippe Gorley authored
Keeps track of sample format in AudioFormat, because MediaStream needs a format. Change-Id: I3ee3fe05f3d5d98706a20132876685e37ffdd966 Reviewed-by:
Hugo Lefeuvre <hugo.lefeuvre@savoirfairelinux.com>
-
Philippe Gorley authored
Change-Id: I59f25e4537c393674f1b62b0e12deb143d9fc108 Reviewed-by:
Hugo Lefeuvre <hugo.lefeuvre@savoirfairelinux.com>
-
Philippe Gorley authored
Addresses https://sourceforge.net/p/mingw-w64/bugs/360/ Change-Id: Ida4d2da450b8f935bb1953cf0c76b06631153dc2
-
Adrien Béraud authored
Change-Id: I477699c13343512830f82289bdef331f37282cff Reviewed-by:
Sebastien Blin <sebastien.blin@savoirfairelinux.com>
-
- 10 Aug, 2018 2 commits
-
-
Adrien Béraud authored
Change-Id: Ic06371032cf701da53456fb551921b89b07efc9e Reviewed-by:
Philippe Gorley <philippe.gorley@savoirfairelinux.com>
-
Philippe Gorley authored
Fixes problems with mingw not including inttypes.h when needed. Change-Id: Icd3e1153eac74ac74e25d2ae1d0df4dc4e655314 Reviewed-by:
Andreas Traczyk <andreas.traczyk@savoirfairelinux.com>
-
- 09 Aug, 2018 1 commit
-
-
Andreas Traczyk authored
- the default setting is /Zi(ProgramDatabase), so this patch specifies that so the line can be removed with a sed in our CI Change-Id: I2ac60d755569f8aec3ca94f4b73b9cae4993e8b1
-
- 08 Aug, 2018 2 commits
-
-
Philippe Gorley authored
Adds libswresample to the package check. Namely, we don't want to use libavresample, which has a different API. The latter exists solely for compatibility with Libav. Change-Id: I717975c696e2de2787be98cac07862215095b667
-
Philippe Gorley authored
Using MediaFilter would make the resampling time longer and more unpredictable than directly using libswresample. Adds libswresample as a dependency. Simplifies Resampler class. Resampler detects changes in input and output formats automatically. Changes Audiofile to use Resampler instead of MediaFilter. Change-Id: I24919e8fa514dbb4a38408e338016976e7424136
-
- 07 Aug, 2018 2 commits
-
-
Philippe Gorley authored
Fixes regression introduced by b1539bd1. Since Tone was now in a shared_ptr, reset was called on the shared_ptr instead of the Tone. Change-Id: If2041feb8cffbb62f1748867a5099c2a0718de1d
-
Adrien Béraud authored
Fix build flags for two directories, clean globals. Change-Id: I2c2fb1fd7f73c8097de05f641ad3e71ccbabd965 Reviewed-by:
Sebastien Blin <sebastien.blin@savoirfairelinux.com>
-
- 06 Aug, 2018 2 commits
-
-
Philippe Gorley authored
If FFmpeg was unable to find a framerate in avformat_find_stream_info, fall back to the DeviceParams' framerate. This was the case for certain Macs. Change-Id: I0ee7ebeef37676ff5907482421425051e880c6f5
-
Philippe Gorley authored
Fixes potential warnings, as AVRational only deals with int. Change-Id: I35d53a1a84b9e7f9709a51a4c8be8873ba4f7094
-
- 03 Aug, 2018 5 commits
-
-
Philippe Gorley authored
Allows different ringtones to be used to compensate for sndfile no longer being used to decode them. Also prepares for eventual audio streaming. Change-Id: I0e5d4374266887b09fdab5846f85ed25b5a1679c
-
Andreas Traczyk authored
Change-Id: I13a43623c1e23b09557782f865d64a421d5c0cac Reviewed-by:
Philippe Gorley <philippe.gorley@savoirfairelinux.com>
-
Philippe Gorley authored
The flac, ogg and vorbis contribs were used by sndfile. They are not used by ffmpeg, making them superfluous. Change-Id: I57b2078c617fa764e3bc6302816a61ec9caa20c3
-
Philippe Gorley authored
Change-Id: I9aadd0696d7ad2e467ffe19841bc9e919e08777a
-
Philippe Gorley authored
Rewrites the Resampler class to use MediaFilter. Adds a unit test for the new Resampler. Change-Id: I8ed78d2e1d82df81bbaf46a9719c682c825ee245
-
- 02 Aug, 2018 1 commit
-
-
Philippe Gorley authored
Removes unused/deprecated audiorecord/audiorecorder Allows any file to be used as a ringtone (mp3, ogg, etc) Change-Id: I9ce33ec3d5f083caf098266befa597e78a95d7d6
-