Commit graph

173 commits

Author SHA1 Message Date
Olivier Crête
cda75709bb address-pool: Add API to request a specific address from the pool
Also add relevant unit tests.
2013-03-11 11:07:19 +01:00
Olivier Crête
bb7a8af077 tests: Check the passing around of a RTSPAddressPool
Make sure the RTSPAddressPool is propagated from the MediaFactory all the
way down to the stream.
2013-03-11 11:07:19 +01:00
Olivier Crête
2581cc103c tests: Add more tests for the address pool 2013-03-11 11:07:19 +01:00
Tim-Philipp Müller
114442bdb8 tests: use GST_*_1_0 environment variables everywhere
The _1_0 suffixed environment variables override the
non-suffixed ones, so if we're in an environment that
sets the _1_0 suffixed ones, such as jhbuild, we need
to set those to make sure ours actually always get
used.
2013-01-16 12:16:32 +00:00
Wim Taymans
28fd887547 media: avoid element leak 2012-11-29 17:20:56 +01: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
8665c3b494 tests: add media tests 2012-11-28 14:50:47 +01:00
Wim Taymans
b5fe0c29f1 tests: add mediafactory test 2012-11-28 12:40:46 +01:00
Wim Taymans
89974f2db1 tests: add test for mountpoints 2012-11-28 11:07:57 +01:00
Wim Taymans
46f8692087 tests: add more tests 2012-11-27 12:51:55 +01:00
Wim Taymans
faa0c446f7 test: add test for session in options request 2012-11-27 12:13:59 +01:00
Wim Taymans
3baaf0b0df tests: add unit test for the client object 2012-11-27 11:17:31 +01:00
Wim Taymans
1d53c46d23 MediaMapping -> MountPoints
Describes better what the object manages.
2012-11-26 12:37:55 +01:00
Wim Taymans
a0c2dca4dd test: add test for server reuse
See https://bugzilla.gnome.org/show_bug.cgi?id=688395
2012-11-20 11:30:49 +01:00
Wim Taymans
45b6693b39 rtsp: make address-pool return an address object
Return a boxed GstRTSPAddress from the GstRTSPAddressPool. This allows us to
store more info in the structure and allows us to more easily return the address
to the right pool when no longer needed.
Pass the address to the StreamTransport so that we can return it to the pool
when the stream transport is freed or changed.
2012-11-15 13:25:14 +01:00
Wim Taymans
d6fcf92601 tests: add addresspool unit test 2012-11-14 15:50:42 +01:00
Tim-Philipp Müller
4dba434f16 Fix FSF address 2012-11-04 00:14:25 +00:00
Sebastian Rasmussen
1240f98206 tests: Add libgio link dependency
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=686647
2012-10-22 18:07:52 +01:00
Patricia Muscalu
50e4c7e8c4 rtsp-server: fixed segfault in gst_rtsp_server_create_socket
Do not assume that *error is set in g_socket_address_enumerator_next.
Added test_bind_already_in_use unit-test.

Fixes https://bugzilla.gnome.org/show_bug.cgi?id=681914
2012-08-20 11:49:27 +02:00
Sebastian Rasmussen
4743624bb5 Have unit test get header from source dir, not installed dir
This makes compilation of unit tests work in a build directory other
than the source directory.

Fixes https://bugzilla.gnome.org/show_bug.cgi?id=678789
2012-06-27 11:42:21 +02:00
David Svensson Fors
df54c553ae rtsp: add unit test
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=678076
2012-06-19 15:25:36 +02:00
Sebastian Dröge
fb0718a036 rtsp-server: Update versioning 2012-04-04 14:48:44 +02:00
Wim Taymans
2be30a9268 tests: add tests directory and cleanup test 2011-01-12 18:16:46 +01:00