Class: Kaltura::KalturaLiveCaptionFeature
- Inherits:
-
KalturaLiveFeature
- Object
- KalturaObjectBase
- KalturaLiveFeature
- Kaltura::KalturaLiveCaptionFeature
- Defined in:
- lib/kaltura_plugins/kaltura_schedule_client_plugin.rb
Instance Attribute Summary collapse
-
#caption_token ⇒ Object
Returns the value of attribute caption_token.
-
#caption_url ⇒ Object
Returns the value of attribute caption_url.
-
#media_key ⇒ Object
Returns the value of attribute media_key.
-
#media_url ⇒ Object
Returns the value of attribute media_url.
Attributes inherited from KalturaLiveFeature
#post_end_time, #pre_start_time, #system_name
Attributes inherited from KalturaObjectBase
#object_type, #related_objects
Instance Method Summary collapse
Methods inherited from KalturaObjectBase
Instance Attribute Details
#caption_token ⇒ Object
Returns the value of attribute caption_token.
697 698 699 |
# File 'lib/kaltura_plugins/kaltura_schedule_client_plugin.rb', line 697 def caption_token @caption_token end |
#caption_url ⇒ Object
Returns the value of attribute caption_url.
696 697 698 |
# File 'lib/kaltura_plugins/kaltura_schedule_client_plugin.rb', line 696 def caption_url @caption_url end |
#media_key ⇒ Object
Returns the value of attribute media_key.
695 696 697 |
# File 'lib/kaltura_plugins/kaltura_schedule_client_plugin.rb', line 695 def media_key @media_key end |
#media_url ⇒ Object
Returns the value of attribute media_url.
694 695 696 |
# File 'lib/kaltura_plugins/kaltura_schedule_client_plugin.rb', line 694 def media_url @media_url end |
Instance Method Details
#from_xml(xml_element) ⇒ Object
700 701 702 703 704 705 706 707 708 709 710 711 712 713 714 |
# File 'lib/kaltura_plugins/kaltura_schedule_client_plugin.rb', line 700 def from_xml(xml_element) super if xml_element.elements['mediaUrl'] != nil self.media_url = xml_element.elements['mediaUrl'].text end if xml_element.elements['mediaKey'] != nil self.media_key = xml_element.elements['mediaKey'].text end if xml_element.elements['captionUrl'] != nil self.caption_url = xml_element.elements['captionUrl'].text end if xml_element.elements['captionToken'] != nil self.caption_token = xml_element.elements['captionToken'].text end end |