Class: Bitmovin::Encoding::Manifests::HlsVariantStream
- Defined in:
- lib/bitmovin/encoding/manifests/hls_variant_stream.rb
Instance Attribute Summary collapse
-
#audio ⇒ Object
Returns the value of attribute audio.
-
#closed_captions ⇒ Object
Required.
-
#drm_id ⇒ Object
Returns the value of attribute drm_id.
-
#encoding_id ⇒ Object
Returns the value of attribute encoding_id.
-
#end_segment_number ⇒ Object
Returns the value of attribute end_segment_number.
-
#id ⇒ Object
Returns the value of attribute id.
-
#manifest_id ⇒ Object
Returns the value of attribute manifest_id.
-
#muxing_id ⇒ Object
Returns the value of attribute muxing_id.
-
#segment_path ⇒ Object
Required.
-
#start_segment_number ⇒ Object
Returns the value of attribute start_segment_number.
-
#stream_id ⇒ Object
Returns the value of attribute stream_id.
-
#subtitles ⇒ Object
Returns the value of attribute subtitles.
-
#uri ⇒ Object
Required.
-
#video ⇒ Object
Returns the value of attribute video.
Attributes inherited from Resource
#created_at, #description, #modified_at, #name
Instance Method Summary collapse
-
#initialize(manifest_id, hash = {}) ⇒ HlsVariantStream
constructor
A new instance of HlsVariantStream.
Methods inherited from Resource
#delete!, find, init, #init_instance, #inspect, list, #persisted?, #save!
Methods included from Helpers
#camelize_hash, #hash_to_struct, result, #result, #underscore_hash
Constructor Details
#initialize(manifest_id, hash = {}) ⇒ HlsVariantStream
Returns a new instance of HlsVariantStream.
13 14 15 16 17 18 |
# File 'lib/bitmovin/encoding/manifests/hls_variant_stream.rb', line 13 def initialize(manifest_id, hash = {}) hsh = ActiveSupport::HashWithIndifferentAccess.new(underscore_hash(hash)) @manifest_id = manifest_id init_instance(File.join("/v1/encoding/manifests/hls/", manifest_id, "streams")) super(hsh) end |
Instance Attribute Details
#audio ⇒ Object
Returns the value of attribute audio.
9 10 11 |
# File 'lib/bitmovin/encoding/manifests/hls_variant_stream.rb', line 9 def audio @audio end |
#closed_captions ⇒ Object
Required
6 7 8 |
# File 'lib/bitmovin/encoding/manifests/hls_variant_stream.rb', line 6 def @closed_captions end |
#drm_id ⇒ Object
Returns the value of attribute drm_id.
10 11 12 |
# File 'lib/bitmovin/encoding/manifests/hls_variant_stream.rb', line 10 def drm_id @drm_id end |
#encoding_id ⇒ Object
Returns the value of attribute encoding_id.
7 8 9 |
# File 'lib/bitmovin/encoding/manifests/hls_variant_stream.rb', line 7 def encoding_id @encoding_id end |
#end_segment_number ⇒ Object
Returns the value of attribute end_segment_number.
10 11 12 |
# File 'lib/bitmovin/encoding/manifests/hls_variant_stream.rb', line 10 def end_segment_number @end_segment_number end |
#id ⇒ Object
Returns the value of attribute id.
3 4 5 |
# File 'lib/bitmovin/encoding/manifests/hls_variant_stream.rb', line 3 def id @id end |
#manifest_id ⇒ Object
Returns the value of attribute manifest_id.
3 4 5 |
# File 'lib/bitmovin/encoding/manifests/hls_variant_stream.rb', line 3 def manifest_id @manifest_id end |
#muxing_id ⇒ Object
Returns the value of attribute muxing_id.
7 8 9 |
# File 'lib/bitmovin/encoding/manifests/hls_variant_stream.rb', line 7 def muxing_id @muxing_id end |
#segment_path ⇒ Object
Required
6 7 8 |
# File 'lib/bitmovin/encoding/manifests/hls_variant_stream.rb', line 6 def segment_path @segment_path end |
#start_segment_number ⇒ Object
Returns the value of attribute start_segment_number.
10 11 12 |
# File 'lib/bitmovin/encoding/manifests/hls_variant_stream.rb', line 10 def start_segment_number @start_segment_number end |
#stream_id ⇒ Object
Returns the value of attribute stream_id.
7 8 9 |
# File 'lib/bitmovin/encoding/manifests/hls_variant_stream.rb', line 7 def stream_id @stream_id end |
#subtitles ⇒ Object
Returns the value of attribute subtitles.
9 10 11 |
# File 'lib/bitmovin/encoding/manifests/hls_variant_stream.rb', line 9 def subtitles @subtitles end |
#uri ⇒ Object
Required
6 7 8 |
# File 'lib/bitmovin/encoding/manifests/hls_variant_stream.rb', line 6 def uri @uri end |
#video ⇒ Object
Returns the value of attribute video.
9 10 11 |
# File 'lib/bitmovin/encoding/manifests/hls_variant_stream.rb', line 9 def video @video end |