Class: Kaltura::LiveStreamAdminEntry
- Inherits:
-
LiveStreamEntry
- Object
- ObjectBase
- BaseEntry
- PlayableEntry
- MediaEntry
- LiveStreamEntry
- Kaltura::LiveStreamAdminEntry
- Defined in:
- lib/kaltura/kaltura_client.rb
Overview
The LiveStreamAdminEntry object is what the LiveStreamService utilizes to create streams.
It is important to note that the fields media_type, and the encoding fields are necessary to create a LiveStream on the Kaltura server.
Instance Attribute Summary collapse
-
#encoding_ip1 ⇒ Object
This field is required to create a new LiveStream on the Kaltura server.
-
#encoding_ip2 ⇒ Object
This field is required to create a new LiveStream on the Kaltura server.
-
#stream_password ⇒ Object
Returns the value of attribute stream_password.
-
#stream_username ⇒ Object
Returns the value of attribute stream_username.
Attributes inherited from LiveStreamEntry
#bitrates, #offline_message, #stream_remote_backup_id, #stream_remote_id
Attributes inherited from MediaEntry
#conversion_quality, #credit_url, #credit_user_name, #data_url, #flavor_params_ids, #media_date, #media_type, #search_provider_id, #search_provider_type, #source_type
Attributes inherited from PlayableEntry
#duration, #duration_type, #height, #ms_duration, #plays, #views, #width
Attributes inherited from BaseEntry
#access_control_id, #admin_tags, #categories, #categories_ids, #created_at, #description, #download_url, #end_date, #group_id, #id, #license_type, #moderation_count, #moderation_status, #name, #partner_data, #partner_id, #rank, #search_text, #start_date, #status, #tags, #thumbnail_url, #total_rank, #type, #updated_at, #user_id, #version, #votes
Attributes inherited from ObjectBase
Instance Method Summary collapse
-
#camelcase(val) ⇒ Object
The camelcase method needed to be overriden for LiveStreamAdminEntry due to the fact that the encoding_ip fields do not fit the camel case setup.
Methods inherited from ObjectBase
Instance Attribute Details
#encoding_ip1 ⇒ Object
This field is required to create a new LiveStream on the Kaltura server.
643 644 645 |
# File 'lib/kaltura/kaltura_client.rb', line 643 def encoding_ip1 @encoding_ip1 end |
#encoding_ip2 ⇒ Object
This field is required to create a new LiveStream on the Kaltura server.
645 646 647 |
# File 'lib/kaltura/kaltura_client.rb', line 645 def encoding_ip2 @encoding_ip2 end |
#stream_password ⇒ Object
Returns the value of attribute stream_password.
646 647 648 |
# File 'lib/kaltura/kaltura_client.rb', line 646 def stream_password @stream_password end |
#stream_username ⇒ Object
Returns the value of attribute stream_username.
647 648 649 |
# File 'lib/kaltura/kaltura_client.rb', line 647 def stream_username @stream_username end |
Instance Method Details
#camelcase(val) ⇒ Object
The camelcase method needed to be overriden for LiveStreamAdminEntry due to the fact that the encoding_ip fields do not fit the camel case setup.
653 654 655 656 657 658 659 660 661 662 |
# File 'lib/kaltura/kaltura_client.rb', line 653 def camelcase(val) case val when 'encoding_ip1' 'encodingIP1' when 'encoding_ip2' 'encodingIP2' else super(val) end end |