Commit graph

67 commits

Author SHA1 Message Date
Wim Taymans 96f7c61a15 test: enable SRTP only on RTSPS
We only want to enable SRTP when doing rtsp over TLS so that we can
exchange the keys in a secure way.
2014-03-25 12:42:39 +01:00
Wim Taymans 131e1d6c77 test: print an error on failure 2014-03-25 12:41:33 +01:00
Wim Taymans 3d6175c745 stream: add SRTP support
Install srtp encoder and decoder elements in rtpbin
Add MIKEY in SDP
2014-03-25 10:31:21 +01:00
Wim Taymans 2bd90b539c sdp: pass multicast connection for multicast-only stream
Pass the multicast address of the stream in the connection info in the
SDP so that clients try a multicast connection first.
Only allow multicast connections in the test-multicast example. Also
increase the TTL a little.
2014-03-03 15:12:55 +01:00
Tim-Philipp Müller c3896849b2 examples: use LDADD for libs instead of LDFLAGS 2014-02-25 15:13:40 +00:00
Tim-Philipp Müller 2234b4a503 examples: test-cgroups: don't put code with side effects into g_assert()
The g_assert() might get compiled out with the right
compiler/preprocessor flags.
2014-02-25 14:11:00 +00:00
Tim-Philipp Müller 035d951591 examples: add cgroup test binary to .gitignore 2014-02-25 14:07:50 +00:00
Tim-Philipp Müller f68db78a1d examples: fix cgroup test build
Fixes build failure caused by compiler warning:
test-cgroups.c:82:35: error: no previous prototype for ‘gst_rtsp_cgroup_pool_get_type’ [-Werror=missing-prototypes]
2014-02-25 14:06:47 +00:00
Aleix Conchillo Flaque fcad523dd7 examples: fix compilation when WITH_AUTH is defined
https://bugzilla.gnome.org/show_bug.cgi?id=710228
2013-10-30 19:12:10 +01:00
Wim Taymans d3776cc80b Makefile: add rule for appsrc example 2013-08-23 15:15:12 +02:00
Wim Taymans 94ed18008a tests: add appsrc example
Add an example on how to use appsrc to feed the server pipeline with data.
2013-08-23 15:14:29 +02:00
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