1. 09 Jan, 2016 2 commits
  2. 08 Jan, 2016 1 commit
    • Adrien Béraud's avatar
      pulseaudio refactoring · c9fa85bb
      Adrien Béraud authored
      * Use factored audio code from AudioLayer
      * Properly refresh device list on device change
      * After device change, use preferred device if possible
      
      PulseAudio device selection was broken because only
      a single device can use echo cancelling at a time,
      so when the second device was opened, the first echo-canc3elled stream
      was redirected to it.
      
      Use per-stream instead of per-context echo-cancellation.
      Only use echo-cancellation for playback and record (disabled for ringtone).
      
      Tuleap: #207
      Change-Id: Ib5fcb3795a079a867e44c743892bb1325d0f4eef
      c9fa85bb
  3. 07 Jan, 2016 4 commits
  4. 06 Jan, 2016 1 commit
  5. 18 Dec, 2015 1 commit
  6. 15 Dec, 2015 1 commit
    • Guillaume Roguez's avatar
      manager: catch exceptions in mainloop · abe05dbd
      Guillaume Roguez authored
      This patch prevents exceptions to crash application
      if happen during pollEvents() processing.
      Exception are just catch and displayed.
      In case of exception caused by a task, this one
      is removed from pending list.
      Handlers are not removed, take care of that!
      
      Change-Id: I266539585baf68f329d53f3d20361c4cb08211f3
      Tuleap: #200
      abe05dbd
  7. 14 Dec, 2015 1 commit
  8. 10 Dec, 2015 2 commits
  9. 09 Dec, 2015 2 commits
  10. 08 Dec, 2015 2 commits
    • Alexandre Lision's avatar
      video: verify AVDevice type · 70c84b35
      Alexandre Lision authored
      This commit adds type verification when an AVCaptureDevice is added.
      The notification that a new device got connected, is received for both
      video and audio devices.
      
      Change-Id: Id48fb4182589234df164ab6337fb5d4863987a15
      Tuleap: #149
      70c84b35
    • Alexandre Lision's avatar
      video osx: bump libav patch · e0676bf0
      Alexandre Lision authored
      New developments in libav allow size selection.
      This patch adds this ability in our OSX video device implementation.
      
      Tuleap: #166
      Change-Id: Ibe9c38e85b5ce2a0bee4b0528390aae716a1aee7
      e0676bf0
  11. 04 Dec, 2015 1 commit
    • Guillaume Roguez's avatar
      im: normalize call/account instant-messaging API's · 27565853
      Guillaume Roguez authored
      WARNING: API changes
      
      This patch makes code common for IM send/receive message API's
      between call and account classes.
      
      Multi-part messages is supported for :
      - SIPAccount
      - SIPCall (any SIP like account)
      
      RingAccount supports only Single-part messages yet.
      
      Change-Id: Ic65425cd95f02f89f03dd6ea2a9c4a10bb233859
      Tuleap: #157
      27565853
  12. 03 Dec, 2015 2 commits
    • Éloi Bail's avatar
      media/video: reuse default quality parameters · 87f3f337
      Éloi Bail authored
      When several calls were performed, quality and bitrates of previous
      call were used. When stopping VideoRtpSession, we make sure to reset default
      values.
      
      Change-Id: Ibe7b58f33979fae734dbbe3f7c31bd4d57c5a13f
      Tuleap: #156
      87f3f337
    • Éloi Bail's avatar
      media/video: disable key frame SIP-INFO request · a6fc06b6
      Éloi Bail authored
      If a keyframe request is never answered, a timeout is reached
      and the call failed.
      As keyframe requests are transmit over UDP, they are too easily dropped,
      on connection like wifi.
      
      This feature is not mandatory for communication and until we found
      a better solution this patch disables the request.
      
      Change-Id: I3d5e8d0e3d0119db52fbfc0f37ce2949224b1806
      Tuleap: #167
      a6fc06b6
  13. 25 Nov, 2015 2 commits
  14. 24 Nov, 2015 3 commits
    • Éloi Bail's avatar
      sip: fix corruption in transfer · f4ea2860
      Éloi Bail authored
      Corruption was seen on transfert. Hangup of a call was done while
      the call was destroyed. Use of shared_ptr resolved it.
      
      Change-Id: I11b2b91e07bc1da77f05302fa08926193923af60
      Tuleap: #122
      f4ea2860
    • Edric Milaret's avatar
      sip: fix username truncated on win32 · d3c86f61
      Edric Milaret authored
      - TCHAR conversion to std::string wasn't working
      
      Change-Id: I8fa9a634f50a58515a0ba49be99dd166a0a537b3
      Tuleap: #133
      d3c86f61
    • Éloi Bail's avatar
      sip: fix attended transfers · fa04627a
      Éloi Bail authored
      Attended transfers led to an assertion in pjsip. According to high-level
      librairie pjsua, unused in Ring, and specially function pjsua_call_on_incoming,
      it looks like we should not call pjsip_inv_answer when replace header is
      present. This function actually leads to the pjsip assertion.
      pjsip_inv_initial_answer should be rather used.
      
      NOTIFY is still missing.
      
      Change-Id: I2e4a09533bd33dd32b2cc61a7d9737dc1fe79738
      Tuleap: #122
      fa04627a
  15. 23 Nov, 2015 2 commits
    • Adrien Béraud's avatar
      audio: reduce default ring buffer size · ffdbc957
      Adrien Béraud authored
      Current size was defined before the LibAV jitter buffer
      was introduced. The buffer size defined was already very
      conservative: 32000 samples means 2/3 of a second (an eternity).
      
      * reduce buffer size to 16000 samples (333 ms at 48kHz)
      * reduces audio latency of up to 333 ms
      * should slightly improve echo cancelling
      
      Tuleap: #120
      Change-Id: I0c3d4f83d18f4fdede7e89cd9a36327af716c1ca
      ffdbc957
    • Adrien Béraud's avatar
      contrib: bump pcre · d3a1c36d
      Adrien Béraud authored
      8.36 is not hosted anymore. Bump to latest 8.38.
      
      Tuleap: #124
      Change-Id: Ib40e60979d2ac1909cf8810a45a7dc9a0bf013cc
      d3a1c36d
  16. 19 Nov, 2015 1 commit
    • Éloi Bail's avatar
      media/video: bad writting access in video scaling · f43da18f
      Éloi Bail authored
      Padding needs sometimes to be done for scaling purpose when a change of video
      source is performed. Padding calcul is wrong and leads to memory bad writting
      access.
      
      Tuleap: #87
      Change-Id: Ied282941077c1e268529457d39cdcc403a741aaf
      f43da18f
  17. 18 Nov, 2015 2 commits
    • Éloi Bail's avatar
      daemon: enable H263 encoder · 8c56fd79
      Éloi Bail authored
      H263 version 1 allows a limited range of resolutions outdated compared
      to recent camera capabilities. It was thus nearly impossible
      to use it on Ring.
      
      This patchset forces encoding of H263+ which supports all resolutions
      multiple of 4 from 4x4 to 2048x1152.
      On Libav we see video artifacts if multithread is enabled
      on encoder side. A workaround deals with forcing h263 encoder
      to monothread.
      
      See https://bugzilla.libav.org/show_bug.cgi?id=912
      
      Tuleap: #138
      Change-Id: I7121e182fa13139d28db010e2ed0de573c616de7
      8c56fd79
    • Guillaume Roguez's avatar
      Ice: fix implementation · 2074c7fb
      Guillaume Roguez authored
      IceTransport::isXXX() API are not thread-safe, not clear in which
      state the transport is and not easy to manipulate (order of state).
      
      This patch tries to solve that by:
      - Procted API by a mutex
      - Remove uneeded isComplete() API
      - Ensure that each API are ordered (one at true implies true
        on all lower states: INITIALIZED -> STARTED -> RUNNING).
        All return false on Fail state.
      - Change usage accordingly
      
      Tuleap: #107
      Change-Id: I17211e54322d70bbfe18c28f06cf9967b9ef93d2
      2074c7fb
  18. 16 Nov, 2015 1 commit
    • Adrien Béraud's avatar
      contrib tools: bump ant · ef44e3dc
      Adrien Béraud authored
      Ant 1.9.5 is not hosted anymore, which prevents Android to compile.
      Bump to 1.9.6.
      
      Tuleap: #62
      Change-Id: Ib20a0b6ea40d229ddfd09e7850b4606d9f28f508
      ef44e3dc
  19. 13 Nov, 2015 1 commit
    • Éloi Bail's avatar
      media/video: use crf rather than bitrate · 82fb0dae
      Éloi Bail authored
      Dynamic quality change was done by increase/decreasing encoder bitrate.
      It led to video artefact issues, specialy at low bitrates.
      In addition, it does not make sence to use same bitrate with different
      resolutions and fps. With high resolutions and fps, maximal bitrate
      need to be higher.
      
      It is possible for H264 and VP8 to set video quality using CRF.
      This parameter solves video artefact issues and choose a different
      output bitrate depending on input resolution and fps.
      
      Tuleap: #80
      Change-Id: I07d37175dfc335b5fc70cf54798f82eafe921ea9
      82fb0dae
  20. 12 Nov, 2015 3 commits
  21. 11 Nov, 2015 2 commits
  22. 10 Nov, 2015 1 commit
    • Guillaume Roguez's avatar
      build: permit user to overload revision number · 7f56822b
      Guillaume Roguez authored
      Let user choose the RING_REVISION and RING_DIRTY_REPO values.
      This also permit packaging to build from non-git sources tree
      with a fancy and valid revision string.
      
      Just set previous environment variable before to run
      the make command.
      
      Change-Id: I24d71f985decc2187f09ab21eb72e588ede7fb7a
      Tuleap: #71
      7f56822b
  23. 06 Nov, 2015 1 commit
    • Éloi Bail's avatar
      media: fix memory leak in audio decoder · d1928b0e
      É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
      d1928b0e
  24. 04 Nov, 2015 1 commit
    • Adrien Béraud's avatar
      gnutls: downgrade gettext requirements · 4c93660e
      Adrien Béraud authored
      * use previous gettext version 0.18.3
      * should fix build on Ubuntu Trusty 14.04
      * keep gettext 0.19 on windows for mingw compilation
      
      Tuleap: #62
      Change-Id: I39f3d5b4938f7b2926f730a3b7822c19e05d9d1e
      4c93660e