lib/rtsp/client.rb
def announce(request_url, description, additional_headers={})
      message = RTSP::Message.announce(request_url).with_headers({ cseq: @cseq })
      message.add_headers additional_headers
      message.body = description.to_s

      request(message)
    end
# Sends an ANNOUNCE Request to the provided URL.  This method also requires
# an SDP description to send to the server.
#
# @param [String] request_url The URL to post the presentation or media
#   object to.
# @param [SDP::Description] description The SDP description to send to the
#   server.
# @param [Hash] additional_headers
# @return [RTSP::Response]
# @see http://tools.ietf.org/html/rfc2326#page-32 RFC 2326, Section 10.3.
Sends an ANNOUNCE Request to the provided URL.  This method also requires
an SDP description to send to the server.
Sends an ANNOUNCE Request to the provided URL . This method also requires an SDP description to send to the server .
def announce(request_url, description, additional_headers={})
      message = RTSP::Message.announce(request_url).with_headers({ cseq: @cseq })
      message.add_headers additional_headers
      message.body = description.to_s
      request(message)
    end
def announce ( request_url , description , additional_headers = { } ) message = RTSP :: Message . announce ( request_url ) . with_headers ( { cseq : @cseq } ) message . add_headers additional_headers message . body = description . to_s request ( message ) end
Sends an ANNOUNCE Request to the provided URL.
Sends an ANNOUNCE Request to the provided URL .
None
RTSP::Response
request_url
description
additional_headers
None
see
None