Class: Kaltura::KalturaLiveStatsEvent
- Inherits:
-
KalturaObjectBase
- Object
- KalturaObjectBase
- Kaltura::KalturaLiveStatsEvent
- Defined in:
- lib/kaltura_types.rb
Overview
Will hold data from the Kaltura Player components to be passed on to the live analytics system
Instance Attribute Summary collapse
-
#bitrate ⇒ Object
bitrate used in the last 10 seconds.
-
#buffer_time ⇒ Object
buffer time in seconds from the last 10 seconds.
-
#delivery_type ⇒ Object
delivery type used for this stream.
-
#entry_id ⇒ Object
Returns the value of attribute entry_id.
-
#event_index ⇒ Object
incremental sequence of the event.
-
#event_type ⇒ Object
an integer representing the type of event being sent from the player.
-
#is_live ⇒ Object
Returns the value of attribute is_live.
-
#partner_id ⇒ Object
Returns the value of attribute partner_id.
-
#referrer ⇒ Object
the referrer of the client.
-
#session_id ⇒ Object
a unique string generated by the client that will represent the client-side session: the primary component will pass it on to other components that sprout from it.
-
#start_time ⇒ Object
the event start time as string.
Attributes inherited from KalturaObjectBase
#object_type, #related_objects
Instance Method Summary collapse
Methods inherited from KalturaObjectBase
Instance Attribute Details
#bitrate ⇒ Object
bitrate used in the last 10 seconds
3541 3542 3543 |
# File 'lib/kaltura_types.rb', line 3541 def bitrate @bitrate end |
#buffer_time ⇒ Object
buffer time in seconds from the last 10 seconds
3538 3539 3540 |
# File 'lib/kaltura_types.rb', line 3538 def buffer_time @buffer_time end |
#delivery_type ⇒ Object
delivery type used for this stream
3551 3552 3553 |
# File 'lib/kaltura_types.rb', line 3551 def delivery_type @delivery_type end |
#entry_id ⇒ Object
Returns the value of attribute entry_id.
3526 3527 3528 |
# File 'lib/kaltura_types.rb', line 3526 def entry_id @entry_id end |
#event_index ⇒ Object
incremental sequence of the event
3535 3536 3537 |
# File 'lib/kaltura_types.rb', line 3535 def event_index @event_index end |
#event_type ⇒ Object
an integer representing the type of event being sent from the player
3529 3530 3531 |
# File 'lib/kaltura_types.rb', line 3529 def event_type @event_type end |
#is_live ⇒ Object
Returns the value of attribute is_live.
3545 3546 3547 |
# File 'lib/kaltura_types.rb', line 3545 def is_live @is_live end |
#partner_id ⇒ Object
Returns the value of attribute partner_id.
3525 3526 3527 |
# File 'lib/kaltura_types.rb', line 3525 def partner_id @partner_id end |
#referrer ⇒ Object
the referrer of the client
3544 3545 3546 |
# File 'lib/kaltura_types.rb', line 3544 def referrer @referrer end |
#session_id ⇒ Object
a unique string generated by the client that will represent the client-side session: the primary component will pass it on to other components that sprout from it
3532 3533 3534 |
# File 'lib/kaltura_types.rb', line 3532 def session_id @session_id end |
#start_time ⇒ Object
the event start time as string
3548 3549 3550 |
# File 'lib/kaltura_types.rb', line 3548 def start_time @start_time end |
Instance Method Details
#from_xml(xml_element) ⇒ Object
3572 3573 3574 3575 3576 3577 3578 3579 3580 3581 3582 3583 3584 3585 |
# File 'lib/kaltura_types.rb', line 3572 def from_xml(xml_element) super self.partner_id = xml_element.elements['partnerId'].text self.entry_id = xml_element.elements['entryId'].text self.event_type = xml_element.elements['eventType'].text self.session_id = xml_element.elements['sessionId'].text self.event_index = xml_element.elements['eventIndex'].text self.buffer_time = xml_element.elements['bufferTime'].text self.bitrate = xml_element.elements['bitrate'].text self.referrer = xml_element.elements['referrer'].text self.is_live = xml_element.elements['isLive'].text self.start_time = xml_element.elements['startTime'].text self.delivery_type = xml_element.elements['deliveryType'].text end |