client: rework setup request a little
authorWim Taymans <wim.taymans@collabora.co.uk>
Wed, 3 Jul 2013 13:55:38 +0000 (15:55 +0200)
committerWim Taymans <wim.taymans@collabora.co.uk>
Wed, 3 Jul 2013 13:55:38 +0000 (15:55 +0200)
commit9182263532c15861f3cbc09217e146fb708a823f
tree3b0818d3531d3d499c78d027b370ad909aab9e44
parent3999bd4e4e73f1c0812f173b4399eed327bcdf37
client: rework setup request a little

Cache the media in DESCRIBE based on the longest matching path with the uri
that we can find in the mount points.

Rework the setup request a little to get the media from the session or from
the longest matching path, this way we can derive the control string as
everything after the path instead of hardcoding it.

Find the stream based on the control string and only open a session when all
this can be done.
gst/rtsp-server/rtsp-client.c