1. 28 May, 2018 1 commit
  2. 24 May, 2018 3 commits
  3. 22 May, 2018 1 commit
  4. 16 May, 2018 1 commit
  5. 15 May, 2018 2 commits
  6. 14 May, 2018 1 commit
    • Philippe Gorley's avatar
      encoder: merge common encoding code · 43f22d20
      Philippe Gorley authored
      Refactors out the common code from video and audio encoding/flushing
      into a single method. This reuses code instead of duplicating it.
      
      The method is public in the hopes of being able to reuse MediaEncoder
      elsewhere in the codebase.
      
      Allow caller to specify the stream index for the future case that the
      AVFormatContext contains multiple streams (recording video and audio).
      
      Change-Id: Ieae52bc453ef66d141a40819ca10fedbd38d9a86
      Reviewed-by: Sébastien Blin's avatarSebastien Blin <sebastien.blin@savoirfairelinux.com>
      43f22d20
  7. 12 May, 2018 1 commit
  8. 11 May, 2018 2 commits
  9. 10 May, 2018 2 commits
  10. 09 May, 2018 4 commits
  11. 08 May, 2018 1 commit
    • Philippe Gorley's avatar
      media: add filters · ea2933d4
      Philippe Gorley authored
      Adds dependency to libavfilter, which provides many useful utilities
      such as hardware encoding, mixing audio or rotating video.
      
      Access to libavfilter is done through the MediaFilter class, which takes
      a filter graph string and AVFrames as input and outputs filtered
      AVFrames.
      
      Adds unit tests for MediaFilter.
      
      Change-Id: I0bf3869a9f19ad9cbbe1fc5e2d37eb83ece66ccc
      Reviewed-by: Sébastien Blin's avatarSebastien Blin <sebastien.blin@savoirfairelinux.com>
      ea2933d4
  12. 07 May, 2018 5 commits
    • Philippe Gorley's avatar
      test: ignore generated config file · 5b60066f
      Philippe Gorley authored
      Some unit tests generate a dring configuration file. Have git ignore it
      so it is not accidentally added to the repo.
      
      Change-Id: I6f491d1c4f49606e9fa4d0dc42324919cd88c7ce
      5b60066f
    • Philippe Gorley's avatar
      media: use av_find_best_stream · 524daf8d
      Philippe Gorley authored
      Change-Id: I6ab8a0078f7b67b2342859e216ab4ff02d721736
      Reviewed-by: Sébastien Blin's avatarSebastien Blin <sebastien.blin@savoirfairelinux.com>
      524daf8d
    • Adrien Béraud's avatar
      pjsip: use ring log methods · ebd3e4b8
      Adrien Béraud authored
      Allows to get PJSIP logs on Android, where stdout is not logged.
      
      Change-Id: I6db7734dd608f3c8085bc7ed6cf0341ff3c9c787
      Reviewed-by: Sébastien Blin's avatarSebastien Blin <sebastien.blin@savoirfairelinux.com>
      ebd3e4b8
    • Sébastien Blin's avatar
      datatransfer: add a 10 minutes timeout when awaiting peer · 1bebb458
      Sébastien Blin authored
      Currently, when a file is sent, the peer needs to accept the transfer.
      So, connections with this peer will be opened until the peer accepts or
      not the file. Since the multi-device support, it's a problem because
      the peer has to accept/refuse the transfer on each devices.
      
      To avoid to leave unused connections while we are using the turn,
      we need to close these connections. This patch add a timeout to
      outgoing file transfers. So, after 10 minutes with the status
      awaiting peer, the connection is closed and the transfer canceled.
      
      NOTE: the peer will still see the awaiting_host status even if the
      connection is closed, but it's a known bug and it will need a major
      change of the blocking startNewFile function in FtpServer.
      
      Change-Id: Ic6e3a2bfebad92cc5c64f5ac2355c3c3765752c9
      Reviewed-by: Philippe Gorley's avatarPhilippe Gorley <philippe.gorley@savoirfairelinux.com>
      1bebb458
    • Sébastien Blin's avatar
      datatransfer: multi devices support when sending files · 55be1e14
      Sébastien Blin authored
      With the current implementation, when a user send a file to a contact
      who got several devices connected, a request will be sent to all of
      these devices and the first which answer will get the transfer. So,
      a user can't know on which device they will get the file.
      
      With this patch, in the same configuration the peer will receives
      the file on all of its devices and add the possibility to accept
      or refuse the file. To avoid to see multiple file transfers because
      a peer has several devices, I introduced a OptimisticMetaOutgoingInfo
      which represents the best current state of the transfer (for example,
      if one subtransfer is ongoing and one failed (cause refused) it will
      show the outgoing one).
      
      This is an ongoing work, in the near future we must:
      + Give the ability to clients to see the real status of each
      subtransfer (with the ability to cancel/retry transfer by devices)
      + Add a timer to close awaiting transfers to avoid to let a unused
      connection for too long.
      
      Change-Id: I84eb243bff2bfdc087a83dd7eced45c361f27d16
      Reviewed-by: Philippe Gorley's avatarPhilippe Gorley <philippe.gorley@savoirfairelinux.com>
      55be1e14
  13. 01 May, 2018 1 commit
  14. 26 Apr, 2018 2 commits
  15. 24 Apr, 2018 3 commits
  16. 23 Apr, 2018 1 commit
  17. 22 Apr, 2018 2 commits
  18. 21 Apr, 2018 1 commit
  19. 20 Apr, 2018 3 commits
    • Sébastien Blin's avatar
      message cache: change failure status after one minute · bdf1b3d8
      Sébastien Blin authored
      Before this patch a message got a failed status after 3 minutes
      (3 retries x 1 min). Moreover, if no devices was found, the message
      is keeped in the cache and wait for the next reboot. So it results in
      extremely long sending status, which is not really useful for the user.
      
      With this patch, the message fails to send after approximately one
      minute, if the user is connected and we do not receive an answer
      or if no device is found.
      
      Change-Id: I41171be2ebfebc424f96b4a4d42c360ad35ede86
      bdf1b3d8
    • aviau's avatar
      ring-client-gnome -> gnome-ring · c8578809
      aviau authored
      Refer to the actual gnome-ring executable name
      in the dring manpage.
      
      Change-Id: I8a32c1c1124f10532fc824cafeb0a820cf01e571
      c8578809
    • Hugo Lefeuvre's avatar
      fix: global buffer overflow in pjlib · e8f99381
      Hugo Lefeuvre authored
      Change-Id: I57b749e9f7819710a691eaa2839092e04dc86fcc
      e8f99381
  20. 19 Apr, 2018 1 commit
  21. 17 Apr, 2018 1 commit
  22. 13 Apr, 2018 1 commit