Missing Autopause Media option

Im using TS5 Client for a while now.

Teamspeak also has the “Autopause Media” as a help to understand people better feature.
Issue is most applications ignore it, and those who dont (VLC/Spotify) have major issues because the mute themselves over and over.
i dont have the option anywhere to disable it fully, because i dont need it.

Maybe i am just missing and not finding this option anywhere, but I would like to disable it.

Please either tell me what this feature is called, and where to find the option in Teamspeak.

Otherwise i’d want to request the Feature / Option to be added to the client.

Thank you
Ebiko

We do not and did not have any feature that pauses any audio or video player.
So whatever pauses your media is not from us itself.

Could be that you had a 3rd party plugin doing it or your operation system has such option? Like Windows has the option reduce other App’s volume.

5 Likes

interesting.

Thanks.

Issue is, something does interrupt it, and it also must be initiated through teamspeak in some way or form.

Maybe Teamspeak sets an “Calling” Flag or something, which causes Pulseaudio to Mute other audio sources.
I havent seen this happening from any other application, afaicr.

But i didnt find any setting or docu-page for pulseaudio which would explain such an behaviour, thus my guess that its from Teamspeak.

Also, my bad - shouldve added the Linux Tag or something.
Im running teamspeak beta on Ubuntu 22.04

It could be that for our app the role in your system is doing that.

With command pacmd list-sink-inputs you should see the role and depending on it your system behaves.

You may read this (point 5.4) to change this behavior for your system.
https://wiki.archlinux.org/title/PulseAudio/Troubleshootin

3 Likes

I mean, you are right. Yes it is the system. But caused by Teamspeak.

Teamspeak sets the “media.role” property on the Sink to “phone”, which in return causes this behaviour.
This setting is not something i can control. neither via PACTL, nor via setting, as the Output Stream is created and controlled by the application.

I could (technically) create a sink myself, looping the Teamspeak sink into the manually created one, and maybe fix it that way. But thats a lot of effort, and not what I want.
Manually adjusting outputstreams is in no world a fun experience.

More Details:

Sink Input #16
	Driver: protocol-native.c
	Owner Module: 13
	Client: 18
	Sink: 1
	Sample Specification: s16le 2ch 48000Hz
	Channel Map: front-left,front-right
	Format: pcm, format.sample_format = "\"s16le\""  format.rate = "48000"  format.channels = "2"  format.channel_map = "\"front-left,front-right\""
	Corked: no
	Mute: no
	Volume: front-left: 75287 / 115% / 3,61 dB,   front-right: 75287 / 115% / 3,61 dB
	        balance 0,00
	Buffer Latency: 10222 usec
	Sink Latency: 23083 usec
	Resample method: speex-float-1
	Properties:
		media.name = "ts.pa.dummy.playbackdefaultrender1"
		application.name = "TeamSpeak"
		native-protocol.peer = "UNIX socket client"
		native-protocol.version = "35"
		media.role = "phone"
		media.icon_name = "teamspeak"
		application.process.id = "6668"
		application.process.user = "ebiko"
		application.process.host = "Ebi-Gaming"
		application.process.binary = "TeamSpeak"
		application.language = "en_US.UTF-8"
		window.x11.display = ":0.0"
		application.process.machine_id = "37e93694ef034e1ba466b034fc2f67b4"
		application.process.session_id = "c2"
		module-stream-restore.id = "sink-input-by-media-role:phone"

https://www.freedesktop.org/wiki/Software/PulseAudio/Documentation/Developer/Clients/ApplicationProperties/

Also, mumble had the same issue and switched from “phone” to “game”

I suggest doing the same for Teamspeak.

In the meantime, i am trying to use the workaround by trying to start Teamspeak with
PULSE_PROP='media.role=game' teamspeak
similar to what is written in the bug report for mumble.

Edit: No, using the ENV Variable i was still unable to get the result i wanted.
And i wont disable the full module, because i do like the feature for actually being called. But on Teamspeak, thats annoying.

Guess changing the Role then won’t hurt. But this must be evaluated.

I will put that on the table for a discussion.

4 Likes

We discussed the topic.

  • We won’t change the media.role from phone to any other role. None of the available roles do fit for our software. If it only was the Chat feature without the Voice part music or event would have fit as media.role. But as long the Voice part exists we will use phone as media.role.
  • We plan to add support where user can start the client with another media.role like

PULSE_PROP=‘media.role=game’ ./Desktop/TS5/TeamSpeak

  • Meanwhile turn off/unload the cork module or change volume etc.
2 Likes