I am trying to play-pause an audio file using gst-play-1.0 command on my RPi2 which is running on Raspbian.
gst-play-1.0 myfile.mp3 --interactive --audiosink=alsasink
The command works fine when I am logged in as the root. But when I login as the user pi, pause-resume hangs.
Logging in as pi and using sudo gst-play... also does not work.
I tried to debug using strace separately as root and pi. But could not understand much. I have attached the strace info.
I ran the gst-play command with GST_DEBUG=3. The logs can be found the links gst_log_as_root
How can I resolve this? Any help would be really appreciated.