gstreamer/tests
Xavier Claessens 8495c47a9d stream: revert back to create udpsrc/udpsink on DESCRIBE for unicast
This is basically reverting changes introduced in commit f62a9a7,
because it was introducing various regressions:

- It introduces a leak of udpsrc elements that got wrongly fixed by adding
  an hash table in commit cba045e. We should have at most 4 udpsrc for unicast:
  ipv4/ipv6, rtp/rtcp. They can be reused for all unicast clients.
- If a mcast client connects, it creates a new socket in SETUP to try to respect
  the destination/port given by the client in the transport, and overrides the
  socket already set on the udpsink element. That means that if we already had a
  client connected, the source address on the udp packets it receives suddenly
  changes.
- If a 2nd mcast client connects, the destination/port in its transport is
  ignored but its transport wasn't updated.

What this patch does:

- Revert back to create udpsrc/udpsink for unicast clients on DESCRIBE.
- Always have a tee+queue when udp is enabled. This could be optimized
  again in a later patch, but is more complicated. If no unicast clients
  connects then those elements are useless, this could be also optimized
  in a later patch.
- When mcast transport is added, it creates a new set of udpsrc/udpsink,
  seperated from those for unicast clients. Since we already support only
  one mcast address, we also create only one set of elements.

https://bugzilla.gnome.org/show_bug.cgi?id=766612
2016-09-05 13:36:17 +03:00
..
check stream: revert back to create udpsrc/udpsink on DESCRIBE for unicast 2016-09-05 13:36:17 +03:00
.gitignore tests: add tests directory and cleanup test 2011-01-12 18:16:46 +01:00
Makefile.am configure: Synchronise with the configure scripts of the other modules 2014-02-09 10:41:14 +01:00
meson.build Add support for Meson as alternative/parallel build system 2016-08-31 00:04:43 +01:00
test-cleanup.c Fix timeout function signatures across tests and examples 2015-04-23 20:12:18 +02:00
test-reuse.c Fix timeout function signatures across tests and examples 2015-04-23 20:12:18 +02:00