1. 29 Jul, 2015 2 commits
  2. 28 Jul, 2015 1 commit
  3. 27 Jul, 2015 1 commit
  4. 24 Jul, 2015 3 commits
  5. 23 Jul, 2015 4 commits
    • Guillaume Roguez's avatar
      alsalayer: fix too long blocking AlsaThread when joining it · ab614cdc
      Guillaume Roguez authored
      AlsaThread calls AlsaLayer::openDevice() that may block 10s
      if alsa device is busy. And this call is done 3 times!
      It's a problem if it occures during thread join(), made at call hangup
      for examble, blocking all the application until the thread die.
      This patch reduces the timeout of openDevice to 2s and check
      if thread exit is requested at each retry.
      Issue: #75538
      Change-Id: I3affa3869d039393677b57d2c9456f2ff1405264
    • Guillaume Roguez's avatar
      alsalayer: use smart pointer to handle heap allocation · b42da5db
      Guillaume Roguez authored
      Use std::unique_ptr to handle AlsaThread allocation
      Issue: #75538
      Change-Id: I51c4dff4574e53bacb8e16f6400d0add42e53d14
    • Adrien Béraud's avatar
      temporarly disable IPv6 in OpenDHT · 53a89ab8
      Adrien Béraud authored
      Issue: #78052
      Change-Id: I03cb4a9c8c726d9a783aeb098366c3db4ba54833
    • Guillaume Roguez's avatar
      tls/ice transport: prevent deadlock in TLS/ICE thread · 386fa0d4
      Guillaume Roguez authored
      Remove the wait on rxPending_ empty queue event
      in TLS thread cleanup as this event has to be trigged
      by handleEvent() code, but this last is called by mainloop only,
      and this lst is waiting about TLS thread end by a join()... deadlock!
      Issue: #77682
      Change-Id: I895f09af51deb8bab36c3c6511606586341e2783
  6. 22 Jul, 2015 8 commits
    • Guillaume Roguez's avatar
      sipvoiplink: make memory pool a class member, not a global · 48a5ed6b
      Guillaume Roguez authored
      Issue: #76205
      Change-Id: I2835c362462493d35106f7da18594e391cfe9a89
    • Adrien Béraud's avatar
      api: support private key password · 401213a4
      Adrien Béraud authored
      WARNING: Public API changes:
      - ConfigurationManager::validateCertificatePath()
      - ConfigurationManager::getCertificateDetailsPath()
      Issue: #76890
      Change-Id: I89f0691b9cc21eb853fbe5b4397853c05c5eefd2
    • Guillaume Roguez's avatar
      account: fix parseInt template · c382a7e4
      Guillaume Roguez authored
      Incorrect template function prototype.
      Error introduced by commit 8700cae2.
      Issue: #76374
      Change-Id: I18509836d4dab2f14a650a3a6a420133fb201679
    • Adrien Béraud's avatar
      tlsvalidator: support private key password · 83419a01
      Adrien Béraud authored
      OpenDHT version also updated to bring decryt error exception.
      Refs #76890
      Change-Id: Ib9cffb625fc71b573992eb61ea6b0063317514c5
    • Guillaume Roguez's avatar
      media: refactor live bitrate change · ad477a2f
      Guillaume Roguez authored
      This refactoring improves user experience, fix an issue and simplify code.
      - less exposed "internal" stuff (RTP sequence value)
      - don't expose internal business logic to upper layers.
      - remove uneeded full media restart: only media_encoder is restarted
      - fixed non protected shared access to codec isRunning value causing
        a race condition on access and good design practices violation
        (tight coupling between unrelated classes).
      Refs #77483
      Change-Id: Idb1e3940601ff0d483e7721f627a0c8dd766f844
    • Guillaume Roguez's avatar
      media: prevent incorrect down-casting · e8475cd7
      Guillaume Roguez authored
      MediaEncoder::setOptions was contained a forced down-casting
      from AccountCodecInfo to AccountAudioCodecInfo but the codec
      may be also an Account7ideoCodecInfo.
      Refs #77483
      Change-Id: Ib5dc4b9834280e418163ed735f3a8d92f0d2a88f
    • Guillaume Roguez's avatar
      call: states refactoring · 4d3c4439
      Guillaume Roguez authored
      This is a major patch about refactoring all CallState/ConnectionState
      over call and subclasses.
      Please read carefully this message, it's about how to use the code.
      First, this patch brings a central way to store both Call class states
      members: only Call::setState() (and overloaded) has to be used now.
      De-facto we use it to emit to the client the StateChange call signal,
      and remove this emit spread over the code. A check is also made
      to not emit it if the resulting client state doesn't change for
      the given CallState/ConnectionState input pair.
      So using this signal elsewhere is stricly forbidden now.
      Then, a code cleanup has been made to had missing setState() calls
      and check the global business logic about these states changes.
      I hope this cleanup is correct (almost as good as before).
      State transaction logic is, as before, checked by Call::validTransition.
      Please modify it if state machine needs to be changed.
      Also modify Call::getStateStr() to implements daemon->client
      translated state machine.
      Note: no API changes in this patch. Only behavior changes.
      Refs #76646
      Change-Id: Iecaedc2cad89b9afdc886f978bbf5f247cbe36bb
      Signed-off-by: Guillaume Roguez's avatarGuillaume Roguez <guillaume.roguez@savoirfairelinux.com>
    • Guillaume Roguez's avatar
      ice: fix PJ_EBUSY error not handled during send op · be51f9cd
      Guillaume Roguez authored
      This fixes a media encoding fatal failure due to ice ioqueue
      not polled enough (as poll thread != write thread).
      This is fixed by modifying errno in ice send method and use it
      correctly in socketpair (media layer).
      Refs #77903
      Change-Id: I0ca51be356df02294b3d1857a1533518fb902465
  7. 21 Jul, 2015 3 commits
  8. 18 Jul, 2015 1 commit
  9. 17 Jul, 2015 3 commits
  10. 15 Jul, 2015 4 commits
    • Emmanuel Lepage Vallee's avatar
      instantmessages: Support multi payload messaging · b8968cff
      Emmanuel Lepage Vallee authored
       * A new signal to receive multiple payloads
       * Send the message as both html and text
       * Parse MIME format to extract all payloads
       * Send messages with multiple payloads
      WARNING: This commit break the API
      To restore the old behavior, users of sendTextMessage should
      use the "text/plain" MIME type.
      Refs #77651
      Change-Id: Ic20c0cea48ba5d7ec625e69cd87eeffc1fdbe759
    • Éloi Bail's avatar
      daemon: emit signal when media parameters changed · aa782278
      Éloi Bail authored
      User is able to change media parameters / account.
      When a new parameter is set in daemon, a signal would be helpful to notify UI
      to refresh its media information.
      This patchset adds signal mediaParametersChanged broadcast if a new media
      parameter is succesfully set in daemon. AccoundID is also specified in
      Refs #77483
      Change-Id: I2efc0b260da5774fa56cda74f64c8dec209552df
    • Éloi Bail's avatar
      daemon: change bitrate in live · 3939750f
      Éloi Bail authored
      If user changed codec parameters such as bitrate using dbus API, audio and
      video codec will be automatically restart with up-to-date parameters.
      Audio and video ports previously negotiated on the previous media session will
      stay the same. In order to avoid dropped framed, RTP sequence number from
      previous session will be reused. Thus new session will use continuous sequence
      Refs #77483
      Change-Id: Idce0f8b3a0537f0db6def054cfdb8765440d2cd7
    • Adrien Béraud's avatar
      certstore: find issuer by name or UID · b44f84d2
      Adrien Béraud authored
      Refs #77556
      Change-Id: I3cef9fa8fde04a313f17a1e4576ec1d3e59b9fc3
  11. 14 Jul, 2015 1 commit
  12. 13 Jul, 2015 5 commits
  13. 10 Jul, 2015 4 commits