Commit graph

56 commits

Author SHA1 Message Date
Wim Taymans
d423c25a3f tests: add some more docs 2013-07-22 17:27:27 +02:00
Wim Taymans
f78a65379c ClientState -> Context
Rename the clientstate to context and put the code in a separate file.
2013-07-22 14:25:04 +02:00
Wim Taymans
25547176be auth: add support for default token
The default token is used when the user is not authenticated and can be used to
give minimal permissions.
2013-07-18 12:27:33 +02:00
Wim Taymans
1a307c707d auth: use defines when possible 2013-07-18 12:27:33 +02:00
Wim Taymans
b8c5aa3a6b token: simplify token constructor
Use variable arguments to make easier API.
2013-07-12 16:36:05 +02:00
Wim Taymans
67d0fbc048 media-factory: add convenience API for factory 2013-07-12 16:17:57 +02:00
Wim Taymans
facc91a942 permissions: simplify API a little
Avoid passing GstStructure in the add_role method, use varargs instead
to construct the structure behind the scenes. We can then also use the
structure name as the role and simplify some more logic.
2013-07-12 16:17:15 +02:00
Wim Taymans
4b2e6d88b3 auth: move TLS handling to auth module
Remove the TLS settings on the server and move it to the auth module because
that is where security related bits go.
2013-07-12 12:41:52 +02:00
Wim Taymans
2fdc6ef88a configure: compile cgroup example conditionally
Only compile the cgroup example when we have libcgroup
2013-07-11 10:28:06 +02:00
Wim Taymans
5c6bb3052f examples: add cgroups example 2013-07-10 20:57:12 +02:00
Wim Taymans
16cfb7b8c0 test: add permissions to auth test
Ass some permissions to the media factory in the test.
2013-07-09 16:09:07 +02:00
Wim Taymans
a63f4a2a4c auth: add auth checks
Add an enum with auth checks and implement the checks in the auth object.
Perform the checks from the client.
2013-07-08 16:29:01 +02:00
Wim Taymans
fb7c9b8122 auth: use the token after authentication
After we authenticated a user, keep the Token around in the state.
2013-07-08 11:10:20 +02:00
Wim Taymans
19cffc7999 auth: remove auth from media and factory
Remove the auth object from media and factory. We want to have the RTSPClient
authenticate and authorize resources, there is no need to place another auth
manager on the media/factory.
2013-07-05 20:53:19 +02:00
Wim Taymans
78bc979690 auth: add support for multiple basic auth tokens
Make it possible to add multiple basic authorisation tokens to one authorization
object. Associate with each token an authorization group that will define what
capabilities are allowed.
2013-07-04 14:33:59 +02:00
Wim Taymans
d1339f60f4 example: add TLS example 2013-05-31 12:11:12 +02:00
Wim Taymans
b614319622 tests: add example of reusable pipelines 2013-04-22 17:33:30 +02:00
Wim Taymans
ad00c5e792 rtsp: make object details private
Make all object details private
Add methods to access private bits
2012-11-29 11:11:05 +01:00
Wim Taymans
922a786519 examples: fix include 2012-11-28 11:40:33 +01:00
Wim Taymans
1d53c46d23 MediaMapping -> MountPoints
Describes better what the object manages.
2012-11-26 12:37:55 +01:00
Wim Taymans
9387c4b451 examples: fix whitespace 2012-11-21 16:41:37 +01:00
Wim Taymans
ca11abd193 test-auth: add example of how to remove sessions
Add an example of the session filter api.
2012-11-20 13:34:46 +01:00
Wim Taymans
1023b60959 test-uri: remove mapping example 2012-11-20 12:47:49 +01:00
Wim Taymans
f494eec5e7 test-uri: fix callback signature 2012-11-20 12:47:20 +01:00
Wim Taymans
18d6152af2 examples: add another multicast example
Add an example for how to configure separate multicast ranges for each media
stream.
2012-11-15 16:52:42 +01:00
Wim Taymans
a75d83e26d test: set shared 2012-11-15 16:21:51 +01:00
Wim Taymans
fde8c01a85 examples: add multicast example
Show how to set up the multicast address pool so that media can be
server with multicast.
2012-11-15 13:22:54 +01:00
Tim-Philipp Müller
4dba434f16 Fix FSF address 2012-11-04 00:14:25 +00:00
Wim Taymans
0bb0e3733c small fixes to docs and debug 2012-10-27 11:53:51 +02:00
Tim-Philipp Müller
449bc0dffb First rule of gst-rtsp-server club: don't talk about gst-phonon 2012-02-13 11:42:51 +00:00
Wim Taymans
57775e0999 example: update for new caps 2011-12-09 11:00:46 +01:00
Wim Taymans
fde25cd9c3 rtsp-server: port some more to 0.11
Fix caps.
Remove bufferlist stuff
Update for new API.
Add queue before appsink now that preroll-queue-len is gone.
Update for request pad changes.
2011-12-09 10:53:30 +01:00
Stefan Sauer
40c7bb6386 examples: tell rtsp uri when ready 2011-07-19 16:13:16 +02:00
Wim Taymans
459bc46e31 example: improve example docs a little 2011-01-12 18:33:49 +01:00
Wim Taymans
7797023fda 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.
2011-01-12 13:57:09 +01:00
Wim Taymans
5fb5f75020 auth: add authentication object
Add an object that can check the authorization of requests.
Implement basic authentication.
Add example authentication to test-video
2011-01-12 00:22:27 +01:00
Edward Hervey
2cc9eee3e6 gitignore: updates 2011-01-11 13:04:31 +01:00
Wim Taymans
5227832132 examples: add some more options and comments 2011-01-07 11:27:57 +01:00
Wim Taymans
8585dda467 example: add example of the uri factory 2010-12-11 18:06:26 +01:00
Edward Hervey
150f64892f examples: Run gst-indent 2010-12-11 10:49:30 +01:00
Wim Taymans
6b2c868b97 test-ogg: remove parsers
Remove the parsers, they are not needed anymore as oggdemux now outputs normal
buffers with timestamps. Using the parsers also seems to break things.
2010-10-04 17:16:40 +02:00
Wim Taymans
68804ff984 test: catch server bind errors 2010-03-09 13:41:33 +01:00
Wim Taymans
b0beb1c8d1 example: add SDP relay example 2009-05-24 20:00:19 +02:00
Wim Taymans
8d20ec3574 add some .gitignore files 2009-05-11 10:38:44 +02:00
Wim Taymans
5a074c81dd tests: set the payload type correctly 2009-04-14 23:38:15 +02:00
Wim Taymans
660006b04f examples: mark the example as shared for testing 2009-04-03 19:47:38 +02:00
Wim Taymans
da6f337745 Add example server that takes launch lines
Add an example server that streams any -launch line.
2009-03-11 16:39:20 +01:00
Wim Taymans
de1ebbc21b Add support for live streams
Add support for live streams and ranges
Start on handling TCP data transfer.
2009-03-06 19:34:14 +01:00
Wim Taymans
da0ef4a014 Time out sessions
Add support for session timeouts in the example.
2009-02-13 20:00:34 +01:00
Wim Taymans
031791ddd2 Add a README and more example code
Add a README file that contains a small introduction on how to use the server
along with the example code explained in the readme.
2009-01-30 13:24:04 +01:00