1. 17 Feb, 2017 1 commit
  2. 15 Feb, 2017 2 commits
    • Guillaume Roguez's avatar
      increase keyframes request at stream begin · 6fe87e09
      Guillaume Roguez authored
      Increasing the number of keyframes sent at the begining
      of a video stream upto 4 (was 1).
      Even if the bytes flow is increased (only temporarily)
      sending more keyframes at stream begin let a chance to
      have a nice video looking in case of possible network
      packet drop. It's often the case at the stream begin
      due to high traffic caused by the calling establishment
      process.
      
      Change-Id: I2636727422ca641d8af9d83c59b9d487aff606d5
      Reviewed-by: Andreas Traczyk's avatarAndreas Traczyk <andreas.traczyk@savoirfairelinux.com>
      6fe87e09
    • Olivier SOLDANO's avatar
      Path MTU discovery implementation · 29ae5d8a
      Olivier SOLDANO authored
      This implementation uses gnutls dtls heartbeat API to test path MTU.
      heartbeat allowing messages with automated response in a datagram,
      the application is able to guess the MTU via a timeout in the heartbeat.
      (timeout on packet sent and no response, implies that the MTU is lower
      than the lost payload.)
      To minimize false positives (a response is lost for example), each attempt
      triggers one retry on the first timeout.
      This version ensures a minimal MTU of 512 bytes will be returned in
      case of any failure in the procedure.
      For retrocompatibility with non heartbeat capable clients,
      a fallback MTU is set at 1280.
      
      Change-Id: Ib9a7f63a70e8bdad239d8fc103779a0f2c387e87
      Reviewed-by: Andreas Traczyk's avatarAndreas Traczyk <andreas.traczyk@savoirfairelinux.com>
      29ae5d8a
  3. 23 Jan, 2017 2 commits
  4. 20 Jan, 2017 1 commit
    • atraczyk's avatar
      audio: remove use of libsndfile for UWP build · d5e52e74
      atraczyk authored
      - remove the referencing of sndfile objects, as UWP implements
        the playing of ringtone files client-side.
      
      Change-Id: I88e12b31c2fd66d3e171d971960eb66bdf8875a4
      Tuleap: #790
      d5e52e74
  5. 11 Jan, 2017 1 commit
  6. 10 Jan, 2017 1 commit
  7. 05 Jan, 2017 1 commit
  8. 14 Dec, 2016 2 commits
  9. 13 Dec, 2016 7 commits
  10. 12 Dec, 2016 1 commit
    • atraczyk's avatar
      portaudiolayer: replace handleError with ring debug macros · 4e4fb23f
      atraczyk authored
      - Removes the handleError member function in the PortAudioLayer class, and
        replaces it's usage with ring debug macros to report the appropriate
        line numbers during error reporting in portaudiolayer.cpp.
      
      Change-Id: Ibdfffbfabdb985d249813895a84cc2d1266e68f3
      Tuleap: #791
      4e4fb23f
  11. 09 Dec, 2016 1 commit
    • atraczyk's avatar
      audio: fix unmuting of audio after audio has been muted · 168253ed
      atraczyk authored
      Saves the previous mute state in AudioRtpSession and AudioSender,
      so that when the audio encoder is re-instantiated, it can be set
      to a previously set state (if any).
      
      Change-Id: I25809499fd5afca1b6ae0f03c685a10ba95f94ac
      Tuleap: #1298
      168253ed
  12. 08 Dec, 2016 1 commit
  13. 03 Dec, 2016 1 commit
  14. 02 Dec, 2016 1 commit
    • Guillaume Roguez's avatar
      tone: M_PI is not standard · 9df12e2f
      Guillaume Roguez authored
      Fix usage of M_PI constant: it's not C++, even C, standard constant.
      Replaced by a direct value in the code.
      This also can fix C++14 compatibility on some platforms.
      
      Change-Id: I1b37c5cd4aabc9af2adccf208cc8a793de54a79c
      9df12e2f
  15. 30 Nov, 2016 2 commits
    • Philippe Gorley's avatar
      video: test acceleration before using it · d48b15fc
      Philippe Gorley authored
      Adds a method to check if a hardware acceleration is usable on
      the system before starting the video feed, as the fallback to
      software decoding can take a few seconds.
      
      Change-Id: I74506943b5c8d43808a1fe4ba28a8c7b6353f6aa
      d48b15fc
    • Philippe Gorley's avatar
      hardware acceleration refactoring · 4b5f8b59
      Philippe Gorley authored
      Refactors the hardware acceleration mechanism by making AVCodecContext
      a class member in HardwareAccel, wrapping extractData in a base
      method to avoid duplicating boilerplate code, making the AccelID
      enum and AccelInfo struct visible only to the makeHardwareAccel
      function and adds more flexibility in the compilation of Ring's
      hardware acceleration.
      
      Change-Id: Ibfb4324e2f84b4d08bb5dd1e4b22873255aeb196
      4b5f8b59
  16. 22 Nov, 2016 1 commit
    • Philippe Gorley's avatar
      config: wrap accel and video prefs in ifdef · 5c78be10
      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
      5c78be10
  17. 08 Nov, 2016 1 commit
    • atraczyk's avatar
      windows compatibility: include ciso646 header · ab57a60d
      atraczyk authored
      - includes ciso646 header where needed to define alternate logical
        operators for native windows builds
      
      Change-Id: I32b2688fa89324d6683caa365d00fb48cde1e3e1
      Tuleap: #1253
      ab57a60d
  18. 07 Nov, 2016 1 commit
  19. 01 Nov, 2016 2 commits
  20. 28 Oct, 2016 1 commit
    • Stepan Salenikovich's avatar
      save default video device · 918c67d9
      Stepan Salenikovich authored
      Now setting the default video device will update the order of the
      video preferences and then save the config. This ensures that the
      default video device setting persists between dring sessions as
      the order of the video preferences in dring.yml is used to determine
      the default device when launching dring.
      Reviewed-by: default avatarAlexandre Viau <alexandre.viau@savoirfairelinux.com>
      Change-Id: I7af715c80db58b83eaf4b7584b34ca2279023a2c
      Tuleap: #1035
      918c67d9
  21. 18 Oct, 2016 1 commit
    • Loïc Siret's avatar
      audio: fix recording · b1d4a5c6
      Loïc Siret authored
      Audio recording files are not closed properly, making them corrupt
      on mac osx (wave header for file size or duration is 0) . Also
      recording filenames contain duplicates, and sometimes missing
      the entire filename.
      
      This patch :
      - adds call to closeFile when a call is remove from manager
      - prevents filename duplication
      - ensures filename is initialized on audio recorder
      
      Change-Id: Iec3a606f9e65bbbfb5bcaf50ba924223c396507b
      Tuleap: #999
      b1d4a5c6
  22. 17 Oct, 2016 1 commit
    • Philippe Gorley's avatar
      video: add multi gpu support for vaapi · d6a90bf9
      Philippe Gorley authored
      This iterates over all DRM devices under
      /dev/dri (card* and renderD*) and returns the first
      device that works
      
      Change-Id: I4a4aea565122abf81786b0ccc69539631f10b5f8
      Tuleap: #1082
      d6a90bf9
  23. 14 Oct, 2016 1 commit
  24. 12 Oct, 2016 1 commit
    • Alexandre Lision's avatar
      Revert "video: use ffmpeg on OSX" · 4e4a609d
      Alexandre Lision authored
      - libav is still selected when building the daemon
      - patch 0005-add-avfgrab-device.patch does not compile
      - video does not work with the avfcapture device
      
      This reverts commit 762ce5d1.
      
      Change-Id: Iebe59520877bbcd8fb9e8581341ff77be6d326b0
      4e4a609d
  25. 07 Oct, 2016 4 commits
    • Philippe Gorley's avatar
      video: fallback from hardware to software decoding · 660bc340
      Philippe Gorley authored
      This patch also implements a way for the Call object to restart
      the media receiver
      
      Change-Id: I1090575f14425d383eb5471a388c4c9e8d888b0e
      660bc340
    • Philippe Gorley's avatar
      video: fix hardware acceleration bugs · c49f1368
      Philippe Gorley authored
      Now correctly takes into account user setting. Will no longer try
      to retrieve data from the GPU buffer if acceleration has failed.
      Uses hardware acceleration when flushing the video stream.
      
      Change-Id: Id7787a181b3822e8c7da0e8c2ce2cdfa302a3ddd
      c49f1368
    • Alexandre Lision's avatar
      video: use ffmpeg on OSX · 762ce5d1
      Alexandre Lision authored
      Switch to ffmpeg for video processing on OSX.
      FFmpeg provides hardware acceleration for video decoding
      
      Change-Id: Ic1136ac7c4f4917c1250a4ea732775c47a6e6c39
      762ce5d1
    • Guillaume Roguez's avatar
      build: fix v4l2 build with system installed ffmpeg · bd90c365
      Guillaume Roguez authored
      Missing ffmpeg/libav build flags in v4l2 Makefile.
      This fix the build of this last when deps are installed
      on system (i.e. using contrib, where the path doesn't contain
      the implementation name).
      
      Change-Id: I966e501ddfdeba95a87ff89ee77faa4938ebe15d
      Tuleap: #1058
      bd90c365
  26. 28 Sep, 2016 1 commit
    • Adrien Béraud's avatar
      android: build with clang · ac44cbaa
      Adrien Béraud authored
      * adapt contrib flags for clang
      * fix pjsip using CFLAGS to compile c++
      * fix minor OpenSL issues
      
      Change-Id: I8c45441052fb5efef44d54a3cb6f75407e543b7b
      Tuleap: #575
      ac44cbaa