- Dec 16, 2021
-
-
Sébastien Blin authored
This code is unused since we introduced processRtcpChecker() Change-Id: If86295d885997c415e8f1681c6b9ad049c93de9e
-
- Dec 15, 2021
-
-
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
-
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
-
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
-
- tranport -> transport Change-Id: I1991ba7324c22625e8b6cdf568357e3ff6540557
-
- Dec 14, 2021
-
-
Olivier Dion authored
Change-Id: I3f0015d5f492137592af5d6c247ca439dd75dd38
-
Olivier Dion authored
Using JAMI_TIMESTAMP_FMT, developers can now format the log's timestamp according to their needs and taste. The formatting is the same as strftime(3). Change-Id: Ibea56852b2efc37f66aeeeda857e307130099720
-
- Dec 13, 2021
-
-
Decouple the creation and the initialization of media coding sessions to ease the re-initialization of encoding session (when resolution changes for instance). Gitlab: jami-project#1294 Change-Id: Id5927d4aeb29bc9d4fe806bde6dc9bd28a0e6fe2
-
- Dec 10, 2021
-
-
Change-Id: I547dfeaf1734873ac9f8db82a181769de11a2bb6
-
Change-Id: I8a02ae82cb2cf1494a13b263aca0555ab84ed98f
-
Change-Id: I2fca281e9144d06243ca09879a1d86551ccd1996
-
Change-Id: If91bed7badd8229aee216a91445b758e8901e573
-
- Dec 09, 2021
-
-
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
-
- Dec 08, 2021
-
-
Sébastien Blin authored
Change-Id: I82bde67fed7a295e888c2ea8f96c6e4646f51e64
-
Change-Id: I2a22e80a8ea826641afef9a82bf3b17ca35fcaed
-
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
-
- Dec 07, 2021
-
-
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
-
Change-Id: I274ed5b9b6f97b06e7a355b941f81f86c7816c24
-
- Dec 06, 2021
-
-
Amin Bandali authored
This allows us to build with webrtc-audio-processing distro packages currently available across supported Debian releases. Change-Id: I25584a0564ceb78e8eefec78e5e903356c37ddab
-
- Dec 03, 2021
-
-
Sébastien Blin authored
This fix ut_media_encoder Also avoid crash when outputCtx_ is nullptr and the format is unrecognised. Change-Id: I6df5a2e229e0313ea2b3c34b37f9f2900058c75f
-
- Dec 02, 2021
-
-
Maxime Callet authored
This fixes Android' accelerated video encoding Change-Id: Ie0cc7f3699f8c74eb205a395ae4235b1b1a7af89
-
Sébastien Blin authored
This allow to generate jamid for dbus usage and client-qt with libwrap. Change-Id: Ia23a0cec2efb4347166e0123c662da6c134c2238 GitLab: jami-project#1312
-
- Nov 30, 2021
-
-
Aline Gondim Santos authored
+ If in screen sharing, the hardware acceleration encoding is disabled GitLab: jami-project#1294 Change-Id: I24982b4454d724bb86059a50a3c2d01fe6fab147
-
- Nov 29, 2021
-
-
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
-
- Nov 25, 2021
-
-
Sébastien Blin authored
Else, the module can be created twice and one will be invalidated causing some crashes Change-Id: I1403fc27e3baa24c1ad6e4c8ae5a352e328374ee
-
Sébastien Blin authored
AcceptTrustRequest should update conversation's module to directly return the syncing conversation. Moreover, configurationMutex_ should be recursive to allow sync between trust and conversation's requests. This fix ut_conversationRequest where the problem was that the conversation's requests were updated after ContactAdded, causing removeContact() to remove the conversation, but acceptTrustRequest re-adds it during the operation. Change-Id: If676dc58290f87c289a6e63eb9afa04d2cc25df5 GitLab: #659
-
- Nov 24, 2021
-
-
Gitlab: #638 Change-Id: I3c656bccc13c595bc44023d3642f820ab580961b
-
- Nov 23, 2021
-
-
Adrien Béraud authored
Change-Id: Ie8cdb2a771a64dbdb9384fbbfadb255bec64d9c6
-
Change-Id: Ibb5b615d613cb1f1edf2c0ddaec6caba2d22c5ab
-
- Nov 22, 2021
-
-
Remove obsolete code kept for backward compatibility. Add call transfer test case Gitlab: #470 Change-Id: I81472b8308ec402911670e8658308a184b97206c
-
Change-Id: I9f435dc52218222ccbfae1fb507f13a8cb71f6f7
-
This patch fixes current unitTest + Fix testCreateConversationWithMessagesThenAddDevice messageReceived flag + Remove useless sleep in tests + in ut_conversation fix messageReceived flag + lock convInfo and convRequests to avoid invalid write operations + fix pending callbacks if connected via a DHT request + remove useless log Change-Id: If53ecf0c064e9c1424c11a4af1e13d31294e6be9
-
SIP specification does not mandate the use of 'Allow' header and which message must contain this header. So, the 'Allow' header may be present in some SIP messages (e.g. INVITE) but not in subsequent messages (e.g. ACK), thus the current list of methods (if any) will be updated only if the new list is not empty. Gitlab: #572 Change-Id: If10c73dd116ebd2bbcec413d377caf524aca8897
-
Change-Id: Ieb12a81646de61bce2cbb1e369e1c8a82ea118da
-
- Nov 19, 2021
-
-
The conference should be used in the tests after the first conferenceChanged, to be sure that every calls are binded to the conference. Then, before adding a call to the conference, it should be CURRENT from the host perspective, not the receiver. So, add "hostState" to store the state of the call from the host perspective. Change-Id: I9d27b4c0461ede05d27ea849de08c22e9fc3b249
-
Olivier Dion authored
Change-Id: I759ebe5f1827c27468f0d60e91098c70257c7b30
-
- Nov 18, 2021
-
-
SIP MESSAGE method is an extention to SIP methods and might not be supported by all User Agents (UA). In this change, the MESSAGE method is only used if it's present in the list of allowed methods (Allow header). Since the Allow header is not mandatory, if the Allow header is not present we assume that the MESSAGE method is not supported. Gitlab: #572 Change-Id: I85d35fa0f9be108b34a538b8c732f1530ad68bd6
-
Adrien Béraud authored
Change-Id: Ie1b88abf5790e2f17251e2c34ed229e34cdc496c
-
Mohamed Chibani authored
Set vector size of remote addresses to component count when initializing the ICE instance. Gitlab: #573 Change-Id: Iff02142dfb36326e6baa239900ced9452ab3bb8e
-
- Nov 17, 2021
-
-
Sébastien Blin authored
Change-Id: Id2e2a1f79be9ee21c127b3b77fb189af78517138
-