Class: Net::RTSP::Announce
- Inherits:
-
RTSPGenericRequest
- Object
- HTTPGenericRequest
- RTSPGenericRequest
- Net::RTSP::Announce
- Defined in:
- lib/raop/rtsp.rb
Instance Method Summary collapse
-
#initialize(sac, key, iv) ⇒ Announce
constructor
A new instance of Announce.
Methods inherited from RTSPGenericRequest
Constructor Details
#initialize(sac, key, iv) ⇒ Announce
Returns a new instance of Announce.
190 191 192 193 194 195 196 |
# File 'lib/raop/rtsp.rb', line 190 def initialize(sac, key, iv) super('ANNOUNCE') @key = key @iv = iv self['Content-Type'] = 'application/sdp' self['Apple-Challenge'] = sac.gsub(/[=\s]/, '') end |