antimof / UxPlay

AirPlay Unix mirroring server
GNU General Public License v3.0
1.41k stars 190 forks source link

UxPlay only works when run with sudo #130

Closed ioannis-vm closed 1 year ago

ioannis-vm commented 1 year ago

I've encountered an issue where UxPlay only works when I run it with sudo. When I run UxPlay without sudo, I receive the following error message:

UxPlay 1.63: An Open-Source AirPlay mirroring and audio-streaming server.
Required gstreamer plugin 'libav' not found
Missing plugin is contained in  '[GStreamer 1.x]-libav'
stopping

However, when I run UxPlay with sudo, it works without any issues. I've tried several troubleshooting steps, including installing the required GStreamer plugins, verifying file permissions, and building UxPlay from source. All the relevant files have the correct permissions, and my GStreamer installation is up-to-date.

System information:

Steps to reproduce:

Expected behavior:

Actual behavior:

Any assistance in resolving this issue would be greatly appreciated. Thank you!

fduncanh commented 1 year ago

see https://github.com/FDH2/UxPlay#4-gstreamer-issues-missing-plugins-etc

probably you need to clear the GStreamer cache for your user account, as described there

see also #129

ioannis-vm commented 1 year ago

Clearing the GStreamer cache resolved the issue. rm -rf ~/.cache/gstreamer-1.0/* I'm sorry I opened an issue on the wrong repo. Thank you for your help!