Class: Net::RTSP::Record

Inherits:
RTSPGenericRequest show all
Defined in:
lib/raop/rtsp.rb

Instance Method Summary collapse

Methods inherited from RTSPGenericRequest

#exec

Constructor Details

#initialize(session_id) ⇒ Record

Returns a new instance of Record.



174
175
176
177
178
179
# File 'lib/raop/rtsp.rb', line 174

def initialize(session_id)
  super('RECORD')
  self['Range']     = 'npt=0-'
  self['RTP-Info']  = "seq=0;rtptime=0"
  self['Session']   = session_id
end