[1] 2 >>> Others / General / [MLD 5.4 testing] ICQ - Viber - Skype
 

Offline gr4vity

  • Expert Member
  • *****
  • Posts: 604
    • View Profile
[MLD 5.4 testing] ICQ - Viber - Skype
« on: December 24, 2019, 19:16:58 »
Hello,

I was bored because nothing interesting to watch in VDR so i decided to install ICQ in order to chat with my friends.

The good news is, it works without installing any dependencies.
I will try to install Viber later.
Whatsapp web can be used by installing Chrome though.

The bad news is, Voice and video call are not working.

After installing PulseAudio, still no joy.

By the way, PulseAudio package conflicts with dvb-mb because they both contain /lib/modules/~/kernel/drivers/media/mc/mc.ko

Any idea why PulseAudio is failed to initialize?

Here is the log:

Code: [Select]
I [17:57:40.230] [#rtc_worker] (audio_device_impl.cc:75): Create
I [17:57:40.230] [#rtc_worker] (audio_device_buffer.cc:63): AudioDeviceBuffer::ctor
I [17:57:40.230] [#rtc_worker] (audio_device_impl.cc:118): AudioDeviceModuleImpl
I [17:57:40.230] [#rtc_worker] (audio_device_impl.cc:122): CheckPlatform
I [17:57:40.230] [#rtc_worker] (audio_device_impl.cc:133): current platform is Linux
I [17:57:40.230] [#rtc_worker] (audio_device_impl.cc:152): CreatePlatformSpecificObjects
I [17:57:40.230] [#rtc_worker] (audio_device_impl.cc:936): PlatformAudioLayer
I [17:57:40.230] [#rtc_worker] (audio_device_impl.cc:266): PulseAudio support is enabled.
I [17:57:40.230] [#rtc_worker] (audio_mixer_manager_pulse_linux.cc:55): AudioMixerManagerLinuxPulse created
I [17:57:40.230] [#rtc_worker] (audio_device_pulse_linux.cc:83): AudioDeviceLinuxPulse created
I [17:57:40.230] [#rtc_worker] (audio_device_impl.cc:271): Linux PulseAudio APIs will be utilized
I [17:57:40.230] [#rtc_worker] (audio_device_impl.cc:312): AttachAudioBuffer
I [17:57:40.230] [#rtc_worker] (audio_device_buffer.cc:185): SetRecordingSampleRate(0)
I [17:57:40.230] [#rtc_worker] (audio_device_buffer.cc:192): SetPlayoutSampleRate(0)
I [17:57:40.230] [#rtc_worker] (audio_device_buffer.cc:209): SetRecordingChannels(0)
I [17:57:40.230] [#rtc_worker] (audio_device_buffer.cc:216): SetPlayoutChannels(0)
I [17:57:40.231] [5949] (audio_processing_impl.cc:428): Capture post processor activated: 0
Render pre processor activated: 0
I [17:57:40.231] [5949] (webrtcvoiceengine.cc:213): WebRtcVoiceEngine::WebRtcVoiceEngine
I [17:57:40.231] [5949] (webrtcvideoengine.cc:571): WebRtcVideoEngine::WebRtcVideoEngine()
I [17:57:40.231] [#rtc_worker] (webrtcvoiceengine.cc:236): WebRtcVoiceEngine::Init
I [17:57:40.231] [#rtc_worker] (webrtcvoiceengine.cc:243): Supported send codecs in order of preference:
I [17:57:40.231] [#rtc_worker] (webrtcvoiceengine.cc:246): opus/48000/2 { minptime=10 useinbandfec=1 } (111)
I [17:57:40.231] [#rtc_worker] (webrtcvoiceengine.cc:246): ISAC/16000/1 (103)
I [17:57:40.231] [#rtc_worker] (webrtcvoiceengine.cc:246): G722/8000/1 (9)
I [17:57:40.231] [#rtc_worker] (webrtcvoiceengine.cc:246): PCMU/8000/1 (0)
I [17:57:40.231] [#rtc_worker] (webrtcvoiceengine.cc:246): PCMA/8000/1 (8)
I [17:57:40.231] [#rtc_worker] (webrtcvoiceengine.cc:246): CN/16000/1 (105)
I [17:57:40.231] [#rtc_worker] (webrtcvoiceengine.cc:246): CN/8000/1 (13)
I [17:57:40.231] [#rtc_worker] (webrtcvoiceengine.cc:246): telephone-event/48000/1 (110)
I [17:57:40.231] [#rtc_worker] (webrtcvoiceengine.cc:246): telephone-event/16000/1 (113)
I [17:57:40.231] [#rtc_worker] (webrtcvoiceengine.cc:246): telephone-event/8000/1 (126)
I [17:57:40.231] [#rtc_worker] (webrtcvoiceengine.cc:249): Supported recv codecs in order of preference:
I [17:57:40.231] [#rtc_worker] (webrtcvoiceengine.cc:252): opus/48000/2 { minptime=10 useinbandfec=1 } (111)
I [17:57:40.231] [#rtc_worker] (webrtcvoiceengine.cc:252): ISAC/16000/1 (103)
I [17:57:40.231] [#rtc_worker] (webrtcvoiceengine.cc:252): G722/8000/1 (9)
I [17:57:40.231] [#rtc_worker] (webrtcvoiceengine.cc:252): PCMU/8000/1 (0)
I [17:57:40.231] [#rtc_worker] (webrtcvoiceengine.cc:252): PCMA/8000/1 (8)
I [17:57:40.231] [#rtc_worker] (webrtcvoiceengine.cc:252): CN/16000/1 (105)
I [17:57:40.231] [#rtc_worker] (webrtcvoiceengine.cc:252): CN/8000/1 (13)
I [17:57:40.231] [#rtc_worker] (webrtcvoiceengine.cc:252): telephone-event/48000/1 (110)
I [17:57:40.231] [#rtc_worker] (webrtcvoiceengine.cc:252): telephone-event/16000/1 (113)
I [17:57:40.231] [#rtc_worker] (webrtcvoiceengine.cc:252): telephone-event/8000/1 (126)
I [17:57:40.231] [#rtc_worker] (audio_device_impl.cc:332): Init
E [17:57:40.232] [#rtc_worker] (audio_device_pulse_linux.cc:1618): failed to connect context, error=-1
E [17:57:40.232] [#rtc_worker] (audio_device_pulse_linux.cc:151): failed to initialize PulseAudio
E [17:57:40.232] [#rtc_worker] (audio_device_impl.cc:341): Audio device initialization failed.
I [17:57:40.232] [#rtc_worker] (audio_device_impl.cc:332): Init
E [17:57:40.233] [#rtc_worker] (audio_device_pulse_linux.cc:1618): failed to connect context, error=-1
E [17:57:40.233] [#rtc_worker] (audio_device_pulse_linux.cc:151): failed to initialize PulseAudio
E [17:57:40.233] [#rtc_worker] (audio_device_impl.cc:341): Audio device initialization failed.

Best Regards.
« Last Edit: December 26, 2019, 16:37:10 by gr4vity »

Offline clausmuus

  • Administrator
  • Expert Member
  • ********
  • Posts: 20456
    • View Profile
    • ClausMuus.de
[MLD 5.4 testing] ICQ PulseAudio
« Reply #1 on: December 25, 2019, 00:56:32 »
The PulsAudio packet is only an old (not supported) experiment. It's not working jet.
MLD 5.5 - Raspberry PI - 7" Touch TFT - Squeeze Play
MLD 5.5 - lirc yaUsbIR - OctopusNet - XFX GeForce 9300 mit Intel E3200 - 2GB RAM - 12TB HDD - Lian Li PC-C37B - Samsung LE40A559

Offline gr4vity

  • Expert Member
  • *****
  • Posts: 604
    • View Profile
[MLD 5.4 testing] ICQ PulseAudio
« Reply #2 on: December 25, 2019, 14:53:50 »
Hi Claus,
Happy Holidays  :)
I want to verify that Viber also works but there is a problem with PulseAudio as well.
Although it depends on
gstreamer1.0-pulseaudio
Do you have that package?
Will it work if i installed it or it depends on PulseAudio too?

By the way, ICQ voice messages works but you can't listen to messages then record a new message simultaneously.
« Last Edit: December 25, 2019, 15:13:44 by gr4vity »

Offline gr4vity

  • Expert Member
  • *****
  • Posts: 604
    • View Profile
[MLD 5.4 testing] ICQ - Viber PulseAudio
« Reply #3 on: December 25, 2019, 19:26:43 »
Here is Viber log, just in case someone knows how to resolve that issue.

Code: [Select]
PulseAudioService: pa_context_connect() failed
qrc:/QML/DebugMenu.qml:262: TypeError: Cannot call method 'isWasabiEnabled' of undefined
qrc:/QML/DebugMenu.qml:289: TypeError: Cannot call method 'isSearchInCommunitiesForceEnabled' of undefined
qrc:/QML/DebugMenu.qml:296: TypeError: Cannot call method 'isOOABURISpamCheckerForceEnabled' of undefined
qrc:/QML/DebugMenu.qml:304: TypeError: Cannot call method 'isRateCallQualityForceEnabled' of undefined
[14825:14883:1225/200427.252280:ERROR:adm_helpers.cc(73)] Failed to query stereo recording.
qml: 4.867 JS: Created PeerConnectionClient
qml: 4.868 JS: Starting out call with video = false
qml: 14.550 JS: Setting audio output device:
qml: 14.551 JS: Creating offer, this.pc_.signalingState = stable
qml: 14.552 JS: createOffer() succeded, patching offer...
qml: 16.978 JS: Offer patched, setting local description...
qml: 16.981 JS: Signaling state changed to have-local-offer
qml: 16.981 JS: setLocalDescription() succeded
qml: 16.982 JS: Ice candidate
candidate:2437072876 1 udp 2113937151 192.168.1.2 55911 typ host generation 0 ufrag RGxw network-cost 999
qml: 16.982 JS: Ice candidate
candidate:2437072876 1 udp 2113937151 192.168.1.2 50732 typ host generation 0 ufrag RGxw network-cost 999
qml: 17.081 JS: End of candidates
qml: onIceCandidateReceived: candidate:1510613869 1 udp 2122129151 127.0.0.1 35495 typ host generation 0
qml: onIceCandidateReceived: candidate:1510613869 1 udp 2122129151 127.0.0.1 52704 typ host generation 0

Edit: Viber voice call works.
« Last Edit: December 26, 2019, 23:39:25 by gr4vity »

Offline clausmuus

  • Administrator
  • Expert Member
  • ********
  • Posts: 20456
    • View Profile
    • ClausMuus.de
[MLD 5.4 testing] ICQ - Viber PulseAudio
« Reply #4 on: December 26, 2019, 00:00:31 »
Since there is no pulseaodio support jet, we have no lib packages for that.
MLD 5.5 - Raspberry PI - 7" Touch TFT - Squeeze Play
MLD 5.5 - lirc yaUsbIR - OctopusNet - XFX GeForce 9300 mit Intel E3200 - 2GB RAM - 12TB HDD - Lian Li PC-C37B - Samsung LE40A559

Offline gr4vity

  • Expert Member
  • *****
  • Posts: 604
    • View Profile
[MLD 5.4 testing] ICQ - Viber PulseAudio
« Reply #5 on: December 26, 2019, 15:03:44 »
Have you got any idea if it'll be fixed soon?

I wanted to run Skype but i'm getting the below error

"Running as root without --no-sandbox is not supported"

Is it possible to run Skype without root?

Offline clausmuus

  • Administrator
  • Expert Member
  • ********
  • Posts: 20456
    • View Profile
    • ClausMuus.de
[MLD 5.4 testing] ICQ - Viber PulseAudio
« Reply #6 on: December 26, 2019, 15:19:56 »
The last experiments with the pulseaudio about two years ago. So it's not probably that anybody that anybody will work on it soon.
To start an app as not root, you can use the user "user". It will be created, when you e.g. install the vlc package. That package contains the script /usr/bin/startvlc that switch the user at startup.
MLD 5.5 - Raspberry PI - 7" Touch TFT - Squeeze Play
MLD 5.5 - lirc yaUsbIR - OctopusNet - XFX GeForce 9300 mit Intel E3200 - 2GB RAM - 12TB HDD - Lian Li PC-C37B - Samsung LE40A559

Offline gr4vity

  • Expert Member
  • *****
  • Posts: 604
    • View Profile
[MLD 5.4 testing] ICQ - Viber - Skype
« Reply #7 on: December 26, 2019, 16:43:18 »
Oh, i always run vlc as root,
Is it why it looks like that?
https://www.minidvblinux.de/forum/index.php?action=dlattach;topic=9619.0;attach=2652;image

Thanks a lot Claus, Skype worked.   :D
It doesn't depend on pulseaudio, i didn't test voice calls yet but the Eco /sound test service works.
« Last Edit: December 26, 2019, 18:55:55 by gr4vity »

Offline gr4vity

  • Expert Member
  • *****
  • Posts: 604
    • View Profile
[MLD 5.4 testing] ICQ - Viber - Skype
« Reply #8 on: December 27, 2019, 14:04:08 »
Hi Claus,
This is an off topic question,
I can't repack any package on MLD because of the following error.
tar: unrecognized option '--format=gnu'

Do you know how to fix it?

gstreamer1.0-plugins-ugly:amd64 depends on libgcc1 (>= 1:3.0); however:
  Version of libgcc1 on system is 6.3.0-~1.

I have to repack every debian package because of that error which is very irretating.  :-\
Is it a typo and it should be 1:3.0 instead of 6.3.0?


Offline clausmuus

  • Administrator
  • Expert Member
  • ********
  • Posts: 20456
    • View Profile
    • ClausMuus.de
[MLD 5.4 testing] ICQ - Viber - Skype
« Reply #9 on: December 27, 2019, 14:13:50 »
The tar problem should be, (if you use it on the MLD) that it is the tar of the busybox package. You musst use the full tar tool for that.

The real versions number of the libgcc1 is 1:6.3.0. So you can try to change the versionsnumber on the MLD System in the /var/lib/dpkg/status file. That is the basis for the versions check on install time.
MLD 5.5 - Raspberry PI - 7" Touch TFT - Squeeze Play
MLD 5.5 - lirc yaUsbIR - OctopusNet - XFX GeForce 9300 mit Intel E3200 - 2GB RAM - 12TB HDD - Lian Li PC-C37B - Samsung LE40A559

Offline gr4vity

  • Expert Member
  • *****
  • Posts: 604
    • View Profile
[MLD 5.4 testing] ICQ - Viber - Skype
« Reply #10 on: December 27, 2019, 14:20:24 »
Great, thanks for the hint.
In order to solve the tar error, i should install debian tar package and its dependencies?
Or, it's already included in MLD, i didn't check yet.
« Last Edit: December 27, 2019, 14:23:41 by gr4vity »

Offline clausmuus

  • Administrator
  • Expert Member
  • ********
  • Posts: 20456
    • View Profile
    • ClausMuus.de
[MLD 5.4 testing] ICQ - Viber - Skype
« Reply #11 on: December 27, 2019, 14:26:24 »
You must install the debian tar package.
MLD 5.5 - Raspberry PI - 7" Touch TFT - Squeeze Play
MLD 5.5 - lirc yaUsbIR - OctopusNet - XFX GeForce 9300 mit Intel E3200 - 2GB RAM - 12TB HDD - Lian Li PC-C37B - Samsung LE40A559

Offline gr4vity

  • Expert Member
  • *****
  • Posts: 604
    • View Profile
[MLD 5.4 testing] ICQ - Viber - Skype
« Reply #12 on: December 27, 2019, 19:43:13 »
I installed debian tar package but i'm getting the same error, don't know why!

Offline clausmuus

  • Administrator
  • Expert Member
  • ********
  • Posts: 20456
    • View Profile
    • ClausMuus.de
[MLD 5.4 testing] ICQ - Viber - Skype
« Reply #13 on: January 07, 2020, 00:56:41 »
I have fixed the pulseaudio package. It is now useable.
I have also enabled the redirect of alsa output (from apps) to pulseaudio.
The Webif audio setup overwrite this redirect. A pulseaudio gui configuration is not available.
« Last Edit: January 07, 2020, 01:21:42 by clausmuus »
MLD 5.5 - Raspberry PI - 7" Touch TFT - Squeeze Play
MLD 5.5 - lirc yaUsbIR - OctopusNet - XFX GeForce 9300 mit Intel E3200 - 2GB RAM - 12TB HDD - Lian Li PC-C37B - Samsung LE40A559

Offline gr4vity

  • Expert Member
  • *****
  • Posts: 604
    • View Profile
[MLD 5.4 testing] ICQ - Viber - Skype
« Reply #14 on: January 07, 2020, 15:55:06 »
What a nice surprise Claus  :)
I thought it will never be fixed because you said noone is working on it since 2 years ago.

After installing pulseaudio alsamixer won't run because of this error

MLD> alsamixer
ALSA lib dlmisc.c:254:(snd1_dlobj_cache_get) Cannot open shared library /usr/lib/x86_64-linux-gnu/alsa-lib/libasound_module_ctl_pulse.so
cannot open mixer: No such device or address

I got that file from libasound2-plugins package, now it works.



Icq sound settings also works as it used to crash if you select it.



But i can't listen or record voice messages, i think there is a problem with sound redirect, as it's redirected to the internal sound card not the USB sound card.



Regarding Skype, i tested the Eco /sound test service, USB microphone doesn't work.

Do you have USB headset in order to test it?
« Last Edit: January 07, 2020, 22:56:25 by gr4vity »

[1] 2 >>> Others / General / [MLD 5.4 testing] ICQ - Viber - Skype
 



Users Online Users Online

0 Members and 1 Guest are viewing this topic.