GNU bug report logs -
#40408
emacs-telega: VoIP doesn't work
Previous Next
Full log
View this message in rfc822 format
[Message part 1 (text/plain, inline)]
Your message dated Fri, 07 Aug 2020 21:15:21 -0500
with message-id <874kpddgsm.fsf <at> gnu.org>
and subject line Re: bug#40408: emacs-telega: VoIP doesn't work
has caused the debbugs.gnu.org bug report #40408,
regarding emacs-telega: VoIP doesn't work
to be marked as done.
(If you believe you have received this mail in error, please contact
help-debbugs <at> gnu.org.)
--
40408: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=40408
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
Hey Guix,
In Telega neither initiating nor accepting a voice call works:
If I call someone (who has the Telegram App) they can accept the call,
but the app gets stuck connecting. If either I or the other party hang
up I get a bunch of assertion failures.
If the other party tries to call me I can accept the call, but again
their app gets stuck connecting. Hanging up has the same effect as
before.
Both actions leave Telega in a broken state (e.g. assertion failures
when I try to enter a chat) and it has to be restarted.
The following error messages in .telega/telega-voip.log seem relevant:
--8<---------------cut here---------------start------------->8---
04-01 20:04:04 E: Error loading libpulse: (null)
04-01 20:04:04 E: Error loading libasound: (null)
04-01 20:04:04 E: Error loading libasound: (null)
04-01 20:04:04 E: Error initializing audio playback
--8<---------------cut here---------------end--------------->8---
I'm currently on commit 151f3d4.
Regards,
Diego
[Message part 3 (message/rfc822, inline)]
Diego Nicola Barbato <dnbarbato <at> posteo.de> writes:
>
>>From f63cf832869bee91f3f6e87c076bd1e39d32c285 Mon Sep 17 00:00:00 2001
> From: Diego Nicola Barbato <dnbarbato <at> posteo.de>
> Date: Sat, 4 Apr 2020 19:36:31 +0200
> Subject: [PATCH] gnu: libtgvoip: Fix loading of shared libraries.
>
> Fixes <https://debbugs.gnu.org/40408>.
>
> * gnu/packages/telephony.scm (libtgvoip)[arguments]<#:phases>[patch-dlopen]:
> New phase.
> ---
> gnu/packages/telephony.scm | 17 +++++++++++++++++
> 1 file changed, 17 insertions(+)
>
> diff --git a/gnu/packages/telephony.scm b/gnu/packages/telephony.scm
> index f64cdd3fb2..f73efb0deb 100644
> --- a/gnu/packages/telephony.scm
> +++ b/gnu/packages/telephony.scm
> @@ -1046,6 +1046,23 @@ This package provides the Jami client for the GNOME desktop.")
> ("libopusenc" ,libopusenc)
> ("openssl" ,openssl)
> ("pulseaudio" ,pulseaudio)))
> + (arguments
> + `(#:phases
> + (modify-phases %standard-phases
> + ;; libtgvoip wants to dlopen libpulse and libasound, so tell it where
> + ;; they are.
> + (add-after 'unpack 'patch-dlopen
> + (lambda* (#:key inputs #:allow-other-keys)
> + (substitute* "os/linux/AudioPulse.cpp"
> + (("libpulse\\.so")
> + (string-append (assoc-ref inputs "pulseaudio")
> + "/lib/libpulse.so")))
> + (substitute* '("os/linux/AudioInputALSA.cpp"
> + "os/linux/AudioOutputALSA.cpp")
> + (("libasound\\.so")
> + (string-append (assoc-ref inputs "alsa-lib")
> + "/lib/libasound.so")))
> + #t)))))
> (synopsis "VoIP library for Telegram clients")
> (description "A collection of libraries and header files for implementing
> telephony functionality into custom Telegram clients.")
This patch was applied in 580414376b03f2430050f8b5405631f4d7e7e8e3. Closing.
This bug report was last modified 4 years and 289 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.