qTox / qTox

qTox is a chat, voice, video, and file transfer IM client using the encrypted peer-to-peer Tox protocol.
https://qtox.github.io/
GNU General Public License v3.0
4.75k stars 1.05k forks source link

autopause music on qtox (video or audio) call #4612

Open DoctorSubtilis opened 7 years ago

DoctorSubtilis commented 7 years ago
Brief Description

OS: Linux Kubuntu 17.04 qTox version: v1.11.0-89-g359a42f7 Commit hash: 359a42f toxcore: 0.1.2 Qt: 5.7.1 Hardware: "00:00.0 Host bridge: Intel Corporation Device 590f (rev 06) 00:02.0 VGA compatible controller: Intel Corporation Device 5912 (rev 04) 00:08.0 System peripheral: Intel Corporation Skylake Gaussian Mixture Model 00:14.0 USB controller: Intel Corporation 200 Series PCH USB 3.0 xHCI Controller 00:14.2 Signal processing controller: Intel Corporation 200 Series PCH Thermal Subsystem 00:16.0 Communication controller: Intel Corporation 200 Series PCH CSME HECI #1 00:17.0 SATA controller: Intel Corporation 200 Series PCH SATA controller [AHCI mode] 00:1c.0 PCI bridge: Intel Corporation 200 Series PCH PCI Express Root Port #7 (rev f0) 00:1f.0 ISA bridge: Intel Corporation 200 Series PCH LPC Controller (B250) 00:1f.2 Memory controller: Intel Corporation 200 Series PCH PMC 00:1f.3 Audio device: Intel Corporation 200 Series PCH HD Audio 00:1f.4 SMBus: Intel Corporation 200 Series PCH SMBus Controller 01:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller (rev 15)

Reproducible: Always / Almost Always / Sometimes / Rarely / Couldn't Reproduce

Steps to reproduce
  1. Listen to PC music
  2. Coming a call
  3. Starting a conversation the music continues
Observed Behavior

Starting a conversation the music continues

Expected Behavior

Music in pause

sudden6 commented 7 years ago

See also https://github.com/qTox/qTox/wiki/Pulseaudio there are a few tricks there

DoctorSubtilis commented 7 years ago

Thank you. But too complicated. I have found this: I will try, it's something (not complete: mute, and not pause, and only on answer).

notramo commented 6 years ago

Could this be used, or is it only for metadata information? https://specifications.freedesktop.org/mpris-spec/latest/