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
393 stars 201 forks source link

Can't enable H264 codec on linphone.AppImage #729

Closed basncy closed 1 year ago

basncy commented 1 year ago

https://i.imgur.com/GOOqZ2e.png

Reproduce: 1.open linphone.AppImage

  1. Go to Settings, video tab
  2. Turn H264 status on and confirm downloading from Cisco.
  3. H264 status still off.

Archlinux 6.0.15-1-MANJARO linphone.AppImage Desktop 4.4.6 - Qt5.12.12 Core 5.1.42

Logs:(./linphone.AppImage --appimage-extract ; cd squashfs-root ; ./AppRun) [23:22:12:823][0xe922b0][Info]"Download of http://ciscobinary.openh264.org/libopenh264-2.1.0-linux64.5.so.bz2 finished to /home/user/.local/share/linphone/codecs/libopenh264-2.1.0-linux64.5.so.bz2" [23:22:13:554][0xe922b0][Info]"Loading libopenh264.so symbols..."

cd ~/.local/share/linphone/codecs ls -a .. H264.txt libopenh264.so

basncy commented 1 year ago

BTW, openh264 can be installed into /usr/lib folder, is it possible of loading from the system library?

ls /usr/lib/libopenh264.s* -a /usr/lib/libopenh264.so /usr/lib/libopenh264.so.2.3.1 /usr/lib/libopenh264.so.7

basncy commented 1 year ago

Auto fixed with Linphone-5.0.4.AppImage which download openh264 2.2.0 version. and this openh264 version works with 4.4.6 too.

logs: [0x2cdaee0][Info]"Download of http://ciscobinary.openh264.org/libopenh264-2.2.0-linux64.6.so.bz2 finished to /home/user/.local/share/linphone/codecs/libopenh264-2.2.0-linux64.6.so.bz2" [0x2cdaee0][Info]"Loading libopenh264.so symbols..."

basncy commented 1 year ago

To prevent libopenh264.so downgrade by old stable linphone-desktop version: sudo chattr +i ~/.local/share/linphone/codecs/libopenh264.so