Class: BBCNet::MetaInfo::StreamInfo
- Inherits:
-
Object
- Object
- BBCNet::MetaInfo::StreamInfo
- Defined in:
- lib/bbcnet.rb
Instance Attribute Summary collapse
-
#bitrate ⇒ Object
example) 48, wma, time, audio, http://..
-
#encoding ⇒ Object
example) 48, wma, time, audio, http://..
-
#expires ⇒ Object
example) 48, wma, time, audio, http://..
-
#indirectUrl ⇒ Object
example) 48, wma, time, audio, http://..
-
#type ⇒ Object
(also: #kind)
example) 48, wma, time, audio, http://..
Instance Method Summary collapse
Instance Attribute Details
#bitrate ⇒ Object
example) 48, wma, time, audio, http://..
103 104 105 |
# File 'lib/bbcnet.rb', line 103 def bitrate @bitrate end |
#encoding ⇒ Object
example) 48, wma, time, audio, http://..
103 104 105 |
# File 'lib/bbcnet.rb', line 103 def encoding @encoding end |
#expires ⇒ Object
example) 48, wma, time, audio, http://..
103 104 105 |
# File 'lib/bbcnet.rb', line 103 def expires @expires end |
#indirectUrl ⇒ Object
example) 48, wma, time, audio, http://..
103 104 105 |
# File 'lib/bbcnet.rb', line 103 def indirectUrl @indirectUrl end |
#type ⇒ Object Also known as: kind
example) 48, wma, time, audio, http://..
103 104 105 |
# File 'lib/bbcnet.rb', line 103 def type @type end |
Instance Method Details
#url ⇒ Object
106 107 108 |
# File 'lib/bbcnet.rb', line 106 def url @url ||= BBCNet.getDirectStreamUrl(@indirectUrl) end |