1. 13 Mar, 2009 1 commit
    • Wim Taymans's avatar
      More seeking fixes. · 8f914515
      Wim Taymans authored
      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.
      8f914515
  2. 12 Mar, 2009 2 commits
  3. 11 Mar, 2009 4 commits
  4. 06 Mar, 2009 1 commit
  5. 04 Mar, 2009 3 commits
  6. 19 Feb, 2009 1 commit
  7. 18 Feb, 2009 2 commits
    • Wim Taymans's avatar
      Use ASYNC RTSP io · 39c2e31e
      Wim Taymans authored
      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.
      39c2e31e
    • Wim Taymans's avatar
      Add better debug info · b70a6c9d
      Wim Taymans authored
      Add some better debug info.
      b70a6c9d
  8. 13 Feb, 2009 7 commits
  9. 10 Feb, 2009 2 commits
  10. 04 Feb, 2009 5 commits
    • Wim Taymans's avatar
    • Wim Taymans's avatar
      Add more timeout stuff · ae9da4c5
      Wim Taymans authored
      Add method to check if a session is expired.
      Add method to perform cleanup on a session pool.
      ae9da4c5
    • Wim Taymans's avatar
      Add beginnings of session timeouts and limits · aedd4652
      Wim Taymans authored
      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.
      aedd4652
    • Wim Taymans's avatar
      Cleanup of sessions and more · e789a8fd
      Wim Taymans authored
      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.
      e789a8fd
    • Wim Taymans's avatar
      Rename a variable · 077a31b8
      Wim Taymans authored
      Rename the 'server_port' variable to simply 'port'.
      077a31b8
  11. 03 Feb, 2009 1 commit
    • Wim Taymans's avatar
      Rework the way we handle transports for streams · d5a00f1f
      Wim Taymans authored
      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.
      d5a00f1f
  12. 31 Jan, 2009 1 commit
  13. 30 Jan, 2009 10 commits
    • Wim Taymans's avatar
      Fix various leaks · ae252109
      Wim Taymans authored
      Fix some leaks.
      ae252109
    • Wim Taymans's avatar
      More cleanups · 27f069b4
      Wim Taymans authored
      Don't keep a reference to the GstRTSPMedia in the stream.
      Free more things when freeing the GstRTSPMedia.
      27f069b4
    • Wim Taymans's avatar
      More docs and small cleanups · 1b922507
      Wim Taymans authored
      Add some more docs and update the README
      Cleanup some method names.
      Remove an unneeded idx field in the GstRTSPMediaStream
      1b922507
    • Wim Taymans's avatar
      Add a README and more example code · 031791dd
      Wim Taymans authored
      Add a README file that contains a small introduction on how to use the server
      along with the example code explained in the readme.
      031791dd
    • Wim Taymans's avatar
      Fix some leaks and change default port · edd21756
      Wim Taymans authored
      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.
      edd21756
    • Wim Taymans's avatar
      Cleanups to the session object · 704720f3
      Wim Taymans authored
      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.
      704720f3
    • Wim Taymans's avatar
      Cleanups and reuse media from DESCRIBE · b19b1fbe
      Wim Taymans authored
      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.
      b19b1fbe
    • Wim Taymans's avatar
      Add shared properties to media and factory · 998cf7d5
      Wim Taymans authored
      Add the shared property to media.
      Implement some simple caching in the factory depending on if the media is shared
      or not.
      998cf7d5
    • Wim Taymans's avatar
      Add a little comment · 08209900
      Wim Taymans authored
      Add some comment about the content-base header.
      08209900
    • Wim Taymans's avatar
      Reorganize things, prepare for media sharing · 41dd6399
      Wim Taymans authored
      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.
      41dd6399