media: enable per factory authorisations
authorWim Taymans <wim.taymans@collabora.co.uk>
Wed, 12 Jan 2011 12:57:09 +0000 (13:57 +0100)
committerWim Taymans <wim.taymans@collabora.co.uk>
Wed, 12 Jan 2011 12:57:09 +0000 (13:57 +0100)
commit7797023fda21479a844ed18389c06dca3c7efede
treeb3106b996e2a2aa90010242b37eea4ff65adc41b
parent5773df1d52fba53f891c725f666ad8dd903a2e3a
media: enable per factory authorisations

Allow for adding a GstRTSPAuth on the factory and media level and check
permissions when accessing the factory.
Add hints to the auth methods for future more fine grained authorisation.
Add example application for per factory authentication.
12 files changed:
examples/.gitignore
examples/Makefile.am
examples/test-auth.c [new file with mode: 0644]
examples/test-video.c
gst/rtsp-server/rtsp-auth.c
gst/rtsp-server/rtsp-auth.h
gst/rtsp-server/rtsp-client.c
gst/rtsp-server/rtsp-media-factory.c
gst/rtsp-server/rtsp-media.c
gst/rtsp-server/rtsp-media.h
gst/rtsp-server/rtsp-session-pool.h
gst/rtsp-server/rtsp-session.h