Skip to content
Snippets Groups Projects
  1. Jan 15, 2018
    • Philippe Gorley's avatar
      accel: refactor and speed up fallback · ecf3e901
      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
      ecf3e901
  2. Jan 12, 2018
    • Andreas Traczyk's avatar
      ios: add video implementation · cbff7d98
      Andreas Traczyk authored
      - adds a slightly altered version of the android video implementation,
        as a swift AVFoundation implementation will be used in the ios client
        to enumerate the video input devices.
      
      Change-Id: I7c16fc39c5d22e54fb146881150b6cbcfddb7806
      cbff7d98
    • Philippe Gorley's avatar
      video: clean up video_rtp_session · c27d2135
      Philippe Gorley authored and Adrien Béraud's avatar Adrien Béraud committed
      Replaces empty methods and std::bind calls with lambdas.
      
      Change-Id: I0d9c876a9ba0bbdc6a77a85e0e2d75766312f952
      c27d2135
  3. Jan 11, 2018
  4. Jan 10, 2018
  5. Jan 09, 2018
  6. Jan 08, 2018
  7. Jan 05, 2018
  8. Jan 03, 2018
    • Guillaume Roguez's avatar
      make TlsSession great again · bdafdfb4
      Guillaume Roguez authored
      
      Or at least independant of underlaying transport...
      
      To make TlsSession able to handle both TLS and DTLS
      this patch removes the ICE dependency and replace is
      by the generic network ABC class 'GenericTransport'.
      As a first step this class is declared in tls_session.h.
      Side effects of this change are:
      
      * refactoring of PMTUD procedure: 'MTU' for gnutls has the meaning
        on 'payload-for-gnutls' so this information is now drived by
        the generic transport and not hardcoded anymore.
        The minimal value of probing remains hardcoded, as is a minimum
        given by RFC's documentation and it's based on an IPv4 packet
        associated with UDP protocol.
      
      * getMtu() is now maxPayload() and represent correctly what
        the application must have.
      
      * TlsSession implements itself GenericTransport: we can chain
        GenericTransport instances to construct an overlayed transport
        protocol.
      
      * TlsSession is now considered as non thread-safe for its public API.
        Caller must bring itself this property.
        This permit to remove a redundant mutex in send() operation.
        Note: and it's the case in the only user (SipsIceTransport),
        that why the mutex is redundant in 100% of cases.
      
      Notice the benefit of this genericity refactoring let us
      write a unit-test for this TlsSession class without having
      an heavy ICE transport to mock-up.
      
      Also ICE transport gained of this by adding a new IceSocketTransport
      to replace IceSocket in a near future (need async IO in GenericSocket,
      but not required for the moment).
      
      Change-Id: I6f4591ed6c76fa9cb5519c6e9296f8fc3a6798aa
      Reviewed-by: default avatarOlivier Soldano <olivier.soldano@savoirfairelinux.com>
      bdafdfb4
    • Alexandre Lision's avatar
      android: Move jni to daemon · 2dee5360
      Alexandre Lision authored
      
      Move all JNI file sources to the daemon. Ring Android client will use
      this files to generate the final libring.so including the
      ring_wrapper.cpp
      
      Change-Id: I4e800bb1d33b5905c715054d1718c0bdb3fc1d55
      Reviewed-by: default avatarGuillaume Roguez <guillaume.roguez@savoirfairelinux.com>
      2dee5360
  9. Jan 02, 2018
    • Guillaume Roguez's avatar
      fixup for sip_utils · cb1ba72f
      Guillaume Roguez authored
      fix for patch:
      0f524801 PJSIP support to std::error_code and std::system_error
      
      pj_strerror crashes on due to wrong given string size.
      
      Change-Id: I8d68b885ce0d587b27e8b361c9ad60019ed355fb
      cb1ba72f
    • Guillaume Roguez's avatar
      PJSIP support to std::error_code and std::system_error · 0f524801
      Guillaume Roguez authored
      Some practical C++ additions:
      * class PjsipErrorCategory as error category for std::error_code.
      * class PjsipFailure inheriting from std::system_error exception.
      
      Change-Id: I957cd36d06cf49ae98cb6634f5e4d5dcac666be8
      0f524801
  10. Dec 31, 2017
  11. Dec 28, 2017
  12. Dec 21, 2017
  13. Dec 20, 2017
  14. Dec 19, 2017
  15. Dec 18, 2017
  16. Dec 13, 2017
    • Adrien Béraud's avatar
      encoder: use max 16 threads for video, 4 for audio · d08826f0
      Adrien Béraud authored
      Audio encoding is usually mono-threaded and doesn't require
      as much CPU as video encoding. Limit to 4 threads since more
      would not be useful and might introduce latency and decrease performance.
      
      Video encoding takes significantly more resources, however for live encoding,
      using more than 16 threads might introduce unreasonable latency.
      Since new customer CPUs (AMD Ryzen and Intel Core i7/i9) now have
      more than 16 logical cores, setting a higher bound of 16 threads.
      
      Change-Id: I5dc2d3f51019c563b8cec3fbddffa13cbafdb9a5
      d08826f0
  17. Dec 12, 2017
  18. Dec 08, 2017
    • Andreas Traczyk's avatar
      build: fix secp256k1 arm64 build · ba9f49b0
      Andreas Traczyk authored
      - Adds CFLAGS to make command for secp256k1 build when building for
        iPhoneOS(arm64) as the configure script ignores the SDK parameter
      
      Change-Id: Id57933d8776e7c348a0c37bae508fe61161e4151
      ba9f49b0
  19. Dec 07, 2017
  20. Dec 06, 2017
  21. Dec 05, 2017
Loading