Class: Net::RTSP::RTSPResponse

Inherits:
HTTPResponse
  • Object
show all
Defined in:
lib/raop/rtsp.rb

Class Method Summary collapse

Class Method Details

.read_status_line(sock) ⇒ Object



85
86
87
88
89
# File 'lib/raop/rtsp.rb', line 85

def read_status_line(sock)
  str = sock.readline
  m = /^RTSP\/(\d+\.\d+)\s(\d+)\s(.*)$/.match(str)
  m.captures
end