Class: Kaltura::KalturaLiveEntry
- Inherits:
-
KalturaMediaEntry
- Object
- KalturaObjectBase
- KalturaBaseEntry
- KalturaPlayableEntry
- KalturaMediaEntry
- Kaltura::KalturaLiveEntry
- Defined in:
- lib/kaltura_types.rb
Direct Known Subclasses
Instance Attribute Summary collapse
-
#broadcast_time ⇒ Object
The time when the entry was first live with view_all.
-
#current_broadcast_start_time ⇒ Object
The time (unix timestamp in milliseconds) in which the entry broadcast started or 0 when the entry is off the air.
-
#dvr_status ⇒ Object
DVR Status Enabled/Disabled.
-
#dvr_window ⇒ Object
Window of time which the DVR allows for backwards scrubbing (in minutes).
-
#explicit_live ⇒ Object
Returns the value of attribute explicit_live.
-
#first_broadcast ⇒ Object
The first time in which the entry was broadcast.
-
#last_broadcast ⇒ Object
The Last time in which the entry was broadcast.
-
#last_broadcast_end_time ⇒ Object
The time the last broadcast finished.
-
#last_elapsed_recording_time ⇒ Object
Elapsed recording time (in msec) up to the point where the live stream was last stopped (unpublished).
-
#live_status ⇒ Object
the status of the entry of type EntryServerNodeStatus.
-
#live_stream_configurations ⇒ Object
Array of key value protocol->live stream url objects.
-
#offline_message ⇒ Object
The message to be presented when the stream is offline.
-
#publish_configurations ⇒ Object
Array of publish configurations.
-
#push_publish_enabled ⇒ Object
Flag denoting whether entry should be published by the media server.
-
#record_status ⇒ Object
Recording Status Enabled/Disabled.
-
#recorded_entry_id ⇒ Object
Recorded entry id.
-
#recording_options ⇒ Object
Returns the value of attribute recording_options.
-
#recording_status ⇒ Object
Returns the value of attribute recording_status.
-
#segment_duration ⇒ Object
The chunk duration value in milliseconds.
-
#view_mode ⇒ Object
Returns the value of attribute view_mode.
Attributes inherited from KalturaMediaEntry
#conversion_quality, #credit_url, #credit_user_name, #data_url, #flavor_params_ids, #is_trim_disabled, #media_date, #media_type, #search_provider_id, #search_provider_type, #source_type, #source_version, #streams
Attributes inherited from KalturaPlayableEntry
#duration, #duration_type, #height, #last_played_at, #ms_duration, #plays, #views, #width
Attributes inherited from KalturaBaseEntry
#access_control_id, #admin_tags, #application, #application_version, #block_auto_transcript, #capabilities, #categories, #categories_ids, #conversion_profile_id, #created_at, #creator_id, #description, #display_in_search, #download_url, #end_date, #entitled_users_edit, #entitled_users_publish, #entitled_users_view, #group_id, #id, #license_type, #moderation_count, #moderation_status, #multi_lingual_description, #multi_lingual_name, #multi_lingual_tags, #name, #operation_attributes, #parent_entry_id, #partner_data, #partner_id, #partner_sort_value, #rank, #redirect_entry_id, #reference_id, #replaced_entry_id, #replacement_status, #replacing_entry_id, #root_entry_id, #search_text, #start_date, #status, #tags, #template_entry_id, #thumbnail_url, #total_rank, #type, #updated_at, #user_id, #version, #votes
Attributes inherited from KalturaObjectBase
#object_type, #related_objects
Instance Method Summary collapse
Methods inherited from KalturaObjectBase
Instance Attribute Details
#broadcast_time ⇒ Object
The time when the entry was first live with view_all
6562 6563 6564 |
# File 'lib/kaltura_types.rb', line 6562 def broadcast_time @broadcast_time end |
#current_broadcast_start_time ⇒ Object
The time (unix timestamp in milliseconds) in which the entry broadcast started or 0 when the entry is off the air
6550 6551 6552 |
# File 'lib/kaltura_types.rb', line 6550 def current_broadcast_start_time @current_broadcast_start_time end |
#dvr_status ⇒ Object
DVR Status Enabled/Disabled
6532 6533 6534 |
# File 'lib/kaltura_types.rb', line 6532 def dvr_status @dvr_status end |
#dvr_window ⇒ Object
Window of time which the DVR allows for backwards scrubbing (in minutes)
6534 6535 6536 |
# File 'lib/kaltura_types.rb', line 6534 def dvr_window @dvr_window end |
#explicit_live ⇒ Object
Returns the value of attribute explicit_live.
6556 6557 6558 |
# File 'lib/kaltura_types.rb', line 6556 def explicit_live @explicit_live end |
#first_broadcast ⇒ Object
The first time in which the entry was broadcast
6546 6547 6548 |
# File 'lib/kaltura_types.rb', line 6546 def first_broadcast @first_broadcast end |
#last_broadcast ⇒ Object
The Last time in which the entry was broadcast
6548 6549 6550 |
# File 'lib/kaltura_types.rb', line 6548 def last_broadcast @last_broadcast end |
#last_broadcast_end_time ⇒ Object
The time the last broadcast finished.
6560 6561 6562 |
# File 'lib/kaltura_types.rb', line 6560 def last_broadcast_end_time @last_broadcast_end_time end |
#last_elapsed_recording_time ⇒ Object
Elapsed recording time (in msec) up to the point where the live stream was last stopped (unpublished).
6536 6537 6538 |
# File 'lib/kaltura_types.rb', line 6536 def last_elapsed_recording_time @last_elapsed_recording_time end |
#live_status ⇒ Object
the status of the entry of type EntryServerNodeStatus
6553 6554 6555 |
# File 'lib/kaltura_types.rb', line 6553 def live_status @live_status end |
#live_stream_configurations ⇒ Object
Array of key value protocol->live stream url objects
6538 6539 6540 |
# File 'lib/kaltura_types.rb', line 6538 def live_stream_configurations @live_stream_configurations end |
#offline_message ⇒ Object
The message to be presented when the stream is offline
6528 6529 6530 |
# File 'lib/kaltura_types.rb', line 6528 def @offline_message end |
#publish_configurations ⇒ Object
Array of publish configurations
6544 6545 6546 |
# File 'lib/kaltura_types.rb', line 6544 def publish_configurations @publish_configurations end |
#push_publish_enabled ⇒ Object
Flag denoting whether entry should be published by the media server
6542 6543 6544 |
# File 'lib/kaltura_types.rb', line 6542 def push_publish_enabled @push_publish_enabled end |
#record_status ⇒ Object
Recording Status Enabled/Disabled
6530 6531 6532 |
# File 'lib/kaltura_types.rb', line 6530 def record_status @record_status end |
#recorded_entry_id ⇒ Object
Recorded entry id
6540 6541 6542 |
# File 'lib/kaltura_types.rb', line 6540 def recorded_entry_id @recorded_entry_id end |
#recording_options ⇒ Object
Returns the value of attribute recording_options.
6551 6552 6553 |
# File 'lib/kaltura_types.rb', line 6551 def @recording_options end |
#recording_status ⇒ Object
Returns the value of attribute recording_status.
6558 6559 6560 |
# File 'lib/kaltura_types.rb', line 6558 def recording_status @recording_status end |
#segment_duration ⇒ Object
The chunk duration value in milliseconds
6555 6556 6557 |
# File 'lib/kaltura_types.rb', line 6555 def segment_duration @segment_duration end |
#view_mode ⇒ Object
Returns the value of attribute view_mode.
6557 6558 6559 |
# File 'lib/kaltura_types.rb', line 6557 def view_mode @view_mode end |
Instance Method Details
#from_xml(xml_element) ⇒ Object
6610 6611 6612 6613 6614 6615 6616 6617 6618 6619 6620 6621 6622 6623 6624 6625 6626 6627 6628 6629 6630 6631 6632 6633 6634 6635 6636 6637 6638 6639 6640 6641 6642 6643 6644 6645 6646 6647 6648 6649 6650 6651 6652 6653 6654 6655 6656 6657 6658 6659 6660 6661 6662 6663 6664 6665 6666 6667 6668 6669 6670 6671 6672 |
# File 'lib/kaltura_types.rb', line 6610 def from_xml(xml_element) super if xml_element.elements['offlineMessage'] != nil self. = xml_element.elements['offlineMessage'].text end if xml_element.elements['recordStatus'] != nil self.record_status = xml_element.elements['recordStatus'].text end if xml_element.elements['dvrStatus'] != nil self.dvr_status = xml_element.elements['dvrStatus'].text end if xml_element.elements['dvrWindow'] != nil self.dvr_window = xml_element.elements['dvrWindow'].text end if xml_element.elements['lastElapsedRecordingTime'] != nil self.last_elapsed_recording_time = xml_element.elements['lastElapsedRecordingTime'].text end if xml_element.elements['liveStreamConfigurations'] != nil self.live_stream_configurations = KalturaClientBase.object_from_xml(xml_element.elements['liveStreamConfigurations'], 'KalturaLiveStreamConfiguration') end if xml_element.elements['recordedEntryId'] != nil self.recorded_entry_id = xml_element.elements['recordedEntryId'].text end if xml_element.elements['pushPublishEnabled'] != nil self.push_publish_enabled = xml_element.elements['pushPublishEnabled'].text end if xml_element.elements['publishConfigurations'] != nil self.publish_configurations = KalturaClientBase.object_from_xml(xml_element.elements['publishConfigurations'], 'KalturaLiveStreamPushPublishConfiguration') end if xml_element.elements['firstBroadcast'] != nil self.first_broadcast = xml_element.elements['firstBroadcast'].text end if xml_element.elements['lastBroadcast'] != nil self.last_broadcast = xml_element.elements['lastBroadcast'].text end if xml_element.elements['currentBroadcastStartTime'] != nil self.current_broadcast_start_time = xml_element.elements['currentBroadcastStartTime'].text end if xml_element.elements['recordingOptions'] != nil self. = KalturaClientBase.object_from_xml(xml_element.elements['recordingOptions'], 'KalturaLiveEntryRecordingOptions') end if xml_element.elements['liveStatus'] != nil self.live_status = xml_element.elements['liveStatus'].text end if xml_element.elements['segmentDuration'] != nil self.segment_duration = xml_element.elements['segmentDuration'].text end if xml_element.elements['explicitLive'] != nil self.explicit_live = xml_element.elements['explicitLive'].text end if xml_element.elements['viewMode'] != nil self.view_mode = xml_element.elements['viewMode'].text end if xml_element.elements['recordingStatus'] != nil self.recording_status = xml_element.elements['recordingStatus'].text end if xml_element.elements['lastBroadcastEndTime'] != nil self.last_broadcast_end_time = xml_element.elements['lastBroadcastEndTime'].text end if xml_element.elements['broadcastTime'] != nil self.broadcast_time = xml_element.elements['broadcastTime'].text end end |