Youtube videos do not play if Psst is open
Describe the bug While Psst is open, it is impossible to play videos on Youtube (and presumably other video streaming platforms).
To Reproduce
- Open Psst.
- Open Youtube
- Attempt to play a video
- Close Psst
- Try to play the video again (this time successfully).
Expected behavior The video will not play while Psst is open.
Environment
- OS: Arch Linux ver 6.12.4
- Version: psst-git r417.f1300bf-3
I think this might be more of an audio device issue? Maybe Psst or your browser is taking exclusive access of the sound output? I don't know if this is unique to Psst, have you tried other audio applications to see if it locks on them too?
Yeah, that was my first guess, but i tried using other audio streaming services such as Spotify and Cmus and then Youtube at the same time and it worked. So it seems to be a Psst specific issue for some reason.
But are you using separate apps for those? I think it could be an issue with you using a browser & some other app that accesses the output at the same time.
But are you using separate apps for those? I think it could be an issue with you using a browser & some other app that accesses the output at the same time.
I am using separate apps for those. The Spotify desktop app and Cmus is a cli tool for playing music in your disk. Maybe I'm the only one with this problem and tbh it's not that big of a deal, but I decided to report it in case more people were looking for a solution.
That is very weird; I have never encountered that issue. Are you using Firefox? Have you looked to see if its your drivers, there could be a weird bug with cpal and say pulseaudio. Try and see if this helps.
If I run systemctl restart --user pipewire-pulse, the youtube video is able to play. However the problem persists every time I try to play another video while Psst is open. I guess Psst is interacting in a weird way with my audio drivers. I'll consider this a fix tbh as it's not something that bothers me really.