Skip to content
Snippets Groups Projects
  1. Jan 03, 2022
  2. Dec 30, 2021
  3. Dec 28, 2021
  4. Dec 23, 2021
  5. Dec 22, 2021
  6. Dec 20, 2021
  7. Dec 17, 2021
  8. Dec 16, 2021
    • Sébastien Blin's avatar
      sipvoiplink: avoid to drop rotation's informations · c74375b3
      Sébastien Blin authored
      if videoRtp is not initialized, the information is dropped. So,
      it should be stored to avoid any drop of informations.
      Note: in the future the container should change, because rotation
      is currently applied to all video streams.
      
      Change-Id: I036ffe7b6a248a3d8d7defeff1be78e008447fbd
      GitLab: #678
      c74375b3
    • Mohamed Chibani's avatar
      SDP - set media direction according to mute state · a887b2de
      Mohamed Chibani authored and Sébastien Blin's avatar Sébastien Blin committed
      Currently, the media attribute in the SDP is always set to
      'sendrecv' regardless of the mute state of the media.
      In this patch, media direction will be set according to mute
      state of the media.
      Note that this only applies if the mute/unmute requires media
      renegotiation (SIP re-invite with new SDP session). Currently,
      this only the case for video media. For audio, mute/unmute is
      done locally without SIP re-invite.
      
      References:
      RFC-3264
      RFC-4317 (non-normative)
      
      Gitlab: #645
      
      Change-Id: I604331255bd25dfe732e192039a673a0980105fa
      a887b2de
    • Sébastien Blin's avatar
      misc: remove dead code · dd700c31
      Sébastien Blin authored
      This code is unused since we introduced processRtcpChecker()
      
      Change-Id: If86295d885997c415e8f1681c6b9ad049c93de9e
      dd700c31
  9. Dec 15, 2021
    • Sébastien Blin's avatar
      videomanager: protect double video input creation · 40ee25ff
      Sébastien Blin authored
      getVideoInput is called in two different place:
      + openVideoInput from the client
      + VideoRtpSession::startSender() from the daemon
      Nothing is blocking both sides to do it at the same time.
      In this case, two VideoInputs can be created, causing the second
      one to fail because the device is busy (used by the first one)
      and causing weird results (i.e. sometimes the video is not shown).
      
      Change-Id: I23e34a95efe4972fbe111c19f0f0989f5e8ae8a9
      Unverified
      40ee25ff
    • Sébastien Blin's avatar
      opensl: fix incorrect injected buffer · ea97002a
      Sébastien Blin authored
      Sometimes, buffer with incorrect capacity were injected into
      the audio, causing the daemon to crash.
      Before the stream's split, stopStream was flushing the buffers.
      In this patch, stopStream will correctly re-init the buffers and
      avoid to inject incorrect buffer into the audio.
      Also, remove unused value in buf_manager.h and clean some warnings
      for log.
      Finally, modify engineServiceRing to avoid many push operations
      and make it similar to engineServicePlay
      
      Change-Id: I589cea814452d3dbf5172af6369e448dcd9d5c72
      GitLab: #676
      ea97002a
    • Kateryna Kostiuk's avatar
      video: fix screen sharing on macOS · 41eab75d
      Kateryna Kostiuk authored and Kateryna Kostiuk's avatar Kateryna Kostiuk committed
      Because media encoder flush() involves encoding we should change
      initialized flag after calling flush(), otherwise, it could lead to
      new stream initializing.
      
      jami-client-macos#299
      
      Change-Id: I88d5648a6f252bd78776f505f891f09a4e5b12e1
      41eab75d
    • Aline Gondim Santos's avatar
      misc: fix typo · 9c9d11e4
      Aline Gondim Santos authored and Sébastien Blin's avatar Sébastien Blin committed
      - tranport -> transport
      
      Change-Id: I1991ba7324c22625e8b6cdf568357e3ff6540557
      9c9d11e4
  10. Dec 14, 2021
  11. Dec 13, 2021
  12. Dec 10, 2021
  13. Dec 09, 2021
    • Sébastien Blin's avatar
      conference: fix current protocol issues · 440a71b4
      Sébastien Blin authored
      This patch fix 3 little issues:
      + "device" was always empty. Uses the transport to fill the device
      field. This will be used in the next version of the protocol.
      + raiseHand was bugguy in two ways:
          + It was only usable by moderators
          + Somebody was able to change the raiseHand for other peers
      
      Change-Id: I32bf37c5063973a5a5962dd8984c87fb05d33a3d
      Unverified
      440a71b4
  14. Dec 08, 2021
    • Sébastien Blin's avatar
      dbuscpp: uncomment check for version · ff37ad28
      Sébastien Blin authored
      Change-Id: I82bde67fed7a295e888c2ea8f96c6e4646f51e64
      ff37ad28
    • Kateryna Kostiuk's avatar
      screensharing: add framerate for macOS · b4167b17
      Kateryna Kostiuk authored and Kateryna Kostiuk's avatar Kateryna Kostiuk committed
      Change-Id: I2a22e80a8ea826641afef9a82bf3b17ca35fcaed
      b4167b17
    • Sébastien Blin's avatar
      media_encoder: avoid segfault on nullptr · dc71d87c
      Sébastien Blin authored and Mohamed Chibani's avatar Mohamed Chibani committed
      Caught by ut_media_encoder:
      
      READ of size 8 at 0x602000029818 thread T0
          #0 0x5649e914d6e0 in jami::MediaEncoder::send(AVPacket&, int) media/media_encoder.cpp:504
          #1 0x5649e914d05c in jami::MediaEncoder::encode(AVFrame*, int) media/media_encoder.cpp:480
          #2 0x5649e8cac119 in jami::test::MediaEncoderTest::testMultiStream() media/test_media_encoder.cpp:183
      
      outputCtx_->nb_streams can be different from encoders.size(), and if
      not checked can lead to a crash
      
      Change-Id: I3c0217ec3e1d50950bf46989e0dd6797fee8972e
      dc71d87c
  15. Dec 07, 2021
    • Adrien Béraud's avatar
      sink: avoid deadock during frame size change · feb26e47
      Adrien Béraud authored
      Lock was:
          frame #3: 0x00000074f22d0b74 libc++_shared.so`std::__ndk1::mutex::lock()
          frame #5: 0x00000074f2f91b10 libring.so`std::__ndk1::lock_guard<std::__ndk1::mutex>::lock_guard()
          frame #6: 0x00000074f3156d3c libring.so`jami::video::SinkClient::registerTarget() at sinkclient.h:80:37
          frame #7: 0x00000074f3154f74 libring.so`DRing::registerSinkTarget(sinkId="2920319278288091") at videomanager.cpp:527:15
          frame #8: 0x00000074f2f1dccc libring.so`Java_net_jami_daemon_JamiServiceJNI_unregisterVideoCallback()
          frame #45: 0x00000074f2f3491c libring.so`SwigDirector_VideoCallback::decodingStopped()
          frame #48: 0x00000074f319a480 libring.so`void jami::emitSignal<DRing::VideoSignal::DecodingStopped>() at ring_signal.h:66:13
          frame #49: 0x00000074f31993ec libring.so`jami::video::SinkClient::setFrameSize(this=0x00000074c298caa0, width=0, height=0) at sinkclient.cpp:482:9
          frame #50: 0x00000074f3199f74 libring.so`jami::video::SinkClient::update() at sinkclient.cpp:427:13
          frame #51: 0x00000074f316c69c libring.so`jami::Observable<std::__ndk1::shared_ptr<DRing::MediaFrame> >::notify() at observer.h:138:23
          frame #52: 0x00000074f31a7094 libring.so`jami::video::VideoGenerator::publishFrame() at video_base.cpp:56:5
      
      
      Change-Id: I1824bad767543a3e789e13af1489613a044a7473
      feb26e47
    • Adrien Béraud's avatar
      contrib: fix build without flock · 9c74ea2c
      Adrien Béraud authored and Sébastien Blin's avatar Sébastien Blin committed
      Change-Id: I274ed5b9b6f97b06e7a355b941f81f86c7816c24
      9c74ea2c
  16. Dec 06, 2021
  17. Dec 03, 2021
  18. Dec 02, 2021
  19. Nov 30, 2021
  20. Nov 29, 2021
    • Sébastien Blin's avatar
      multiplexed_socket: fix race condition on acceptation · 35e4cfce
      Sébastien Blin authored
      Because some callbacks can take a long time (accepting a SIP channel
      will starts to sync profiles, ask for new channel, etc), control packets
      are handled in their own thread. However, if the peer accepts a request,
      it can starts to use it and send data on it. When finished, it will close
      the socket and both peer will remove the channel.
      In some case, the channel can be removed before
      MultiplexedSocket::Impl::onAccept, causing upper layers to handle a
      bad channel. In this patch, we removes the channel only when upper layers
      know that the channel is accepted and ready to use. Also, onAccept()
      doesn't create wrong channels (which was a bug, where isInitiator() was
      in the wrong state).
      
      GitLab: #659
      Change-Id: I4f45feacc2624ce0135ace09f7e0188b56fcf81f
      35e4cfce
  21. Nov 25, 2021
Loading