Open fpostema opened 7 months ago
Using this post I managed to switch apparmor from enforce-mode into complain-mode for snap.obs-studio.obs-studio. This removes the apparmor protection from obs-studio and removes the apparmor="DENIED"
entries from the log. This is not a nice solution, but a workaround.
The remaining problem now is (Terminal output):
default gstrtspconnection.c:1102:gst_rtsp_connection_connect_with_response_usec: failed to connect: GDBus.Error:org.freedesktop.portal.Error.NotAllowed: This call is not available inside the sandbox
I have no clue how to fix this.
What happened?
I really like OBS-Studio. Very professional software! I have a NDI-camera that is working perfectly. But I have some problems with an IP-camera. I'm trying to display a RTSP-stream from a webcam with low latency. I use the gstreamer plugin, because the "Media Source" is working but results in large latency. When I use gstreamer from the command-line
gst-launch-1.0 rtspsrc location="rtsp://admin:1234@192.168.1.150/live/0/h264.sdp" latency=0 buffer-mode=auto ! decodebin ! autovideosink
it works perfectly. Almost no latency. When I try the same with the gstreamer-plugin inside OBS Studio, I use the following pipeline:rtspsrc location="rtsp://admin:1234@192.168.1.150/live/0/h264.sdp" latency=0 buffer-mode=auto ! decodebin ! video.
But that doesn't work. The stream is not displayed. I also tried the pipelineuridecodebin uri=rtsp://admin:1234@192.168.1.150/live/0/h264.sdp ! decodebin ! video.
but that also didn't work. I have activated all permissions in "Ubuntu Software"What should have happened?
The stream should be displayed with almost no latency
Output of
snap info $snap_name
Output of
snap connections $snap_name
Output of
snap version
Relevant log output
Teminal output of app