1. 20 Jun, 2017 1 commit
    • Guillaume Roguez's avatar
      contrib: oversize PJ_ICE_MAX_CAND to prevent crash · ec7f6574
      Guillaume Roguez authored
      PJ_ICE_MAX_CAND was 32 (already increased from 16, value from upstream)
      and it's not enough to handle cases with numerous local/remote candidates
      like the case when multiple hosts in IPv6 and IPv4 exists.
      The value is increased to 256, I hope it's enough...
      (my tests show I need 40 entries with 5 local host IPs)
      Change-Id: I28aba472a5c19497cbe64b764084841ff1b9e212
      Tuleap: #1601
  2. 17 Jun, 2017 2 commits
  3. 16 Jun, 2017 1 commit
    • Guillaume Roguez's avatar
      video: use VBV+CRF encoding setup for H264 · 07b523bf
      Guillaume Roguez authored
      Following suggestions from [1] for live streaming
      this patch changes the H264 encoding setup to use
      a VBV (constrained encoding) + CRF (constant rate factor).
      This fixes the high limit of the output stream bitrate
      as a priority over the quality as for a live streaming
      the bitrate as a high impact on packet loss.
      Also increase the default maximal bitrate to 1000kbit/s,
      as it's almost a upload bitrate standard today.
      And the maximal bitare is increased to 3000kbit/s for thus
      with a good network.
      [1] http://slhck.info/video/2017/03/01/rate-control.html
      Change-Id: I7b38e54b45e55e7acc48cd40c354672b6507f9fd
  4. 15 Jun, 2017 3 commits
    • Guillaume Roguez's avatar
      dht/ice: swap IPv4 vs IPv6 dht address priority · 89c44493
      Guillaume Roguez authored
      Use IPv4 over IPv6 if both available from DHT.
      IPv6 are less NAT'ed so using host addresses is enought to establish
      connection over IPv6.
      But it's not the case for IPv4 and must be given in priority if available
      over IPv6 addresses.
      Change-Id: Ia7243f415ebaf81208e175b6f5e704263b7594fd
    • Guillaume Roguez's avatar
      contrib: fix random crash due to pjproject assert · 485ec759
      Guillaume Roguez authored
      Many functions in pjproject check for calling thread
      and assert if this one is not previously registered
      by the application.
      This is the case of pj_log and this function can be called anywhere
      at anytime, as our gnutls patch uses it for logging TLS error.
      Our log function in our patch has not to be done as it calls
      a log register function reserved for the final application, not library.
      As a result of this, our tls session code, where a thread
      is not registered to pjproject, may call pj_log a causes
      an application.
      This patch removes the logging stuff into our gnutls pjproject patch.
      If logging needed, it must be implemented by the Ring daemon code
      with ad-hoc automatic thread registration.
      Change-Id: If8f9d86258473ac43c0456b514cc3a078fc18fd2
    • Adrien Béraud's avatar
      ringaccount: add created device to known device list · d19032de
      Adrien Béraud authored
      The "Ring device" creation routine generates a new device and sets the
      default name for the device, however this device was not added to the
      known device list.
      This caused the new device to not be in the known device list or to not
      have the right name set for device sync or to show to clients.
      Now add a new created device to the know device list in the device
      creation routine.
      Change-Id: Ifce61009c59aececd106d8985c45039748c0bc3e
      Reviewed-by: Andreas Traczyk's avatarAndreas Traczyk <andreas.traczyk@savoirfairelinux.com>
  5. 14 Jun, 2017 2 commits
    • atraczyk's avatar
      ip_utils: add GetDeviceName signal · e6127d12
      atraczyk authored
      Add signal to retrieve the device name on platforms where it must be
      acquired client-side.
      createRingDevice now gets the device name from getDeviceName, which
      uses the GetDeviceName signal on Android, iOS, and UWP builds, and
      otherwise getHostname for the GNU/Linux, win32, and MacOSX builds.
      Change-Id: I81013afdd5d51f3cbd518dca22a4cfdc03f94c59
    • Philippe Gorley's avatar
      dbus: correctly expose hardware acceleration · 2cdc662a
      Philippe Gorley authored
      Hardware acceleration was not correctly exposed through the dbus
      Change-Id: I93dcf14f2a19a6ce768b8ac9799e5f96a8eaa44d
  6. 09 Jun, 2017 2 commits
  7. 08 Jun, 2017 1 commit
    • Philippe Gorley's avatar
      dring: expose hardware acceleration · 530ab2a9
      Philippe Gorley authored
      Adds a function in the dring API to query and set use of hardware
      acceleration. This will let clients set via GUI instead of only
      through dring.yml
      Change-Id: I94ec612398d89b960fa091c9aebabbbc5ad4acbd
  8. 07 Jun, 2017 2 commits
  9. 06 Jun, 2017 2 commits
    • Olivier SOLDANO's avatar
      change win32 logger for better readability · 0eb462a8
      Olivier SOLDANO authored
      higten the colors, and reduce the size of the file paths
      to fit in the fixed size window of win32 debug
      Change-Id: I9b0d167b5f6b8ebdc74937129c31c7a828320bcf
      Reviewed-by: Andreas Traczyk's avatarAndreas Traczyk <andreas.traczyk@savoirfairelinux.com>
    • Adrien Béraud's avatar
      ringaccount: save registered name in configuration · 16133a06
      Adrien Béraud authored
      Use the account configuration to store the registered name,
      allowing to know the account registered name for disabled accounts,
      before account registration happens,
      or if the name server is not reachable and the name cache
      was cleared.
      This allows to show the account registered name instead of
      the RingID more consistently in clients. The field is not
      authoritative as information from the name server always
      take precedence.
      Change-Id: Ief8725da57d609ce9bbaeda6b2d564638ea3b191
  10. 05 Jun, 2017 1 commit
    • Philippe Gorley's avatar
      video: mac hardware acceleration · bd02113e
      Philippe Gorley authored
      Adds VideoToolbox and VDA hardware accelerations. VideoToolbox
      supports H.264, H.263 and MPEG4, while VDA only supports H.264.
      VDA is implemented in case libav is used instead of FFmpeg, as
      only the latter implements VideoToolbox. This being said, Ring
      will prefer VideoToolbox.
      VideoToolbox is OSX 10.8+ and iOS 8+. VDA is OSX 10.6.3+.
      Both have their respective configure switches.
      Change-Id: I588fcbb92809a9d6a56bb9b6a7ac3a59874c0186
      Tuleap: #1090
      Reviewed-by: default avatarAnthony Léonard <anthony.leonard@savoirfairelinux.com>
  11. 02 Jun, 2017 8 commits
  12. 31 May, 2017 2 commits
    • Anthony Léonard's avatar
      coreaudio: fix buffer overflow on silence writing · b9869856
      Anthony Léonard authored
      The count argument passed to std::fill_n was in bytes instead of
      element's count (which are of Float32 type) so zeroes were written
      outside the scope of the audio buffer.
      This was causing crashes not on this instruction but anywhere in the
      application when a malloc call was checking for memory sanity (which
      isn't done on every allocation).
      Change-Id: Iec6fa9d3b00b828c6bf798c77419b8bad970d6e1
      Reviewed-by: Guillaume Roguez's avatarGuillaume Roguez <guillaume.roguez@savoirfairelinux.com>
    • Anthony Léonard's avatar
      osx: Set event polling to every 10ms in ringcli · 4c5d785a
      Anthony Léonard authored
      It was previously set to 1s which is too slow for other components
      such as OpenDHT which kept connecting/deconnecting. Moreover, this
      change was already made in the GUI client but the CLI one was
      forgotten at that time.
      Change-Id: Ifed007b90e9c2f9ccc01e11d90bc2d619bebd40c
  13. 30 May, 2017 4 commits
  14. 29 May, 2017 5 commits
  15. 26 May, 2017 2 commits
    • Alexandre Lision's avatar
      video: use ffmpeg on OSX · d0cb3378
      Alexandre Lision authored
      Switch to ffmpeg for video processing on OSX.
      FFmpeg provides hardware acceleration for video decoding
      Change-Id: I6f4a318e79871c8c9e798d213f1c9deeb80d7398
      Reviewed-by: Philippe Gorley's avatarPhilippe Gorley <philippe.gorley@savoirfairelinux.com>
    • Adrien Béraud's avatar
      sip: remove SipIceTransport · 4ff5367c
      Adrien Béraud authored
      SipIceTransport was a first implementation of a SIP
      transport working over an ICE transport.
      It was insecure and is now unused and unmaintained
      (last actual change is from February 2015),
      and deprecated by SipsIceTransport.
      Remove it from the code base to speed up compilation
      and avoid accidental usage by confusion with SipsIceTransport.
      Also fix minor warnings in SipsIceTransport
      (std::move of an rvalue).
      Change-Id: I7a8ce2c0570d92bfe8bd191f2f6c8c6f2b191980
      Reviewed-by: Guillaume Roguez's avatarGuillaume Roguez <guillaume.roguez@savoirfairelinux.com>
  16. 24 May, 2017 2 commits