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.
-
#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.
-
#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
#current_broadcast_start_time, #dvr_status, #dvr_window, #first_broadcast, #last_broadcast, #last_elapsed_recording_time, #live_stream_configurations, #offline_message, #publish_configurations, #push_publish_enabled, #record_status, #recorded_entry_id, #recording_options
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
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, #capabilities, #categories, #categories_ids, #conversion_profile_id, #created_at, #creator_id, #description, #download_url, #end_date, #entitled_users_edit, #entitled_users_publish, #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, #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
3624 3625 3626 |
# File 'lib/kaltura_types.rb', line 3624 def bitrates @bitrates end |
#encoding_ip1 ⇒ Object
The broadcast primary ip
3641 3642 3643 |
# File 'lib/kaltura_types.rb', line 3641 def encoding_ip1 @encoding_ip1 end |
#encoding_ip2 ⇒ Object
The broadcast secondary ip
3644 3645 3646 |
# File 'lib/kaltura_types.rb', line 3644 def encoding_ip2 @encoding_ip2 end |
#hls_stream_url ⇒ Object
HLS URL - URL for live stream playback on mobile device
3635 3636 3637 |
# File 'lib/kaltura_types.rb', line 3635 def hls_stream_url @hls_stream_url end |
#primary_broadcasting_url ⇒ Object
Returns the value of attribute primary_broadcasting_url.
3625 3626 3627 |
# File 'lib/kaltura_types.rb', line 3625 def primary_broadcasting_url @primary_broadcasting_url end |
#primary_rtsp_broadcasting_url ⇒ Object
Returns the value of attribute primary_rtsp_broadcasting_url.
3627 3628 3629 |
# File 'lib/kaltura_types.rb', line 3627 def primary_rtsp_broadcasting_url @primary_rtsp_broadcasting_url end |
#secondary_broadcasting_url ⇒ Object
Returns the value of attribute secondary_broadcasting_url.
3626 3627 3628 |
# File 'lib/kaltura_types.rb', line 3626 def secondary_broadcasting_url @secondary_broadcasting_url end |
#secondary_rtsp_broadcasting_url ⇒ Object
Returns the value of attribute secondary_rtsp_broadcasting_url.
3628 3629 3630 |
# File 'lib/kaltura_types.rb', line 3628 def secondary_rtsp_broadcasting_url @secondary_rtsp_broadcasting_url end |
#stream_name ⇒ Object
Returns the value of attribute stream_name.
3629 3630 3631 |
# File 'lib/kaltura_types.rb', line 3629 def stream_name @stream_name end |
#stream_password ⇒ Object
The broadcast password
3647 3648 3649 |
# File 'lib/kaltura_types.rb', line 3647 def stream_password @stream_password end |
#stream_remote_backup_id ⇒ Object
The backup stream id as provided by the provider
3621 3622 3623 |
# File 'lib/kaltura_types.rb', line 3621 def stream_remote_backup_id @stream_remote_backup_id end |
#stream_remote_id ⇒ Object
The stream id as provided by the provider
3618 3619 3620 |
# File 'lib/kaltura_types.rb', line 3618 def stream_remote_id @stream_remote_id end |
#stream_url ⇒ Object
The stream url
3632 3633 3634 |
# File 'lib/kaltura_types.rb', line 3632 def stream_url @stream_url end |
#stream_username ⇒ Object
The broadcast username
3650 3651 3652 |
# File 'lib/kaltura_types.rb', line 3650 def stream_username @stream_username end |
#url_manager ⇒ Object
URL Manager to handle the live stream URL (for instance, add token)
3638 3639 3640 |
# File 'lib/kaltura_types.rb', line 3638 def url_manager @url_manager end |
Instance Method Details
#from_xml(xml_element) ⇒ Object
3653 3654 3655 3656 3657 3658 3659 3660 3661 3662 3663 3664 3665 3666 3667 3668 3669 3670 |
# File 'lib/kaltura_types.rb', line 3653 def from_xml(xml_element) super self.stream_remote_id = xml_element.elements['streamRemoteId'].text self.stream_remote_backup_id = xml_element.elements['streamRemoteBackupId'].text self.bitrates = KalturaClientBase.object_from_xml(xml_element.elements['bitrates'], 'KalturaLiveStreamBitrate') self.primary_broadcasting_url = xml_element.elements['primaryBroadcastingUrl'].text self.secondary_broadcasting_url = xml_element.elements['secondaryBroadcastingUrl'].text self.primary_rtsp_broadcasting_url = xml_element.elements['primaryRtspBroadcastingUrl'].text self.secondary_rtsp_broadcasting_url = xml_element.elements['secondaryRtspBroadcastingUrl'].text self.stream_name = xml_element.elements['streamName'].text self.stream_url = xml_element.elements['streamUrl'].text self.hls_stream_url = xml_element.elements['hlsStreamUrl'].text self.url_manager = xml_element.elements['urlManager'].text self.encoding_ip1 = xml_element.elements['encodingIP1'].text self.encoding_ip2 = xml_element.elements['encodingIP2'].text self.stream_password = xml_element.elements['streamPassword'].text self.stream_username = xml_element.elements['streamUsername'].text end |