1. 14 May, 2007 1 commit
    • Wim Taymans's avatar
      gst/rtsp/gstrtspsrc.c: Parse range correctly. · 63b73eff
      Wim Taymans authored
      Original commit message from CVS:
      * gst/rtsp/gstrtspsrc.c: (gst_rtspsrc_parse_range):
      Parse range correctly.
      * gst/rtsp/rtspurl.c: (rtsp_url_get_request_uri):
      The baseurl now always has a '/' at the start.
      63b73eff
  2. 12 May, 2007 1 commit
  3. 23 Feb, 2007 1 commit
    • Jan Schmidt's avatar
      gst/rtsp/: Implement simple Basic Authentication support so that urls like... · 66df66da
      Jan Schmidt authored
      gst/rtsp/: Implement simple Basic Authentication support so that urls like rtsp://user:pass@hostname/rtspstream work ...
      
      Original commit message from CVS:
      * gst/rtsp/gstrtspsrc.c: (gst_rtspsrc_finalize),
      (gst_rtspsrc_create_stream), (rtsp_auth_method_to_string),
      (gst_rtspsrc_parse_auth_hdr), (gst_rtspsrc_setup_auth),
      (gst_rtspsrc_send), (gst_rtspsrc_try_send), (gst_rtspsrc_open),
      (gst_rtspsrc_close), (gst_rtspsrc_play), (gst_rtspsrc_pause),
      (gst_rtspsrc_uri_set_uri):
      * gst/rtsp/gstrtspsrc.h:
      * gst/rtsp/rtspconnection.c: (rtsp_connection_create),
      (append_auth_header), (rtsp_connection_send),
      (rtsp_connection_free), (rtsp_connection_set_auth):
      * gst/rtsp/rtspconnection.h:
      * gst/rtsp/rtspdefs.h:
      * gst/rtsp/rtspurl.c: (rtsp_url_get_request_uri):
      * gst/rtsp/rtspurl.h:
      Implement simple Basic Authentication support so that urls like
      rtsp://user:pass@hostname/rtspstream work on hosts that require
      authentication.
      66df66da
  4. 14 Feb, 2007 1 commit
  5. 18 Oct, 2006 1 commit
    • Wim Taymans's avatar
      gst/rtsp/: Reuse already existing enum for lower transport. · b14738fb
      Wim Taymans authored
      Original commit message from CVS:
      * gst/rtsp/gstrtspsrc.c: (gst_rtsp_lower_trans_get_type),
      (gst_rtspsrc_class_init), (gst_rtspsrc_loop_interleaved),
      (gst_rtspsrc_loop_udp), (gst_rtspsrc_open),
      (gst_rtspsrc_uri_get_protocols), (gst_rtspsrc_uri_set_uri):
      * gst/rtsp/rtspconnection.c: (rtsp_connection_create):
      * gst/rtsp/rtspdefs.h:
      * gst/rtsp/rtspurl.c: (rtsp_url_parse):
      * gst/rtsp/rtspurl.h:
      Reuse already existing enum for lower transport.
      Add rtspt and rtspu protocols.
      Send redirect to rtspt when udp times out.
      b14738fb
  6. 11 Oct, 2006 1 commit
    • Wim Taymans's avatar
      gst/rtsp/URLS: Added some other URL. · 7accf76d
      Wim Taymans authored
      Original commit message from CVS:
      * gst/rtsp/URLS:
      Added some other URL.
      * gst/rtsp/gstrtspsrc.c: (gst_rtspsrc_loop_udp),
      (gst_rtspsrc_handle_request), (gst_rtspsrc_send),
      (gst_rtspsrc_open), (gst_rtspsrc_play),
      (gst_rtspsrc_handle_message), (gst_rtspsrc_change_state):
      * gst/rtsp/gstrtspsrc.h:
      Work on fallback to TCP connection when the UDP socket times out.
      Handler server requests, just reply with OK for now.
      * gst/rtsp/rtspdefs.c: (rtsp_strresult):
      * gst/rtsp/rtspdefs.h:
      Added some more Real extension headers.
      * gst/rtsp/rtspurl.c: (rtsp_url_parse):
      Fix parsing of urls with a ':' that is not part of the hostname:port
      part of the url.
      7accf76d
  7. 20 Sep, 2006 1 commit
    • Wim Taymans's avatar
      gst/rtsp/URLS: Added some test URLS. · a365a29c
      Wim Taymans authored
      Original commit message from CVS:
      * gst/rtsp/URLS:
      Added some test URLS.
      * gst/rtsp/gstrtspsrc.c: (gst_rtspsrc_create_stream),
      (gst_rtspsrc_loop), (gst_rtspsrc_open):
      * gst/rtsp/gstrtspsrc.h:
      When creating streams, give access to the complete SDP.
      Fix some leaks.
      Collect and merge global stream properties in stream caps.
      Preliminary support for WMServer.
      * gst/rtsp/rtspconnection.c: (rtsp_connection_create),
      (rtsp_connection_connect), (rtsp_connection_read), (read_body),
      (rtsp_connection_receive):
      * gst/rtsp/rtspconnection.h:
      Make connection interruptable.
      Refactor to make it reconnectable.
      Don't fail on short reads when reading data packets.
      * gst/rtsp/rtspurl.c: (rtsp_url_parse), (rtsp_url_set_port),
      (rtsp_url_get_port):
      * gst/rtsp/rtspurl.h:
      Add methods for getting/setting the port.
      * gst/rtsp/sdpmessage.c: (sdp_message_get_attribute_val_n),
      (sdp_message_get_attribute_val), (sdp_media_get_attribute),
      (sdp_media_get_attribute_val_n), (sdp_media_get_attribute_val),
      (sdp_media_get_format), (sdp_parse_line),
      (sdp_message_parse_buffer):
      Fix headers.
      Add methods for getting multiple attributes with the same name.
      Increase buffer size when parsing.
      Fix parsing of a=foo fields.
      * gst/rtsp/test.c: (main):
      Update to new connection API.
      * gst/rtsp/rtspmessage.c: (rtsp_message_new_response),
      (rtsp_message_init_response), (rtsp_message_init_data),
      (rtsp_message_unset), (rtsp_message_free), (rtsp_message_dump):
      * gst/rtsp/rtspmessage.h:
      * gst/rtsp/rtsptransport.c: (rtsp_transport_free):
      * gst/rtsp/rtsptransport.h:
      * gst/rtsp/sdp.h:
      * gst/rtsp/sdpmessage.h:
      * gst/rtsp/gstrtsp.c:
      * gst/rtsp/gstrtsp.h:
      * gst/rtsp/gstrtpdec.c:
      * gst/rtsp/gstrtpdec.h:
      * gst/rtsp/rtsp.h:
      * gst/rtsp/rtspdefs.c:
      * gst/rtsp/rtspdefs.h:
      Dual licensed under MIT and LGPL now.
      a365a29c
  8. 18 Sep, 2006 2 commits
    • Wim Taymans's avatar
      gst/rtsp/gstrtspsrc.*: Small cleanups, added documentation. · a437e9f0
      Wim Taymans authored
      Original commit message from CVS:
      * gst/rtsp/gstrtspsrc.c: (gst_rtspsrc_media_to_caps),
      (gst_rtspsrc_send), (gst_rtspsrc_parse_methods),
      (gst_rtspsrc_open), (gst_rtspsrc_close), (gst_rtspsrc_play),
      (gst_rtspsrc_pause), (gst_rtspsrc_change_state),
      (gst_rtspsrc_uri_get_uri), (gst_rtspsrc_uri_set_uri):
      * gst/rtsp/gstrtspsrc.h:
      Small cleanups, added documentation.
      Try to clean up the requests and responses.
      Refactor parsing the supported methods.
      * gst/rtsp/rtspconnection.c: (rtsp_connection_open),
      (rtsp_connection_create), (rtsp_connection_send),
      (parse_response_status), (parse_request_line),
      (rtsp_connection_receive), (rtsp_connection_close),
      (rtsp_connection_free):
      * gst/rtsp/rtsptransport.c: (rtsp_transport_new),
      (rtsp_transport_init), (rtsp_transport_parse),
      (rtsp_transport_free):
      * gst/rtsp/rtspurl.c: (rtsp_url_parse):
      * gst/rtsp/sdpmessage.c: (sdp_message_new), (sdp_message_init),
      (sdp_message_clean), (sdp_message_free), (sdp_media_new),
      (sdp_media_init), (sdp_message_parse_buffer), (sdp_message_dump):
      Use g_return_val some more.
      * gst/rtsp/rtspdefs.h:
      Add more enum values to track initial states.
      * gst/rtsp/rtspmessage.c: (rtsp_message_new_request),
      (rtsp_message_init_request), (rtsp_message_new_response),
      (rtsp_message_init_response), (rtsp_message_init_data),
      (rtsp_message_unset), (rtsp_message_free),
      (rtsp_message_add_header), (rtsp_message_remove_header),
      (rtsp_message_get_header), (rtsp_message_set_body),
      (rtsp_message_take_body), (rtsp_message_get_body),
      (rtsp_message_steal_body), (rtsp_message_dump):
      * gst/rtsp/rtspmessage.h:
      Reorder arguments, object goes as the first one.
      Use g_return_val some more.
      a437e9f0
    • Lutz Mueller's avatar
      gst/rtsp/gstrtspsrc.*: Make sure we can never set an invalid location. · cac807b6
      Lutz Mueller authored and Wim Taymans's avatar Wim Taymans committed
      Original commit message from CVS:
      Based on patch by: Lutz Mueller <lutz at topfrose dot de>
      * gst/rtsp/gstrtspsrc.c: (gst_rtspsrc_class_init),
      (gst_rtspsrc_init), (gst_rtspsrc_set_property), (gst_rtspsrc_open),
      (gst_rtspsrc_uri_get_uri), (gst_rtspsrc_uri_set_uri):
      * gst/rtsp/gstrtspsrc.h:
      Make sure we can never set an invalid location.
      * gst/rtsp/rtspmessage.c: (rtsp_message_steal_body):
      * gst/rtsp/rtspmessage.h:
      Added _steal_body method for future use.
      * gst/rtsp/rtspurl.c: (rtsp_url_parse), (rtsp_url_free):
      Make freeing of NULL url return immediatly.
      cac807b6
  9. 08 May, 2006 1 commit
  10. 06 Dec, 2005 1 commit
  11. 18 Aug, 2005 1 commit
    • Wim Taymans's avatar
      gst/rtp/gstrtpamrenc.*: Added payload_type and ssrc properties to the payloader. · 519f58bb
      Wim Taymans authored
      Original commit message from CVS:
      * gst/rtp/gstrtpamrenc.c: (gst_rtpamrenc_class_init),
      (gst_rtpamrenc_init), (gst_rtpamrenc_chain),
      (gst_rtpamrenc_set_property), (gst_rtpamrenc_get_property):
      * gst/rtp/gstrtpamrenc.h:
      Added payload_type and ssrc properties to the payloader.
      
      * gst/rtsp/gstrtspsrc.c: (gst_rtspsrc_send), (gst_rtspsrc_open),
      (gst_rtspsrc_close), (gst_rtspsrc_play):
      Options need to be stripped and are in the Public header field.
      
      * gst/rtsp/rtspurl.c: (rtsp_url_parse):
      Fix url / parsing...
      519f58bb
  12. 23 Jun, 2005 1 commit
    • Wim Taymans's avatar
      gst/rtsp/: Make rtspsrc a live source. · c51c1a4c
      Wim Taymans authored
      Original commit message from CVS:
      * gst/rtsp/gstrtspsrc.c: (gst_rtsp_proto_get_type),
      (gst_rtspsrc_class_init), (gst_rtspsrc_create_stream),
      (gst_rtspsrc_add_element), (gst_rtspsrc_set_state),
      (gst_rtspsrc_stream_setup_rtp),
      (gst_rtspsrc_stream_configure_transport), (find_stream),
      (gst_rtspsrc_loop), (gst_rtspsrc_open), (gst_rtspsrc_play),
      (gst_rtspsrc_change_state):
      * gst/rtsp/rtspurl.c: (rtsp_url_parse):
      Make rtspsrc a live source.
      Don't try to parse NULL urls.
      c51c1a4c
  13. 11 May, 2005 1 commit
    • Wim Taymans's avatar
      Ported to 0.9. · 6f0ea358
      Wim Taymans authored
      Original commit message from CVS:
      Ported to 0.9.
      Set up transports, init UDP ports, init RTP session managers.
      6f0ea358