Commit graph

1550 commits

Author SHA1 Message Date
Wim Taymans
b19b1fbe6b Cleanups and reuse media from DESCRIBE
Handle thread create errors.
Rename some internal methods to better match what they actually do.
Handle misconfiguration of session_pool and media_mapping gracefully.
Cache the DESCRIBE media and uri in the client connection and reuse them when
we receive a SETUP request in the same connection for the same uri.
Cleanup the client connection object.
2009-01-30 12:17:51 +01:00
Wim Taymans
998cf7d5c7 Add shared properties to media and factory
Add the shared property to media.
Implement some simple caching in the factory depending on if the media is shared
or not.
2009-01-30 12:17:46 +01:00
Wim Taymans
082099005d Add a little comment
Add some comment about the content-base header.
2009-01-30 12:17:38 +01:00
Wim Taymans
41dd6399a6 Reorganize things, prepare for media sharing
Added various other test server examples
Move the SDP message generation to a separate helper.
Refactor common code for finding the session.
Add content-base for realplayer compatibility
Clean up request uris before processing for better vlc compatibility.
Move prerolling and pipeline construction to the RTSPMedia object.
Use multiudpsink for future pipeline reuse.
2009-01-30 12:17:28 +01:00
Wim Taymans
82a684e1b9 Back to development
Back to 0.10.1.1
2009-01-30 11:23:57 +01:00
Wim Taymans
0601746ccd Make 0.10.1 release
Release 0.10.1
2009-01-30 11:20:18 +01:00
Wim Taymans
3cba21129c Fix make dist
Add more directories and files to the dist.
2009-01-29 15:19:01 +01:00
Sebastian Pölsterl
5f2db2f239 Fixed compile error of python bindings 2009-01-24 17:49:04 +01:00
Sebastian Pölsterl
02711871d0 Marked values as nullable accordingly 2009-01-24 17:49:01 +01:00
Sebastian Pölsterl
ef9c3dc921 Updated Vala bindings 2009-01-24 17:48:47 +01:00
Wim Taymans
b0fcbfd290 Cleanups and doc updates
Add some more documentation and do some minor cleanups here and there.
2009-01-22 18:35:17 +01:00
Wim Taymans
cf18709634 More improvements
Rename GstRTSPMediaBin to GstRTSPMedia
Parse the request url into a GstRTSPUri object and pass this object to the
various handlers and methods that require the uri.
2009-01-22 17:58:19 +01:00
Wim Taymans
83cf4d8ee0 Update example
Add some more docs and remove some old code from the example.
2009-01-22 16:54:07 +01:00
Wim Taymans
6f9b659b1d Handle state change failures better
Handle state change failures better when changing the state of the pipeline to
determine the SDP.
2009-01-22 16:53:16 +01:00
Wim Taymans
28b65778f6 Make element creation more extendible
Add get_element vmethod to the default MediaFactory so that subclasses can just
override that method and still use the default logic for making a MediaBin from
that.
2009-01-22 16:51:08 +01:00
Wim Taymans
4b1c190a5f 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.
2009-01-22 15:33:29 +01:00
Wim Taymans
ddf17f338b Allow setting a custom media factory for a server 2009-01-20 19:47:07 +01:00
Wim Taymans
94d60a8611 Allow setting a custom media factory for a client. 2009-01-20 19:46:21 +01:00
Wim Taymans
f38c390736 Add Makefile entry for the media factory 2009-01-20 19:45:28 +01:00
Wim Taymans
63ee9e050f Add media factory to map urls to media pipeline objects. 2009-01-20 19:44:45 +01:00
Wim Taymans
852cc3973c Add comments.
Remove unused field
2009-01-20 19:43:47 +01:00
Wim Taymans
a3522af4f8 Allow custom session pools to override the session id allocation algorithms
Add some comments.
2009-01-20 19:41:53 +01:00
Wim Taymans
f00188b50e Add some comments. 2009-01-20 19:40:42 +01:00
Wim Taymans
b312f98627 Move the connection code in one place
Add some comments
2009-01-20 13:57:47 +01:00
Wim Taymans
74210e67be Make vmethod to create and accept new clients.
Add some docs.
2009-01-20 13:19:36 +01:00
Wim Taymans
491b20bedd Make more properties configurable in the server.
Expose the GIOChannel and GSource better to allow for more customisations.
2009-01-19 19:36:23 +01:00
Wim Taymans
8d2ace0026 Name the parameters more appropriately. 2009-01-19 19:34:29 +01:00
Wim Taymans
243b524f51 Do some more cleanup of the session pool. 2009-01-19 19:32:28 +01:00
Wim Taymans
a76656ad8d Check if return value of gst_rtsp_session_get_media is not NULL 2009-01-08 16:28:24 +01:00
Wim Taymans
b6e7986f45 Install rtsp-session and rtsp-session-pool headers 2009-01-08 15:02:42 +01:00
Wim Taymans
3f7bd92022 Add python bindings. 2009-01-08 14:57:55 +01:00
Wim Taymans
7bab61a10b Don't go into python dir when requirements for python bindings are missing 2009-01-08 14:53:47 +01:00
Wim Taymans
628fa854f0 Install Vala bindings if vala is available 2009-01-08 14:49:57 +01:00
Sebastian Pölsterl
60f1b91f1d Regenerated Vala bindings 2009-01-08 14:43:27 +01:00
Sebastian Pölsterl
4695395302 Fixed typo in included headers for vala bindings 2009-01-08 14:42:41 +01:00
Wim Taymans
26745cdbf5 Added pkgconfig file 2009-01-08 14:42:10 +01:00
Sebastian Pölsterl
eb68a892a6 Adjusted included headersfor Vala bindings. Ignore rtsp-url-compat.h 2009-01-08 14:40:48 +01:00
Sebastian Pölsterl
ce20c2ff8c Added Vala bindings 2009-01-08 13:56:10 +01:00
Alessandro Decina
51775b87d1 Change an obviously wrong return FALSE to return NULL;
(cherry picked from commit 56d4fb48030db3ae45f3f0e60b29b36f3134322b)
2009-01-08 13:55:07 +01:00
Sebastian Pölsterl
a8400faeab Put GStreamer version in library name 2009-01-08 13:52:10 +01:00
Wim Taymans
36fb0de01c Fix some issues to pass distcheck 2009-01-08 13:51:26 +01:00
Wim Taymans
55bdc67e49 Added port property to GstRTSPServer class. 2009-01-08 13:41:33 +01:00
Wim Taymans
7889395787 Split in library and example program 2009-01-08 13:18:55 +01:00
Sebastian Pölsterl
c91ec684e9 Removed obsolete variable 2009-01-08 12:56:41 +01:00
Sebastian Pölsterl
ea0531e461 Removed pipeline variable GstRTSPClient, because it's only used in one function 2009-01-08 12:56:27 +01:00
Wim Taymans
f205f8a9d1 Set the payload types for the different payloaders. Maybe this shoulde be
done automatically instead.
2009-01-08 11:22:58 +01:00
Wim Taymans
1f35c93f0a Initialize some more vars. 2008-10-23 12:23:27 +02:00
Wim Taymans
5e32c22828 Initialize variable to avoid compiler warning. 2008-10-23 12:14:55 +02:00
Simon McVittie
cd10a8c87e Add a reasonable generic .gitignore 2008-10-09 13:30:47 +01:00
Wim Taymans
5029c85a46 Initial import 2008-10-09 13:29:12 +01:00