Class: Net::RTSP::Flush

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

Instance Method Summary collapse

Methods inherited from RTSPGenericRequest

#exec

Constructor Details

#initialize(session_id, seq) ⇒ Flush

Returns a new instance of Flush.



154
155
156
157
158
# File 'lib/raop/rtsp.rb', line 154

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