Oh, maybe GStreamer does provide interfaces for enumerating devices abstractly. In that case an app like Totem might still have a say in device selection.
$ gst-inspect-1.0 pulseaudio Plugin Details: Name pulseaudio Description PulseAudio plugin library Filename /usr/lib/x86_64-linux-gnu/gstreamer-1.0/libgstpulseaudio.so Version 1.12.1 License LGPL Source module gst-plugins-good Source release date 2017-06-20 Binary package GStreamer Good Plugins (Ubuntu) Origin URL https://launchpad.net/distros/ubuntu/+source/gst-plugins-good1.0 pulsesink: PulseAudio Audio Sink pulsesrc: PulseAudio Audio Source pulsedeviceprovider: PulseAudio Device Provider 3 features: +-- 2 elements +-- 1 device providers ** Changed in: gst-plugins-good1.0 (Ubuntu) Importance: Undecided => Medium -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to pulseaudio in Ubuntu. https://bugs.launchpad.net/bugs/1704807 Title: Audio doesn't switch automatically to Bluetooth speaker when hotplugged after application playback started Status in gst-plugins-good1.0 package in Ubuntu: Confirmed Status in pulseaudio package in Ubuntu: Confirmed Status in totem package in Ubuntu: Confirmed Bug description: artful desktop Test Case. 1. Pair a BT Speaker and set the output channel to the speaker 2. Play something with vlc or totem (and make sure it uses the speaker with pavucontrol for instance) 3. Switch the output to another channel eg internal speaker and turn the BT speaker off (do not close the music player) 4. Turn the speaker back on and wait until it connects 5. If the speaker is not selected automatically as the output, select it in the sound settings 6. Resume playing in VLC Expected result The track plays on the speaker Actual result It plays on the internal audio. ProblemType: Bug DistroRelease: Ubuntu 17.10 Package: pulseaudio 1:10.0-2ubuntu1 ProcVersionSignature: Ubuntu 4.11.0-10.15-generic 4.11.8 Uname: Linux 4.11.0-10-generic x86_64 ApportVersion: 2.20.5-0ubuntu5 Architecture: amd64 CurrentDesktop: GNOME Date: Mon Jul 17 17:09:17 2017 InstallationDate: Installed on 2013-09-03 (1412 days ago) InstallationMedia: Ubuntu 13.10 "Saucy Salamander" - Alpha amd64 (20130902) ProcEnviron: TERM=screen-256color PATH=(custom, no user) XDG_RUNTIME_DIR=<set> LANG=fr_FR.UTF-8 SHELL=/bin/bash SourcePackage: pulseaudio UpgradeStatus: No upgrade log present (probably fresh install) dmi.bios.date: 01/29/2013 dmi.bios.vendor: American Megatrends Inc. dmi.bios.version: UX32VD.214 dmi.board.asset.tag: ATN12345678901234567 dmi.board.name: UX32VD dmi.board.vendor: ASUSTeK COMPUTER INC. dmi.board.version: 1.0 dmi.chassis.asset.tag: No Asset Tag dmi.chassis.type: 10 dmi.chassis.vendor: ASUSTeK COMPUTER INC. dmi.chassis.version: 1.0 dmi.modalias: dmi:bvnAmericanMegatrendsInc.:bvrUX32VD.214:bd01/29/2013:svnASUSTeKCOMPUTERINC.:pnUX32VD:pvr1.0:rvnASUSTeKCOMPUTERINC.:rnUX32VD:rvr1.0:cvnASUSTeKCOMPUTERINC.:ct10:cvr1.0: dmi.product.name: UX32VD dmi.product.version: 1.0 dmi.sys.vendor: ASUSTeK COMPUTER INC. To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/gst-plugins-good1.0/+bug/1704807/+subscriptions -- Mailing list: https://launchpad.net/~touch-packages Post to : [email protected] Unsubscribe : https://launchpad.net/~touch-packages More help : https://help.launchpad.net/ListHelp

