Make the server handle arbitrary pipelines
authorWim Taymans <wim.taymans@collabora.co.uk>
Thu, 22 Jan 2009 14:33:29 +0000 (15:33 +0100)
committerWim Taymans <wim@wtay.(none)>
Thu, 22 Jan 2009 14:33:29 +0000 (15:33 +0100)
commit4b1c190a5fa5dc0b633072da5c9182b90afb300f
tree28ee6a104c6b50e558ba1bbf2b852504a39a582b
parentddf17f338b3c8702e8f9da7b786407af40383686
Make the server handle arbitrary pipelines

Make GstMediaFactory an object that can instantiate GstMediaBin objects.
The GstMediaBin object has a handle to a bin with elements and to a list of
GstMediaStream objects that this bin produces.

Add GstMediaMapper that can map url mountpoints to GstMediaFactory objects along
with methods to register and remove those mappings.

Add methods and a property to GstRTSPServer to manage the GstMediaMapper object
used by the server instance.

Modify the example application so that it shows how to create custom pipelines
attached to a specific mount point.

Various misc cleanps.
14 files changed:
examples/main.c
gst/rtsp-server/Makefile.am
gst/rtsp-server/rtsp-client.c
gst/rtsp-server/rtsp-client.h
gst/rtsp-server/rtsp-media-factory.c
gst/rtsp-server/rtsp-media-factory.h
gst/rtsp-server/rtsp-media-mapping.c [new file with mode: 0644]
gst/rtsp-server/rtsp-media-mapping.h [new file with mode: 0644]
gst/rtsp-server/rtsp-media.c
gst/rtsp-server/rtsp-media.h
gst/rtsp-server/rtsp-server.c
gst/rtsp-server/rtsp-server.h
gst/rtsp-server/rtsp-session.c
gst/rtsp-server/rtsp-session.h