1. 18 Sep, 2015 4 commits
    • Alexandre Lision's avatar
      compilation: fix warnings · 8d9028f6
      Alexandre Lision authored
      Add override marker to explicit from where functions come from
      
      Issue: #80598
      Change-Id: I957afd713de22016220786145471d87c211064c8
      8d9028f6
    • Adrien Béraud's avatar
      audiolayer: prevent double-init · 6aeafbd0
      Adrien Béraud authored
      Issue: #80355
      Change-Id: I8d0a1c0391aa33b9c01e3cd1f1ed315e1a68fe14
      6aeafbd0
    • Éloi Bail's avatar
      contrib/ffmpeg: add rtpdec traces · a4e58ada
      Éloi Bail authored
      This patchset adds information about jitter buffer used in rtpdec.
      The first patch prints as warning when jitter buffer is full.
      The second patch prints as verbose jitter buffer size set by default in
      libav headers or by application.
      The third patch prints as waring when max delay on jitter buffer is
      reached
      
      Those traces are helpful to know the origin of decoding issues.
      Indeed a jitter buffer full or a max delay reached will lead to packet
      reordering failure and then to video decoding failure.
      
      Issue: #80483
      Change-Id: I7f123f04fe67c279391f153db5ea6f472759f8b2
      a4e58ada
    • Éloi Bail's avatar
      contrib/libav: add rtpdec traces · bd9f1426
      Éloi Bail authored
      This patchset adds information about jitter buffer used in rtpdec.
      The first patch prints as warning when jitter buffer is full.
      The second patch prints as verbose jitter buffer size set by default in
      libav headers or by application.
      The third patch prints as waring when max delay on jitter buffer is
      reached
      
      Those traces are helpful to know the origin of decoding issues.
      Indeed a jitter buffer full or a max delay reached will lead to packet
      reordering failure and then to video decoding failure.
      
      Issue: #80483
      Change-Id: I1351e9b607fd2ffa1223209389cfdb6162c9c93b
      bd9f1426
  2. 17 Sep, 2015 4 commits
    • Éloi Bail's avatar
      tools/dringctrl: select codecs to use in config · 38e050c4
      Éloi Bail authored
      Add of audio and video codecs selection in config
      
      Issue: #80498
      Change-Id: Ic10a6f2894cec9732b7fbbe3a76ccdd3c4bb858a
      38e050c4
    • Éloi Bail's avatar
      media: tune decoder jitter buffer · 90dbad37
      Éloi Bail authored
      This patchset allows ring application to tune 2 parameters of
      libav jitter buffer:
      - buffer size: maximal amount of packets to be queued
      - packet delay: maximal amount of time a packet can be queued
      
      Tuning those values allows correct handling of packet reordering issues
      and network jitter.
      Notice that for the moment default libav values are set.
      
      Issue: #80311
      Change-Id: Ife4be65a12a01e381bc952b07741104f9a969213
      90dbad37
    • Éloi Bail's avatar
      tools: use config file for dringctrl.py · bc8615c0
      Éloi Bail authored
      Use a config file (test_config.ini) to configure test environnement
      test_config.ini is provided as example
      
      Issue: #80498
      Change-Id: If0613d2264412af50e42f0a0eb151ecf741cbab4
      bc8615c0
    • Éloi Bail's avatar
      tools: refactor automatic call test tool · 9b3f4a27
      Éloi Bail authored
      Refactor of automatic call test tool
      Now do ./dringctrl --help : all test name will be listed
      ./dringctrl --test <testName> to execute a test
      
      Issue: #80498
      Change-Id: I86d16e7d96f04f040133f16856ba9ca8a061374d
      9b3f4a27
  3. 16 Sep, 2015 1 commit
    • Éloi Bail's avatar
      media: add libav default traces to warning · 6432f74f
      Éloi Bail authored
      Default trace level is ERROR. In order to investigate
      video decoding issues, I change it to WARNING
      After stabilisation, we should reset it to ERROR.
      
      Issue: #79686
      Change-Id: I2e77e1759e46748ddbef6f6a60c6cba55c4d0a41
      6432f74f
  4. 15 Sep, 2015 3 commits
  5. 14 Sep, 2015 2 commits
  6. 12 Sep, 2015 1 commit
    • Éloi Bail's avatar
      media_decoder: increase jitter buffer size · 1cb755ae
      Éloi Bail authored
      jitter buffer size is by default equal to 10.
      We see often packets reordering (on internet) that can not be managed
      by jitter buffer sized to 10. We increase the jitter buffer size to 30.
      
      Notice that it would lead to more latency and thus potentially to
      desynchronisation
      
      Issue: #80311
      Change-Id: I8e6ba6faea2be74602c5e63fded1b0d896c7a847
      1cb755ae
  7. 11 Sep, 2015 2 commits
    • Stepan Salenikovich's avatar
      im: use pjsip api to create and parse messages · b7ee00ee
      Stepan Salenikovich authored
      This supports both simple and multipart content types.
      
      *WARNING* the daemon API has not changed; however the previous
      implementation was not RFC compliant and thus messages sent from or
      received by a previous version of the daemon will not be interpreted
      correctly. Additionally the behaviour of the API has slightly changed.
      It will no longer split multiple message pairs received in the
      map<string, string> into multiple, separate SIP messages if they do not
      all fit into one. If there is only one pair in the map, then a message
      with a single content-type will be created and sent. If multiple pairs
      exist, then a multipart/mixed type message will be created. If the
      created message is too large to be sent, then no parts will be sent.
      
      Support for storing the URI of the original sender is dropped for now as it
      was not being used by the clients and the implementation was buggy.
      
      The APIs for creating XML recipient lists as defined by RFC 5365 remains
      but is no longer used for now.
      
      Issue: #79657
      Change-Id: I2b00cbd797fbb423ee0a7eb24748d2362e9f9ff8
      Signed-off-by: Guillaume Roguez's avatarGuillaume Roguez <guillaume.roguez@savoirfairelinux.com>
      b7ee00ee
    • Guillaume Roguez's avatar
      utils: c++11'ify RING_ARRAYSIZE and CONST_PJ_STR macros · 6f868d66
      Guillaume Roguez authored
      Macros (C relica) are easly transformed into C++ using constexpr.
      Using template provides type-safe.
      
      RING_ARRAYSIZE becomes arraySize.
      CONST_PJ_STR has been also moved into sip_utils.
      
      Issue: #79703
      Change-Id: Ic197f53bbfeba363f0609908fa680f18529f8075
      6f868d66
  8. 04 Sep, 2015 5 commits
    • Éloi Bail's avatar
      rtp: ensure to synchronously update seq number · db771a00
      Éloi Bail authored
      When bitrate is changed, new RTP session created must rely
      on RTP sequence of previous RTP session in order to provide
      continous sequence numbers.
      This patchset ensures to keep last RTP sequence updated correctly
      ensuring that no new packet will be sent when bitrate change is performed.
      
      Issue: #80058
      Change-Id: Ia7fbecd19aa0ec648327307de3ce3f8eace163a0
      Signed-off-by: Guillaume Roguez's avatarGuillaume Roguez <guillaume.roguez@savoirfairelinux.com>
      db771a00
    • Guillaume Roguez's avatar
      socket_pair: fix system socket · 549fd8fc
      Guillaume Roguez authored
      This patch tries to fix read errors on system socket when
      no data available.
      
      Issue: #80094
      Change-Id: I7306bb32402983a939e9eca6cc4dbcc4d854685c
      549fd8fc
    • Éloi Bail's avatar
      daemon: decrease default video bitrate · fefe9316
      Éloi Bail authored
      Decrease default video bitrate from 800 to 250 to adapt to slow connections
      
      Issue: #79686
      Change-Id: I5db1a8de025073a617ae5a2ff37c199a14354476
      fefe9316
    • Éloi Bail's avatar
      daemon: decrease RTP payload max size · 53297a6d
      Éloi Bail authored
      RTP packet maximum size must rely on maximum MTU size.
      Networks such as ADSL include PPPoE header that reduce maximum
      payload size.
      Notice that packets higher than MTU would lead to fragmentation
      by routers. With high bitrates in video, we want to avoid that.
      
      This patch proposes to reduce the maximum UDP payload size allowed
      to RTP to a value safe for PPPoE MTU.
      
      This value has been computed as follow:
      
      Ethernet MTU          = 1500 bytes
      PPPoE headers        -= 8
      IP headers           -= 24
      UDP headers          -= 8
      ----------------------------------
      Total for RTP payload = 1460 bytes
      
      Issue: #80080
      Change-Id: Ibc8d5943017f3cea3ac6e1f17f90a85f06755ebe
      53297a6d
    • Damien Riegel's avatar
      android: Fix logger by redefining LOG_FORMAT · 60ba1a74
      Damien Riegel authored
      FILE_NAME is not const char*, it cannot be concatenated with the format
      string at compile time, do it at runtime.
      
      Issue: #79812
      Change-Id: I9a0a3da4c0cbd66b23d32440509fc26cce0a0265
      60ba1a74
  9. 03 Sep, 2015 3 commits
  10. 02 Sep, 2015 4 commits
  11. 01 Sep, 2015 2 commits
  12. 31 Aug, 2015 1 commit
    • Éloi Bail's avatar
      daemon: force keyframe rate on encoder at 5 seconds · 87624f98
      Éloi Bail authored
      Some codecs, as h264, use a default keyframe rate based on frame count.
      As example, on h264 this rate is one IFrame each 250 frames.
      So this rate is sensible to fps changes, that ofen happens with
      output type (images, frame size, screen casting, etc).
      Using a rate based on fps seems more viable solution.
      
      Moreover, in order to handle video artifacts in case of missed packets,
      we want to send more keyframes so that artifacts will be seen for
      a shorter period.
      
      Note: the drawback of this solution is an average bitrate higher than
      before as I frames are bigger than P frames.
      
      Issue: #79690
      Change-Id: I0b9daef8723c84b5998c9eb156d1e73538e8abed
      Signed-off-by: Guillaume Roguez's avatarGuillaume Roguez <guillaume.roguez@savoirfairelinux.com>
      87624f98
  13. 28 Aug, 2015 4 commits
  14. 27 Aug, 2015 1 commit
    • Guillaume Roguez's avatar
      sip: fix display name parsing and saving · 9cc58d13
      Guillaume Roguez authored
      This patch parses optional display name that can be seen in From
      and Contact SIP headers, for incoming calls.
      Fallback on Contact header is made if From header is empty.
      
      This also send the local display name in From header for outgoing
      calls.
      
      Issue: #77375
      Change-Id: Iaef5e0e728a74427f3ced7efd947d09be91c0ac3
      9cc58d13
  15. 25 Aug, 2015 3 commits