[Bug 787073] rtsp-server permissions: need add_role() function that's bindings friendly and can be used in python
GStreamer (GNOME Bugzilla)
bugzilla at gnome.org
Fri Jul 13 08:56:52 UTC 2018
https://bugzilla.gnome.org/show_bug.cgi?id=787073
oliver.schwaneberg at tippkemper-matrix.de changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |oliver.schwaneberg at tippkemp
| |er-matrix.de
--- Comment #13 from oliver.schwaneberg at tippkemper-matrix.de ---
I always get the following error:
ERROR rtspclient rtsp-client.c:1021:find_media: client 0xa9a0d080: not
authorized to see factory path /test
ERROR rtspclient rtsp-client.c:2907:handle_describe_request: client 0xa9a0d080:
no media
How do I set the right permissions for the factory via Python bindings?
I tried the following, but it had no effect:
perm = GstRtspServer.RTSPPermissions()
perm.add_role("user")
perm.add_permission_for_role("user", "media.factory.access", True)
perm.add_permission_for_role("user", "media.factory.construct", True)
factory.set_permissions(perm)
Any idea? Thanks in advance!
--
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.
More information about the gstreamer-bugs
mailing list