Method: RTSP::Client#get_parameter

Defined in:
lib/rtsp/client.rb

#get_parameter(track, body = "", additional_headers = {}) ⇒ RTSP::Response

Sends the GET_PARAMETERS request.

Parameters:

  • track (String)

    The presentation or media track to ping.

  • body (String) (defaults to: "")

    The string containing the parameters to send.

  • additional_headers (Hash) (defaults to: {})

Returns:

See Also:



336
337
338
339
340
341
342
# File 'lib/rtsp/client.rb', line 336

def get_parameter(track, body="", additional_headers={})
  message = RTSP::Message.get_parameter(track).with_headers({ cseq: @cseq })
  message.add_headers additional_headers
  message.body = body

  request(message)
end