- 03 Aug, 2019 1 commit
-
-
Adrien Béraud authored
This reverts commit 880c285a. Reason for revert: still needs work Change-Id: I5851724e6b04ee185ef9a2b41d90caeb1b158461
-
- 02 Aug, 2019 1 commit
-
-
Adrien Béraud authored
Change-Id: Id8d3bc885798850e00ef21d11e7f8276b54cc9be
-
- 03 Apr, 2019 1 commit
-
-
Adrien Béraud authored
Change-Id: I3bb7f53ececb108f9db7b0f9eb47b85b3482644a
-
- 02 Apr, 2019 1 commit
-
-
Adrien Béraud authored
* rename namespace from ring to jami * rename logs methods from RING_* to JAMI_* * rename RING_VIDEO to ENABLE_VIDEO Change-Id: Ic98498652d7059fafe58a96220d565bcdfa53658
-
- 06 Mar, 2019 1 commit
-
-
Philippe Gorley authored
Rewrites the hardware decoding system with C++-style code instead of C-style. Removes support for hardware decoding h263, as we do not use the h263p decoder, which is the codec with hardware support. Change-Id: I96b796ba8847dadd388c6e29eaee1115b25c2fb3
-
- 14 Feb, 2019 1 commit
-
-
Adrien Béraud authored
Change-Id: Iffa05aec0c61f8db1e4bed82ce2b3df95b77f30b
-
- 11 Feb, 2019 1 commit
-
-
Adrien Béraud authored
Change-Id: I6989c6708ccfab2a2bcdc274c353e3efdc1ffc8c
-
- 02 Jan, 2019 1 commit
-
-
Sébastien Blin authored
Change-Id: Ia4ed75d04a284efa0763c917aeaa2f08863a87cb
-
- 27 Dec, 2018 2 commits
-
-
Adrien Béraud authored
Change-Id: I0de9d73d38e865f736e64c6a1adb1139d96cd641
-
Adrien Béraud authored
* RingBuffer: handle AudioFrame instead of raw samples * RingBuffer: input resampler, frame resizer * AudioLayer: use new RingBuffer API Change-Id: I39bfcf7706e872dde23aea668885ede6d8abe752
-
- 21 Dec, 2018 1 commit
-
-
Philippe Gorley authored
When decoding files, their audio is rematrixed to mono or stereo depending on the negotiated format. Libswresample does not support rematrixing from Dolby Surround 5.1, so skip over streams with this layout. If the file only contains Dolby 5.1, switch back to default audio input device. Change-Id: I526e3c9b2ec92794818e74f8c369a8c8f3c41b27
-
- 13 Dec, 2018 1 commit
-
-
Philippe Gorley authored
If MediaDecoder::getStream is called before any frames are decoded, lastTimestamp_ remains uninitialized. Change-Id: I3a970a36814ec02ad54533c2bc3aa9855e6570b1 Reviewed-by:
Sébastien Blin <sebastien.blin@savoirfairelinux.com>
-
- 26 Nov, 2018 1 commit
-
-
Adrien Béraud authored
Change-Id: Ifeaf66cf06d8859be25642064ce09761a1552894 Reviewed-by:
Philippe Gorley <philippe.gorley@savoirfairelinux.com>
-
- 15 Sep, 2018 1 commit
-
-
Adrien Béraud authored
Change-Id: I445df662dc77c6ab49b8b6ae65b95e1b1cd546f4
-
- 23 Aug, 2018 1 commit
-
-
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
-
- 06 Aug, 2018 1 commit
-
-
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
-
- 30 Jul, 2018 1 commit
-
-
Philippe Gorley authored
This is redundant, the information can already be found in the AVStream object and is set by avcodec_parameters_to_context. Let FFmpeg take care of these details. Change-Id: I199de87a852caeef34047e4f906ccd21dcb696c4 Reviewed-by:
Sebastien Blin <sebastien.blin@savoirfairelinux.com>
-
- 12 Jul, 2018 1 commit
-
-
Philippe Gorley authored
Moves the recorder up one level to the VideoInput, VideoReceiveThread and AudioReceiveThread, instead of the MediaDecoder (there's no equivalent to the VideoInput in the audio layer). Emits the RecordPlaybackStopped when the recording is stopped, so the client can sync its recording state with the daemon, in case the daemon stops recording by itself (rather than user intervention). Change-Id: I743b080cb354273ec074fec51caf2a4328fc1c58
-
- 10 Jul, 2018 2 commits
-
-
Philippe Gorley authored
It better explains what the method does, as the recorder is not started at that moment). Change-Id: Ib536600b663e9ee188257b3b166f497f5a2b2c1e Reviewed-by:
Sebastien Blin <sebastien.blin@savoirfairelinux.com>
-
Adrien Béraud authored
Change-Id: I506dca0e5c4bb58b0c639219d4a4224f85fb2611 Reviewed-by:
Philippe Gorley <philippe.gorley@savoirfairelinux.com>
-
- 12 Jun, 2018 1 commit
-
-
Philippe Gorley authored
Change-Id: I32f59646ad7059dc7440aa6f278fd2e210c8108e
-
- 29 May, 2018 1 commit
-
-
Philippe Gorley authored
Compresses audio to Ogg/Opus. Refactors audio recording to use MediaFilter (audio mixing) and MediaEncoder. Change-Id: Ib8ee63ac71910782fb21d73d7da5fa5d19893b8e Reviewed-by:
Sebastien Blin <sebastien.blin@savoirfairelinux.com>
-
- 07 Feb, 2018 1 commit
-
-
Philippe Gorley authored
Merges setupFromAudioData and setupFromVideoData to reduce redundancy Change-Id: Id543d0775a7803b778796b9abc02c9decd2c7e15 Reviewed-by:
Guillaume Roguez <guillaume.roguez@savoirfairelinux.com>
-
- 23 Jan, 2018 1 commit
-
-
Guillaume Roguez authored
Change-Id: I1ef88bc640f79790aad2b5285ea2c776aa8cd366
-
- 15 Jan, 2018 1 commit
-
-
Philippe Gorley authored
Falling back from hardware to software decoding requires only a reinitialization of the AVCodecContext. Hardware decoding failure is no longer bubbled up to the RTP session, which makes it much faster. Change-Id: I79fdfcfa41f822b3299d74ac654146789fcfd97b
-
- 28 Dec, 2017 1 commit
-
-
Philippe Gorley authored
libavutil now covers the simple cases for creating and managing devices. As Ring does not need to fine-tune these processes, most of the accel code can be and has been removed. Most hardware decoders output NV12, so skip extra conversions by outputting NV12. Said pixel format is supported by everything that isn't excessively old. Change-Id: I10c440026fc3b289dbba7ecbca47e55c57147207 Reviewed-by:
Anthony Léonard <anthony.leonard@savoirfairelinux.com>
-
- 29 Nov, 2017 1 commit
-
-
Philippe Gorley authored
Handles RestartRequired return code on hardware acceleration failure. Change-Id: I170928e23ed607c2255e20729a71adc1364bbb6a Reviewed-by:
Guillaume Roguez <guillaume.roguez@savoirfairelinux.com>
-
- 17 Jun, 2017 1 commit
-
-
Guillaume Roguez authored
Increase jitter-buffers size/delay in TLS and RTP channels. Gives better results on high-latency connections (i.e. with TURN enabled). Note: also refactor RTP constants coding to be more easier to tweak. Change-Id: Ia4cb78306465e2385a52728629942b4d07330f13
-
- 30 Mar, 2017 1 commit
-
-
Guillaume Roguez authored
Correctly sets jitter buffer max delay (in us) to 1 sec instead of 0.1 sec. Increases jitter buffer max size to keep up with larger packet sizes and resolutions. Change-Id: I9d608c7ed8353079186b0c2ad234683b3d0bcf69 Reviewed-by:
Guillaume Roguez <guillaume.roguez@savoirfairelinux.com>
-
- 05 Jan, 2017 1 commit
-
-
Guillaume Roguez authored
Change-Id: I6dbc51dd41c1f44d1446fe7365026af037bc86d9 Reviewed-by:
Stepan Salenikovich <stepan.salenikovich@savoirfairelinux.com>
-
- 14 Dec, 2016 1 commit
-
-
atraczyk authored
- includes <functional> in media_buffer.h for std::function. - forward declare AudioFrame and DeviceParams as structs in media_decoder.h, as they are both defined as such. - remove AVRational compound literal from media_encoder.cpp. - use a #pragma message instead of a #warning in Visual Studio Change-Id: If32cfbb7504d65c9687814dcc3b5dfa859017fc5 Tuleap: #790 Reviewed-by:
Guillaume Roguez <guillaume.roguez@savoirfairelinux.com>
-
- 22 Nov, 2016 1 commit
-
-
Philippe Gorley authored
Correctly wraps video preferences and hardware acceleration in ifdef preprocessor statements (RING_VIDEO and RING_ACCEL, respectively). This fixes cases where Ring would not compile without video or video acceleration. Video acceleration is now dependant on the presence of video (--disable-video disables acceleration). Change-Id: I087cc1dc794d0f19daa68cdaec09e126542147f9
-
- 01 Nov, 2016 1 commit
-
-
Philippe Gorley authored
Hardware acceleration is now correctly enabled/disabled using Ring's config file. The setting was moved from DeviceParams/VideoSettings, which are used for local video, to preferences under video. The video preferences object calls serialize() on the video device preferences, so as to not overwrite one another (they're under the same section in the config file). Change-Id: I8c11ea8813dee5cc514a4fa4c1bae962a14577eb Tuleap: #1122
-
- 07 Oct, 2016 1 commit
-
-
Philippe Gorley authored
This patch also implements a way for the Call object to restart the media receiver Change-Id: I1090575f14425d383eb5471a388c4c9e8d888b0e
-
- 23 Sep, 2016 1 commit
-
-
Philippe Gorley authored
Contains code common to all hardware accelerations to be implemented. Enables the VAAPI acceleration for intel linux systems, with support for H.264, H.263 and MPEG4. To use VAAPI, you need libva, libva-x11 and libva-drm. Hardware acceleration is enabled by default, and can be disabled with "./configure --disable-accel". Change-Id: Id0696465b785de0735bbce9750932ac38efe0713 Reviewed-by:
Guillaume Roguez <guillaume.roguez@savoirfairelinux.com>
-
- 19 Aug, 2016 1 commit
-
-
Gasuleg authored
This feature provides relevant advanced information during a call. A user starts it with a refresh time and listens on a callback signal to get the updated information. This information is presented in a form of a map containing Call ID, codecs, framerate and resolution. The public API has: - startSmartInfo(<timeMS>) - stopSmartInfo() - CallSignal::SmartInfo(map) -- callback signal Change-Id: Iaafc12b5b53aee8ad008b93536f72a4152c4ee02 Reviewed-by:
Guillaume Roguez <guillaume.roguez@savoirfairelinux.com>
-
- 09 Mar, 2016 1 commit
-
-
Guillaume Roguez authored
tools/update-copyright script used for that Change-Id: I89b13300d9ccbdbcd47dba679ba64be82499e83d Tuleap: #454
-
- 20 Jan, 2016 1 commit
-
-
Guillaume Roguez authored
This patchset changes Observable::notify and Observer::update API to remove the reference data attribute. This was uneeded into our context, aka used with smart pointers. Also fix coding rules and missing override keywords to overloaded virtual methods. Tuleap: #240 Change-Id: I068b44cb526718d4cbae34b9d4d51871294bcf3e
-
- 13 Jan, 2016 1 commit
-
-
Alexandre Lision authored
- give libav a rational<double> instead of rational<unsigned> for framerate - add libav patch for osx to correct this issue Change-Id: I6f029d7e52e2da2230dbe158ab4631d3b3f355a4 Tuleap: #231
-
- 06 Nov, 2015 1 commit
-
-
Éloi Bail authored
AVPacket are not freed after use. The solution deals with allocating AVPacket on the stack and ensuring to free it calling av_packet_unref. This fix has also widly deployed on Video for having a unique method other the code. Change-Id: I049b29effb4e6748ee2dd12b4c52536c99fef498 Tuleap: #91
-