Class: Kaltura::LiveStreamAdminEntry

Inherits:
LiveStreamEntry show all
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

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

#object_type

Instance Method Summary collapse

Methods inherited from ObjectBase

#to_b, #to_params

Instance Attribute Details

#encoding_ip1Object

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_ip2Object

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_passwordObject

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_usernameObject

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