Class: Kaltura::KalturaLiveStreamParams
- Inherits:
-
KalturaObjectBase
- Object
- KalturaObjectBase
- Kaltura::KalturaLiveStreamParams
- Defined in:
- lib/kaltura_types.rb
Instance Attribute Summary collapse
-
#bitrate ⇒ Object
Bit rate of the stream.
-
#codec ⇒ Object
Live stream’s codec.
-
#flavor_id ⇒ Object
flavor asset id.
-
#frame_rate ⇒ Object
Live stream’s farme rate.
-
#height ⇒ Object
Stream’s height.
-
#key_frame_interval ⇒ Object
Live stream’s key frame interval.
-
#language ⇒ Object
Live stream’s language.
-
#width ⇒ Object
Stream’s width.
Attributes inherited from KalturaObjectBase
#object_type, #related_objects
Instance Method Summary collapse
Methods inherited from KalturaObjectBase
Instance Attribute Details
#bitrate ⇒ Object
Bit rate of the stream. (i.e. 900)
7269 7270 7271 |
# File 'lib/kaltura_types.rb', line 7269 def bitrate @bitrate end |
#codec ⇒ Object
Live stream’s codec
7277 7278 7279 |
# File 'lib/kaltura_types.rb', line 7277 def codec @codec end |
#flavor_id ⇒ Object
flavor asset id
7271 7272 7273 |
# File 'lib/kaltura_types.rb', line 7271 def flavor_id @flavor_id end |
#frame_rate ⇒ Object
Live stream’s farme rate
7279 7280 7281 |
# File 'lib/kaltura_types.rb', line 7279 def frame_rate @frame_rate end |
#height ⇒ Object
Stream’s height
7275 7276 7277 |
# File 'lib/kaltura_types.rb', line 7275 def height @height end |
#key_frame_interval ⇒ Object
Live stream’s key frame interval
7281 7282 7283 |
# File 'lib/kaltura_types.rb', line 7281 def key_frame_interval @key_frame_interval end |
#language ⇒ Object
Live stream’s language
7283 7284 7285 |
# File 'lib/kaltura_types.rb', line 7283 def language @language end |
#width ⇒ Object
Stream’s width
7273 7274 7275 |
# File 'lib/kaltura_types.rb', line 7273 def width @width end |
Instance Method Details
#from_xml(xml_element) ⇒ Object
7301 7302 7303 7304 7305 7306 7307 7308 7309 7310 7311 7312 7313 7314 7315 7316 7317 7318 7319 7320 7321 7322 7323 7324 7325 7326 7327 |
# File 'lib/kaltura_types.rb', line 7301 def from_xml(xml_element) super if xml_element.elements['bitrate'] != nil self.bitrate = xml_element.elements['bitrate'].text end if xml_element.elements['flavorId'] != nil self.flavor_id = xml_element.elements['flavorId'].text end if xml_element.elements['width'] != nil self.width = xml_element.elements['width'].text end if xml_element.elements['height'] != nil self.height = xml_element.elements['height'].text end if xml_element.elements['codec'] != nil self.codec = xml_element.elements['codec'].text end if xml_element.elements['frameRate'] != nil self.frame_rate = xml_element.elements['frameRate'].text end if xml_element.elements['keyFrameInterval'] != nil self.key_frame_interval = xml_element.elements['keyFrameInterval'].text end if xml_element.elements['language'] != nil self.language = xml_element.elements['language'].text end end |