gstreamer/tests/check/gst
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
..
addresspool.c address-pool: fix address increment 2013-11-12 16:54:59 +01:00
client.c rtsp-client: Report RECORD and ANNOUNCE as supported in the OPTIONS 2015-11-17 01:12:28 +11:00
media.c tests: unit test fixes 2016-02-23 17:05:15 +02:00
mediafactory.c media: add suspend modes 2013-11-28 16:18:39 +01:00
mountpoints.c mountpoints tests: unref matched factories 2013-09-06 19:03:22 +01:00
permissions.c tests: Add unit tests for permissions 2013-11-12 09:54:46 +01:00
rtspclientsink.c rtspsink: Fix some leaks in rtspclientsink and the unit test. 2016-02-24 02:12:08 +11:00
rtspserver.c rtsp-stream: Fix crash on cleanup with shared media and multiple udpsrc 2016-04-29 11:49:14 +03:00
sessionmedia.c tests: fix memory leak in sessionmedia unit test 2014-05-02 19:58:40 +01:00
sessionpool.c rtsp-session-pool: Fixes annotation 2014-04-12 06:15:03 +02:00
stream.c stream: revert back to create udpsrc/udpsink on DESCRIBE for unicast 2016-09-05 13:36:17 +03:00
threadpool.c tests: Improve code coverage of rtsp-threadpool tests 2014-03-24 00:44:55 +00:00
token.c tests: Add unit tests for token 2013-11-12 10:44:43 +01:00