BelledonneCommunications / linphone-desktop

Linphone is a free VoIP and video softphone based on the SIP protocol. Mirror of git://git.linphone.org/linphone-desktop.git
https://linphone.org/
GNU General Public License v3.0
408 stars 207 forks source link

DELETED #727

Closed leukimi closed 1 year ago

leukimi commented 1 year ago

DELETED

julonexus commented 1 year ago

Hi Your lime repo is not on 5.2 : https://gitlab.linphone.org/BC/public/lime/-/blob/release/5.2/include/lime/lime.hpp#L345

julonexus commented 1 year ago

"All SDK is updated to version tag 5.2.4" What do you mean? Some branchs are not on this tag(like external modules). You should refer to the linphone-sdk submodule's commits to check if you use the correct versions.

"[Info]Core:linphone: ms_filter_link: MSTee:0x7f7158a8eef0,1-->!NULL!:(nil),0" The issue is when the filter couldn't instantiate (which should be MSJpegWriter I think). A full log is needed.

julonexus commented 1 year ago

I understand that using the externals untagged can be an issue but if we take the SDK 5.2.6, all SDK submodules (at least not external) are tagged. There is no intermediate versions :

git submodule foreach --recursive 'git fetch --tags --force' ; git submodule status

 faaa895862165acde6df8add722ba4f85a25007d bcg729 (1.1.1)
 4d125bf2788915325c5ab93b9a97835f96d566d3 bcmatroska2 (5.2.1)
 4793d6b8b77e199b48c297edf06bc89603cadcee bctoolbox (5.2.6)
 e3557aed8ba22e04047a9e4371a331b863081fc8 bcunit (5.2.0)
 f50f203d6a44b6ec3bfd897d8057a94dfefa3e57 belcard (5.2.6)
 408168dc1caf455000a515ba831cdc1db81f4362 belle-sip (5.2.6)
 5b9f1ecb134f431b92a5d4bb5d4ca65ab4f47d59 belr (5.2.6)
 b8194979fd5ad657381be6b7b989813b1d763075 bzrtp (5.2.6)
 18f0fd93fdf7e04ba0a50fc133b782192d30ecca cmake-builder (5.2.3)
 c64804e46b2edd6a941db7f1b28233c5735a4479 external/bv16-floatingpoint (2.1)
 4e154e6bbbe92cc76e333a0b4acb365b5c042ec6 external/codec2 (heads/linphone)
 876ddb4d465c94f97beba1be450e8538d866cc5d external/decaf (heads/bc)
 8b92b3898b00cc214e81f39cc9f020c2ce69c533 external/ffmpeg (n0.10.2-15-g8b92b3898b)
 5b603ccf4620d76c9e642ca8c4560e3c43650017 external/gsm (heads/linphone)
 b1bd848241880ccea2d940f67343a899b9f65d5d external/jsoncpp (1.9.0-151-gb1bd848)
 d4da2a4869361c82b61188f00a1fb0085ddae748 external/libjpeg-turbo (2.0.5)
 fe69ee473c878a3f015f405000877c5eb1de8996 external/liboqs (0.7.1-72-gfe69ee47)
 894d0f3b1e0e4224fc3c353a224ffb770c31d48c external/libvpx (v1.9.0-17-g894d0f3b1)
 3efe42fd5facc2b476e8f5f288ef241930160e79 external/libxml2 (v2.9.8-185-g3efe42fd)
 7f813af29c72e531a3a0394252c328ec8c5245c0 external/libyuv (heads/bc)
 a4f4f947c1c1dbaba7052a96eb4995a75aa4e523 external/mbedtls (mbedtls-2.4.0-10870-ga4f4f947c)
 8731a39f6e805e4537153541e165da34d9fa93bd external/opencore-amr (v0.1.3-14-g8731a39)
 b16b12c031362bbe605549eec39922521b61fc72 external/openh264 (v1.1-2938-gb16b12c0)
 2bca580b6b2ef22c44fbeaeabac6cbdc7c4756e7 external/openldap (OPENLDAP_REL_ENG_2_6_1-29-g2bca580b6)
 c0981c38c1af920ce95ebdb27600874131459c98 external/opus (v1.2-alpha2-244-gc0981c38)
 f2fbea4b7fc2166103a10c238c0bdcfbf13073c4 external/soci (heads/bc)
 c8fcd72ef8d29bc913b0f384c9d8578b3e59718b external/speex (c8fcd72)
 953ffcf472e7ced41003b6ec5be040b9f815df79 external/sqlite3 (heads/master)
 2481874bc4c24cdcc16577313d9460f8423dc57c external/srtp (heads/bc)
 36dd497b9a570968b7ffaf74613334bc41d94199 external/vo-amrwbenc (v0.1.3-15-g36dd497)
 27f09a04c5c02921e69210067ac14bb9e31091b9 external/xerces-c (remotes/origin/3.1.4-6-g27f09a0)
 36b9a6454b301a059d775610f2dac3efc3dc3422 external/zlib (remotes/origin/linphone)
 2050520071cb798a1712d4d6f43e45ab94550660 external/zxing-cpp (heads/bc)
 5626b9024204463fcbdf19e73695042ecba9d11d liblinphone (5.2.6)
 c20149550d1d9386cff67640d5391d0c814a7e70 lime (5.2.6)
 e842b8a8e93c9dc8725eea8653262913211427b8 mediastreamer2 (5.2.6)
 70b62886b0f9cafa0bc6dfb1614a385e4ef7cf92 msaaudio (5.2.6)
 e23b62f1556118563cbdf2e4abb2a0b15a296624 msamr (1.1.4)
 0b8590aa895b14aa7b498fecb417112291d538cf msandroidcamera2 (5.2.6)
 30d88f890897a8d82a4b195591045e9fe5cf7208 mscodec2 (1.0)
 11d0f703482ddc11d9d15ec81ed8c97d2d9bd317 msoboe (5.2.0)
 5c7a9522478f5eedc9a3e1600fdd705da1e00d23 msopenh264 (5.2.0)
 ff9ddf985266bf25ba2dcd3256172fa0ab52e4b1 mssilk (1.2.0)
 86636d184b7b39118b5af29c6c0e42c04d034c7a mswasapi (5.2.0)
 80b8e33b11516870b887b80279b9da4de8b26ebe mswebrtc (1.1.2)
 384dba6ff7ac37f4123f1f02b9b7b2bc40784dc4 mswinrtvid (5.1.0)
 d64e1f16269d752688b93704f74bac31792c6cab ortp (5.2.6)
 4eeaa3b8403492ba3524732b1d0ed4c36b60cc6b postquantumcryptoengine (5.2.0)

From the AUR logs, looking for a new version at https://download.linphone.org/releases/linux/RELEASE is expected by the default configuration from the Update checker. About OBS compilation, it tries to build the with the SDK 5.2.0, so I don't think it is updated.

Can you point out where build logs can be found? I have some difficulties to find them at https://build.opensuse.org/package/binaries/home:kimi:telephony-ithod/linphoneqt/Arch

julonexus commented 1 year ago

Hi thanks but it don't promise anything ;)

From the logs, again : "All packages have been updated to the SHA-hashes and versions indicated. " No it's not. This line "[Info]Core:linphone: Initializing LinphoneCore 5.2.0" shows you that you are not using the 5.2.6 but 5.2.0

By the way, the Linphone 5.0.4 (based on SDK 5.2.6) is out

julonexus commented 1 year ago

Yes, the tag comes from the git first. It is the most reliable because when merging a MR, we don't know on what tag it will be and it depends of the branch and then different commits. That make the whole process a bit too complex for all devs to manage backports and other things. I think it will be better and fixed when the compagny grows up by using a manager(or to avoid that changing this kind of thing lead to lost some hours of process), but it is not the case at the moment : Using Git is by far the easiest way to use. The main issue with your patch is that you could use another version without knowing that. But... in fact it doesn't seems to be the issue from the build log. So let resume on other issues.

About Debian11, you should update the application. Since 5.0.3, I removed the unneccessary dependencies for QRCode (like Flexiapi/ZXing) if off (and that is off by default on Linphone 5.0)

In OpenSUSE_Tumbleweed , I saw 2 mediastreamer libraries: "[427/531] cumulate libmediastreamer11-5.2.6-184.1" and "[441/531] cumulate mediastreamer2-5.2.6-184.1". What's that?

Do you have a gdb trace when it crashes?

Also, do you have a build for Fedora 34? If it crashes on it, it will be easier to spot it.

julonexus commented 1 year ago

From https://build.opensuse.org/package/live_build_log/home:kimi:telephony-ithod/mediastreamer2/openSUSE_Tumbleweed/x86_64 , Mediastreamer2 wasn't build with msqogl. You need to build it with ENABLE_QT_GL=ON

It is OFF by default.