Class: Kaltura::KalturaLiveStreamEntry
- Inherits:
-
KalturaLiveEntry
- Object
- KalturaObjectBase
- KalturaBaseEntry
- KalturaPlayableEntry
- KalturaMediaEntry
- KalturaLiveEntry
- Kaltura::KalturaLiveStreamEntry
- Defined in:
- lib/kaltura_types.rb
Direct Known Subclasses
Instance Attribute Summary collapse
-
#bitrates ⇒ Object
Array of supported bitrates.
-
#encoding_ip1 ⇒ Object
The broadcast primary ip.
-
#encoding_ip2 ⇒ Object
The broadcast secondary ip.
-
#hls_stream_url ⇒ Object
HLS URL - URL for live stream playback on mobile device.
-
#primary_broadcasting_url ⇒ Object
Returns the value of attribute primary_broadcasting_url.
-
#primary_rtsp_broadcasting_url ⇒ Object
Returns the value of attribute primary_rtsp_broadcasting_url.
-
#primary_secured_broadcasting_url ⇒ Object
Returns the value of attribute primary_secured_broadcasting_url.
-
#primary_server_node_id ⇒ Object
The Streams primary server node id.
-
#secondary_broadcasting_url ⇒ Object
Returns the value of attribute secondary_broadcasting_url.
-
#secondary_rtsp_broadcasting_url ⇒ Object
Returns the value of attribute secondary_rtsp_broadcasting_url.
-
#secondary_secured_broadcasting_url ⇒ Object
Returns the value of attribute secondary_secured_broadcasting_url.
-
#sip_source_type ⇒ Object
Returns the value of attribute sip_source_type.
-
#sip_token ⇒ Object
Returns the value of attribute sip_token.
-
#stream_name ⇒ Object
Returns the value of attribute stream_name.
-
#stream_password ⇒ Object
The broadcast password.
-
#stream_remote_backup_id ⇒ Object
The backup stream id as provided by the provider.
-
#stream_remote_id ⇒ Object
The stream id as provided by the provider.
-
#stream_url ⇒ Object
The stream url.
-
#stream_username ⇒ Object
The broadcast username.
-
#url_manager ⇒ Object
URL Manager to handle the live stream URL (for instance, add token).
Attributes inherited from KalturaLiveEntry
#broadcast_time, #current_broadcast_start_time, #dvr_status, #dvr_window, #explicit_live, #first_broadcast, #last_broadcast, #last_broadcast_end_time, #last_elapsed_recording_time, #live_status, #live_stream_configurations, #offline_message, #publish_configurations, #push_publish_enabled, #record_status, #recorded_entry_id, #recording_options, #recording_status, #segment_duration, #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, #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
#bitrates ⇒ Object
Array of supported bitrates
7035 7036 7037 |
# File 'lib/kaltura_types.rb', line 7035 def bitrates @bitrates end |
#encoding_ip1 ⇒ Object
The broadcast primary ip
7050 7051 7052 |
# File 'lib/kaltura_types.rb', line 7050 def encoding_ip1 @encoding_ip1 end |
#encoding_ip2 ⇒ Object
The broadcast secondary ip
7052 7053 7054 |
# File 'lib/kaltura_types.rb', line 7052 def encoding_ip2 @encoding_ip2 end |
#hls_stream_url ⇒ Object
HLS URL - URL for live stream playback on mobile device
7046 7047 7048 |
# File 'lib/kaltura_types.rb', line 7046 def hls_stream_url @hls_stream_url end |
#primary_broadcasting_url ⇒ Object
Returns the value of attribute primary_broadcasting_url.
7036 7037 7038 |
# File 'lib/kaltura_types.rb', line 7036 def primary_broadcasting_url @primary_broadcasting_url end |
#primary_rtsp_broadcasting_url ⇒ Object
Returns the value of attribute primary_rtsp_broadcasting_url.
7040 7041 7042 |
# File 'lib/kaltura_types.rb', line 7040 def primary_rtsp_broadcasting_url @primary_rtsp_broadcasting_url end |
#primary_secured_broadcasting_url ⇒ Object
Returns the value of attribute primary_secured_broadcasting_url.
7038 7039 7040 |
# File 'lib/kaltura_types.rb', line 7038 def primary_secured_broadcasting_url @primary_secured_broadcasting_url end |
#primary_server_node_id ⇒ Object
The Streams primary server node id
7058 7059 7060 |
# File 'lib/kaltura_types.rb', line 7058 def primary_server_node_id @primary_server_node_id end |
#secondary_broadcasting_url ⇒ Object
Returns the value of attribute secondary_broadcasting_url.
7037 7038 7039 |
# File 'lib/kaltura_types.rb', line 7037 def secondary_broadcasting_url @secondary_broadcasting_url end |
#secondary_rtsp_broadcasting_url ⇒ Object
Returns the value of attribute secondary_rtsp_broadcasting_url.
7041 7042 7043 |
# File 'lib/kaltura_types.rb', line 7041 def secondary_rtsp_broadcasting_url @secondary_rtsp_broadcasting_url end |
#secondary_secured_broadcasting_url ⇒ Object
Returns the value of attribute secondary_secured_broadcasting_url.
7039 7040 7041 |
# File 'lib/kaltura_types.rb', line 7039 def secondary_secured_broadcasting_url @secondary_secured_broadcasting_url end |
#sip_source_type ⇒ Object
Returns the value of attribute sip_source_type.
7060 7061 7062 |
# File 'lib/kaltura_types.rb', line 7060 def sip_source_type @sip_source_type end |
#sip_token ⇒ Object
Returns the value of attribute sip_token.
7059 7060 7061 |
# File 'lib/kaltura_types.rb', line 7059 def sip_token @sip_token end |
#stream_name ⇒ Object
Returns the value of attribute stream_name.
7042 7043 7044 |
# File 'lib/kaltura_types.rb', line 7042 def stream_name @stream_name end |
#stream_password ⇒ Object
The broadcast password
7054 7055 7056 |
# File 'lib/kaltura_types.rb', line 7054 def stream_password @stream_password end |
#stream_remote_backup_id ⇒ Object
The backup stream id as provided by the provider
7033 7034 7035 |
# File 'lib/kaltura_types.rb', line 7033 def stream_remote_backup_id @stream_remote_backup_id end |
#stream_remote_id ⇒ Object
The stream id as provided by the provider
7031 7032 7033 |
# File 'lib/kaltura_types.rb', line 7031 def stream_remote_id @stream_remote_id end |
#stream_url ⇒ Object
The stream url
7044 7045 7046 |
# File 'lib/kaltura_types.rb', line 7044 def stream_url @stream_url end |
#stream_username ⇒ Object
The broadcast username
7056 7057 7058 |
# File 'lib/kaltura_types.rb', line 7056 def stream_username @stream_username end |
#url_manager ⇒ Object
URL Manager to handle the live stream URL (for instance, add token)
7048 7049 7050 |
# File 'lib/kaltura_types.rb', line 7048 def url_manager @url_manager end |
Instance Method Details
#from_xml(xml_element) ⇒ Object
7069 7070 7071 7072 7073 7074 7075 7076 7077 7078 7079 7080 7081 7082 7083 7084 7085 7086 7087 7088 7089 7090 7091 7092 7093 7094 7095 7096 7097 7098 7099 7100 7101 7102 7103 7104 7105 7106 7107 7108 7109 7110 7111 7112 7113 7114 7115 7116 7117 7118 7119 7120 7121 7122 7123 7124 7125 7126 7127 7128 7129 7130 7131 |
# File 'lib/kaltura_types.rb', line 7069 def from_xml(xml_element) super if xml_element.elements['streamRemoteId'] != nil self.stream_remote_id = xml_element.elements['streamRemoteId'].text end if xml_element.elements['streamRemoteBackupId'] != nil self.stream_remote_backup_id = xml_element.elements['streamRemoteBackupId'].text end if xml_element.elements['bitrates'] != nil self.bitrates = KalturaClientBase.object_from_xml(xml_element.elements['bitrates'], 'KalturaLiveStreamBitrate') end if xml_element.elements['primaryBroadcastingUrl'] != nil self.primary_broadcasting_url = xml_element.elements['primaryBroadcastingUrl'].text end if xml_element.elements['secondaryBroadcastingUrl'] != nil self.secondary_broadcasting_url = xml_element.elements['secondaryBroadcastingUrl'].text end if xml_element.elements['primarySecuredBroadcastingUrl'] != nil self.primary_secured_broadcasting_url = xml_element.elements['primarySecuredBroadcastingUrl'].text end if xml_element.elements['secondarySecuredBroadcastingUrl'] != nil self.secondary_secured_broadcasting_url = xml_element.elements['secondarySecuredBroadcastingUrl'].text end if xml_element.elements['primaryRtspBroadcastingUrl'] != nil self.primary_rtsp_broadcasting_url = xml_element.elements['primaryRtspBroadcastingUrl'].text end if xml_element.elements['secondaryRtspBroadcastingUrl'] != nil self.secondary_rtsp_broadcasting_url = xml_element.elements['secondaryRtspBroadcastingUrl'].text end if xml_element.elements['streamName'] != nil self.stream_name = xml_element.elements['streamName'].text end if xml_element.elements['streamUrl'] != nil self.stream_url = xml_element.elements['streamUrl'].text end if xml_element.elements['hlsStreamUrl'] != nil self.hls_stream_url = xml_element.elements['hlsStreamUrl'].text end if xml_element.elements['urlManager'] != nil self.url_manager = xml_element.elements['urlManager'].text end if xml_element.elements['encodingIP1'] != nil self.encoding_ip1 = xml_element.elements['encodingIP1'].text end if xml_element.elements['encodingIP2'] != nil self.encoding_ip2 = xml_element.elements['encodingIP2'].text end if xml_element.elements['streamPassword'] != nil self.stream_password = xml_element.elements['streamPassword'].text end if xml_element.elements['streamUsername'] != nil self.stream_username = xml_element.elements['streamUsername'].text end if xml_element.elements['primaryServerNodeId'] != nil self.primary_server_node_id = xml_element.elements['primaryServerNodeId'].text end if xml_element.elements['sipToken'] != nil self.sip_token = xml_element.elements['sipToken'].text end if xml_element.elements['sipSourceType'] != nil self.sip_source_type = xml_element.elements['sipSourceType'].text end end |