lib/rtsp/client.rb
# Extracts the URL associated with the "control" attribute from the main
# section of the session description.
#
# @return [String] The URL as a String.
Extracts the URL associated with the "control" attribute from the main
section of the session description.
Extracts the URL associated with the " control " attribute from the main section of the session description .
def aggregate_control_track
      aggregate_control = @session_description.attributes.find_all do |a|
        a[:attribute] == "control"
      end
      "#{@content_base}#{aggregate_control.first[:value].gsub(/\*/, "")}"
    end
def aggregate_control_track aggregate_control = @session_description . attributes . find_all do | a | a [ :attribute ] == "control" end "#{@content_base}#{aggregate_control.first[:value].gsub(/\*/, "")}" end
Extracts the URL associated with the "control" attribute from the main
section of the session description.
Extracts the URL associated with the " control " attribute from the main section of the session description .
The URL as a String.
The URL as a String .
String