Sha256: 000c4f7d1ac7f4d08518c4eb7693f65ac6c346c79b0936c71c4ff2fa9dc2218a

Contents?: true

Size: 522 Bytes

Versions: 7

Compression:

Stored size: 522 Bytes

Contents

module Bitmovin::Encoding::Encodings::Muxings
  class TsMuxing < MuxingResource
    attr_accessor :id
    attr_accessor :encoding_id
    attr_accessor :segment_naming, :segment_length
    attr_accessor :drms

    def initialize(encoding_id, hash = {})
      super(encoding_id, hash)
      @encoding_id = encoding_id
    end

    def drms
      if !persisted?
        raise BitmovinError.new(self), "Cannot access drms of not persisted muxing"
      end
      Drms::TsMuxingDrmList.new(@encoding_id, @id)
    end
  end
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
bitmovin-ruby-0.9.1 lib/bitmovin/encoding/encodings/muxings/ts_muxing.rb
bitmovin-ruby-0.9.0 lib/bitmovin/encoding/encodings/muxings/ts_muxing.rb
bitmovin-ruby-0.8.1 lib/bitmovin/encoding/encodings/muxings/ts_muxing.rb
bitmovin-ruby-0.8.0 lib/bitmovin/encoding/encodings/muxings/ts_muxing.rb
bitmovin-ruby-0.7.0 lib/bitmovin/encoding/encodings/muxings/ts_muxing.rb
bitmovin-ruby-0.5.0 lib/bitmovin/encoding/encodings/muxings/ts_muxing.rb
bitmovin-ruby-0.4.0 lib/bitmovin/encoding/encodings/muxings/ts_muxing.rb