summary |
shortlog | log |
commit |
commitdiff |
tree
first ⋅ prev ⋅ next
Sebastian Pölsterl [Fri, 17 Apr 2009 19:13:07 +0000 (21:13 +0200)]
Updated vala bindings
Wim Taymans [Tue, 14 Apr 2009 21:38:58 +0000 (23:38 +0200)]
server: use appsink and appsrc with the API
Use the appsink/appsrc API instead of the signals for higher
performance.
Wim Taymans [Tue, 14 Apr 2009 21:38:15 +0000 (23:38 +0200)]
tests: set the payload type correctly
Wim Taymans [Fri, 3 Apr 2009 20:46:22 +0000 (22:46 +0200)]
factory: connect to the unprepare signal
Connect to the unprepare signal for non-reusable media so that we can remove
them from the cache.
Wim Taymans [Fri, 3 Apr 2009 20:45:57 +0000 (22:45 +0200)]
media: add signal to notify of unprepare
Wim Taymans [Fri, 3 Apr 2009 20:22:30 +0000 (22:22 +0200)]
media: more work on making the media shared
Add a reusable flag to medias, indicating that they can be reused after a state
change to NULL.
Small cleanups.
Wim Taymans [Fri, 3 Apr 2009 17:47:38 +0000 (19:47 +0200)]
examples: mark the example as shared for testing
Wim Taymans [Fri, 3 Apr 2009 17:44:37 +0000 (19:44 +0200)]
client: support shared media
Always perform the state actions even if the target state of the pipeline is
already correct, we still want to add/remove the transports when we are dealing
with shared media.
Keep a counter of the number of active transports for a media so that we can use
this to perform a state change when needed.
Perform a state change of the pipeline only when the first transport was added
or when there are no active transports.
Wim Taymans [Fri, 3 Apr 2009 07:03:59 +0000 (09:03 +0200)]
client: fix refcounting crasher
Don't need to remove the weak refs in the finalize methods, they are already
removed in the dispose.
Don't register the callback with a DestroyNofity.
Tim-Philipp Müller [Wed, 1 Apr 2009 00:01:46 +0000 (01:01 +0100)]
Fix rtsp client refcount management in TCP mode.
Don't unref a client ref we never had. Fixes an unref
of an already-free client object after a client
teardown request for me.
Tim-Philipp Müller [Tue, 31 Mar 2009 23:45:17 +0000 (00:45 +0100)]
docs: fix typo in API docs
Wim Taymans [Fri, 13 Mar 2009 14:57:42 +0000 (15:57 +0100)]
More seeking fixes.
Keep the udp sources in playing even if we go to paused. unlock the sources when
we shut down.
Add some more debug info.
Only seek when we need to.
Keep track of the position when we go to paused.
Wim Taymans [Thu, 12 Mar 2009 19:32:14 +0000 (20:32 +0100)]
Add beginnings of seeking.
Parse the Range header and perform a seek on the pipeline for the requested
position. It's disabled currently until I figure out what's going wrong.
Wim Taymans [Thu, 12 Mar 2009 19:31:22 +0000 (20:31 +0100)]
allow pause requests for now.
--
Wim Taymans [Wed, 11 Mar 2009 19:03:06 +0000 (20:03 +0100)]
Remove weak ref on the session in teardown
We need to remove our weakref from the session when we do a teardown because
else we close the TCP connection prematurely.
Wim Taymans [Wed, 11 Mar 2009 18:38:06 +0000 (19:38 +0100)]
Do some more session cleanup
Make session timeout kill the TCP connection that currently watches the
session.
Remove the client timeout property.
Wim Taymans [Wed, 11 Mar 2009 15:45:12 +0000 (16:45 +0100)]
Add TCP transports
Use appsrc and appsink to send and receive RTP/RTCP packets in the TCP
connection.
Wim Taymans [Wed, 11 Mar 2009 15:39:20 +0000 (16:39 +0100)]
Add example server that takes launch lines
Add an example server that streams any -launch line.
Wim Taymans [Fri, 6 Mar 2009 18:34:14 +0000 (19:34 +0100)]
Add support for live streams
Add support for live streams and ranges
Start on handling TCP data transfer.
Wim Taymans [Wed, 4 Mar 2009 15:33:59 +0000 (16:33 +0100)]
Free the pipeline before other things
---
Wim Taymans [Wed, 4 Mar 2009 15:33:21 +0000 (16:33 +0100)]
Only free the pending tunnel if there is one
--
Wim Taymans [Wed, 4 Mar 2009 11:44:01 +0000 (12:44 +0100)]
rtsp-server: Add support for tunneling
Add support for tunneling over HTTP.
Use new connection methods to retrieve the url.
Dispatch messages based on the message type instead of blindly
assuming it's always a request.
Keep track of the watch id so that we can remove it later.
Set the media pipeline to NULL before unreffing the pipeline.
Wim Taymans [Thu, 19 Feb 2009 14:53:50 +0000 (15:53 +0100)]
Fix for channel -> watch rename in gstreamer
Rename the RTSPChannel to RTSPWatch and remove an unused variable.
Wim Taymans [Wed, 18 Feb 2009 17:57:31 +0000 (18:57 +0100)]
Use ASYNC RTSP io
Use the async RTSP channels instead of spawning a new thread for each client.
If a sessionid is specified in a request, fail if we don't have the session.
Wim Taymans [Wed, 18 Feb 2009 16:49:03 +0000 (17:49 +0100)]
Add better debug info
Add some better debug info.
Wim Taymans [Fri, 13 Feb 2009 19:00:34 +0000 (20:00 +0100)]
Time out sessions
Add support for session timeouts in the example.
Wim Taymans [Fri, 13 Feb 2009 18:58:17 +0000 (19:58 +0100)]
Pass GTimeVal around for performance reasons
Get the current time only once and pass it around so that sessions don't have to
get the current time anymore.
Add experimental support for a GSource that dispatches when the session needs to
be cleaned up.
Wim Taymans [Fri, 13 Feb 2009 18:56:01 +0000 (19:56 +0100)]
Add better support for session timeouts
Add a method to request the number of milliseconds when a session will timeout.
Wim Taymans [Fri, 13 Feb 2009 18:54:18 +0000 (19:54 +0100)]
Add suport for RTP manager monitoring
Add the first stage in monitoring the rtp manager.
Make sure we don't update the state to something we don't want.
Wim Taymans [Fri, 13 Feb 2009 18:52:05 +0000 (19:52 +0100)]
Add support for session keepalive
Get and update the session timeout for all requests. get the session as early as
possible.
Wim Taymans [Fri, 13 Feb 2009 15:39:36 +0000 (16:39 +0100)]
Handle media bus messages
Handle media bus messages in a custom mainloop and dispatch them to the
RTSPMedia objects. Let the default implementation handle some common messages.
Wim Taymans [Fri, 13 Feb 2009 11:57:45 +0000 (12:57 +0100)]
Some more session timeout handling
Move the session header setting code to a central place so that we always add
the timeout parameter too.
Handle timeouts by running the session cleanup code.
Stop media before cleaning up.
Wim Taymans [Tue, 10 Feb 2009 15:24:13 +0000 (16:24 +0100)]
Add timeout property
Add a timeout property ot the client and make the other properties into GObject
properties.
Wim Taymans [Tue, 10 Feb 2009 15:21:17 +0000 (16:21 +0100)]
Use getters and setters in property code
Use the getters and setters for the timeout property instead of locking
ourselves.
Wim Taymans [Wed, 4 Feb 2009 19:13:32 +0000 (20:13 +0100)]
Merge branch 'master' of git+ssh://git.collabora.co.uk/git/gst-rtsp-server
Wim Taymans [Wed, 4 Feb 2009 19:10:39 +0000 (20:10 +0100)]
Add more timeout stuff
Add method to check if a session is expired.
Add method to perform cleanup on a session pool.
Wim Taymans [Wed, 4 Feb 2009 18:52:50 +0000 (19:52 +0100)]
Add beginnings of session timeouts and limits
Add the timeout value to the Session header for unusual timeout values.
Allow us to configure a limit to the amount of active sessions in a pool. Set a
limit on the amount of retry we do after a sessionid collision.
Add properties to the sessionid and the timeout of a session. Keep track of
creation time and last access time for sessions.
Wim Taymans [Wed, 4 Feb 2009 16:00:42 +0000 (17:00 +0100)]
Cleanup of sessions and more
Fix the refcounting of media and sessions in the client. Properly clean up the
session data when the client performs a teardown.
Add Server header to responses.
Allow for multiple uri setups in one session.
Add Range header to the PLAY response and add the range attribute to the SDP
message.
Fix the session pool remove method, it used the wrong key in the hashtable. Also
give the ownership of the sessionid to the session object.
Wim Taymans [Wed, 4 Feb 2009 08:57:55 +0000 (09:57 +0100)]
Rename a variable
Rename the 'server_port' variable to simply 'port'.
Wim Taymans [Tue, 3 Feb 2009 18:32:38 +0000 (19:32 +0100)]
Rework the way we handle transports for streams
Make the media accept an array of transports for the streams that we have
configured for the play/pause requests.
Implement server states for a client and its media.
Require 0.10.22.1 (git HEAD) of gstreamer.
Wim Taymans [Sat, 31 Jan 2009 18:50:33 +0000 (19:50 +0100)]
Drop const from functions dealing with urls
Drop const from GstRTSPUrl stuff because the .h files in gst-plugins-base don't
have the right const in them.
Wim Taymans [Fri, 30 Jan 2009 16:06:26 +0000 (17:06 +0100)]
Fix various leaks
Fix some leaks.
Wim Taymans [Fri, 30 Jan 2009 15:24:10 +0000 (16:24 +0100)]
More cleanups
Don't keep a reference to the GstRTSPMedia in the stream.
Free more things when freeing the GstRTSPMedia.
Wim Taymans [Fri, 30 Jan 2009 13:53:28 +0000 (14:53 +0100)]
More docs and small cleanups
Add some more docs and update the README
Cleanup some method names.
Remove an unneeded idx field in the GstRTSPMediaStream
Wim Taymans [Fri, 30 Jan 2009 12:24:04 +0000 (13:24 +0100)]
Add a README and more example code
Add a README file that contains a small introduction on how to use the server
along with the example code explained in the readme.
Wim Taymans [Fri, 30 Jan 2009 10:06:31 +0000 (11:06 +0100)]
Fix some leaks and change default port
Fix some memory leaks by setting the udpsrc elements to the unlocked state after
we finished the initial preroll. If we keep them locked, setting the pipeline to
NULL will not stop and clean up the sources correctly.
Change the default RTSP port to 8554 aka the official alternative RTSP port.
Wim Taymans [Thu, 29 Jan 2009 17:55:22 +0000 (18:55 +0100)]
Cleanups to the session object
Remove some unneeded variables in the session state of a stream such as the
owner media and the server transport.
Get the configuration of a media stream in a session based on the media_stream
in the original object instead of our cached index.
Free more data in the finalize method.
Wim Taymans [Thu, 29 Jan 2009 17:51:02 +0000 (18:51 +0100)]
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.
Wim Taymans [Thu, 29 Jan 2009 16:20:27 +0000 (17:20 +0100)]
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.
Wim Taymans [Thu, 29 Jan 2009 16:19:21 +0000 (17:19 +0100)]
Add a little comment
Add some comment about the content-base header.
Wim Taymans [Thu, 29 Jan 2009 12:31:27 +0000 (13:31 +0100)]
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.
Wim Taymans [Fri, 30 Jan 2009 10:23:57 +0000 (11:23 +0100)]
Back to development
Back to 0.10.1.1
Wim Taymans [Fri, 30 Jan 2009 10:20:18 +0000 (11:20 +0100)]
Make 0.10.1 release
Release 0.10.1
Wim Taymans [Thu, 29 Jan 2009 14:19:01 +0000 (15:19 +0100)]
Fix make dist
Add more directories and files to the dist.
Sebastian Pölsterl [Sat, 24 Jan 2009 13:34:35 +0000 (14:34 +0100)]
Fixed compile error of python bindings
Sebastian Pölsterl [Fri, 23 Jan 2009 20:03:53 +0000 (21:03 +0100)]
Marked values as nullable accordingly
Sebastian Pölsterl [Fri, 23 Jan 2009 19:31:11 +0000 (20:31 +0100)]
Updated Vala bindings
Wim Taymans [Thu, 22 Jan 2009 17:35:17 +0000 (18:35 +0100)]
Cleanups and doc updates
Add some more documentation and do some minor cleanups here and there.
Wim Taymans [Thu, 22 Jan 2009 16:58:19 +0000 (17:58 +0100)]
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.
Wim Taymans [Thu, 22 Jan 2009 15:54:07 +0000 (16:54 +0100)]
Update example
Add some more docs and remove some old code from the example.
Wim Taymans [Thu, 22 Jan 2009 15:53:16 +0000 (16:53 +0100)]
Handle state change failures better
Handle state change failures better when changing the state of the pipeline to
determine the SDP.
Wim Taymans [Thu, 22 Jan 2009 15:51:08 +0000 (16:51 +0100)]
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.
Wim Taymans [Thu, 22 Jan 2009 14:33:29 +0000 (15:33 +0100)]
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.
Wim Taymans [Tue, 20 Jan 2009 18:47:07 +0000 (19:47 +0100)]
Allow setting a custom media factory for a server
Wim Taymans [Tue, 20 Jan 2009 18:46:21 +0000 (19:46 +0100)]
Allow setting a custom media factory for a client.
Wim Taymans [Tue, 20 Jan 2009 18:45:28 +0000 (19:45 +0100)]
Add Makefile entry for the media factory
Wim Taymans [Tue, 20 Jan 2009 18:44:45 +0000 (19:44 +0100)]
Add media factory to map urls to media pipeline objects.
Wim Taymans [Tue, 20 Jan 2009 18:43:47 +0000 (19:43 +0100)]
Add comments.
Remove unused field
Wim Taymans [Tue, 20 Jan 2009 18:41:53 +0000 (19:41 +0100)]
Allow custom session pools to override the session id allocation algorithms
Add some comments.
Wim Taymans [Tue, 20 Jan 2009 18:40:42 +0000 (19:40 +0100)]
Add some comments.
Wim Taymans [Tue, 20 Jan 2009 12:57:47 +0000 (13:57 +0100)]
Move the connection code in one place
Add some comments
Wim Taymans [Tue, 20 Jan 2009 12:19:36 +0000 (13:19 +0100)]
Make vmethod to create and accept new clients.
Add some docs.
Wim Taymans [Mon, 19 Jan 2009 18:36:23 +0000 (19:36 +0100)]
Make more properties configurable in the server.
Expose the GIOChannel and GSource better to allow for more customisations.
Wim Taymans [Mon, 19 Jan 2009 18:34:29 +0000 (19:34 +0100)]
Name the parameters more appropriately.
Wim Taymans [Mon, 19 Jan 2009 18:32:28 +0000 (19:32 +0100)]
Do some more cleanup of the session pool.
Wim Taymans [Thu, 8 Jan 2009 15:28:24 +0000 (16:28 +0100)]
Check if return value of gst_rtsp_session_get_media is not NULL
Wim Taymans [Thu, 8 Jan 2009 14:02:42 +0000 (15:02 +0100)]
Install rtsp-session and rtsp-session-pool headers
Wim Taymans [Thu, 8 Jan 2009 13:57:55 +0000 (14:57 +0100)]
Add python bindings.
Wim Taymans [Thu, 8 Jan 2009 13:53:47 +0000 (14:53 +0100)]
Don't go into python dir when requirements for python bindings are missing
Wim Taymans [Thu, 8 Jan 2009 13:49:57 +0000 (14:49 +0100)]
Install Vala bindings if vala is available
Sebastian Pölsterl [Fri, 12 Dec 2008 15:22:02 +0000 (16:22 +0100)]
Regenerated Vala bindings
Sebastian Pölsterl [Mon, 8 Dec 2008 12:19:40 +0000 (13:19 +0100)]
Fixed typo in included headers for vala bindings
Wim Taymans [Thu, 8 Jan 2009 13:42:10 +0000 (14:42 +0100)]
Added pkgconfig file
Sebastian Pölsterl [Sun, 30 Nov 2008 22:57:26 +0000 (23:57 +0100)]
Adjusted included headersfor Vala bindings. Ignore rtsp-url-compat.h
Sebastian Pölsterl [Sun, 30 Nov 2008 22:41:20 +0000 (23:41 +0100)]
Added Vala bindings
Alessandro Decina [Sat, 25 Oct 2008 21:36:16 +0000 (23:36 +0200)]
Change an obviously wrong return FALSE to return NULL;
(cherry picked from commit
56d4fb48030db3ae45f3f0e60b29b36f3134322b)
Sebastian Pölsterl [Thu, 13 Nov 2008 18:43:10 +0000 (19:43 +0100)]
Put GStreamer version in library name
Wim Taymans [Thu, 8 Jan 2009 12:51:26 +0000 (13:51 +0100)]
Fix some issues to pass distcheck
Wim Taymans [Thu, 8 Jan 2009 12:41:33 +0000 (13:41 +0100)]
Added port property to GstRTSPServer class.
Wim Taymans [Thu, 8 Jan 2009 12:18:55 +0000 (13:18 +0100)]
Split in library and example program
Sebastian Pölsterl [Mon, 10 Nov 2008 19:59:35 +0000 (20:59 +0100)]
Removed obsolete variable
Sebastian Pölsterl [Mon, 10 Nov 2008 20:03:15 +0000 (21:03 +0100)]
Removed pipeline variable GstRTSPClient, because it's only used in one function
Wim Taymans [Thu, 8 Jan 2009 10:22:58 +0000 (11:22 +0100)]
Set the payload types for the different payloaders. Maybe this shoulde be
done automatically instead.
Wim Taymans [Thu, 23 Oct 2008 10:23:27 +0000 (12:23 +0200)]
Initialize some more vars.
Wim Taymans [Thu, 23 Oct 2008 10:14:55 +0000 (12:14 +0200)]
Initialize variable to avoid compiler warning.
Simon McVittie [Thu, 9 Oct 2008 12:30:47 +0000 (13:30 +0100)]
Add a reasonable generic .gitignore
Wim Taymans [Thu, 9 Oct 2008 12:29:12 +0000 (13:29 +0100)]
Initial import