Class: ActiveVlc::DSL::TranscodeAudio

Inherits:
Base
  • Object
show all
Defined in:
lib/activevlc/dsl/transcode.rb

Overview

Syntactic sugar classes for different type of streams

Instance Method Summary collapse

Methods inherited from Base

#initialize, #method_missing, #param

Constructor Details

This class inherits a constructor from ActiveVlc::DSL::Base

Dynamic Method Handling

This class handles dynamic methods through the method_missing method in the class ActiveVlc::DSL::Base

Instance Method Details

#bitrate(val) ⇒ Object



31
32
33
# File 'lib/activevlc/dsl/transcode.rb', line 31

def bitrate(val)
  __option :ab, val
end

#encoder(val, &block) ⇒ Object



34
35
36
# File 'lib/activevlc/dsl/transcode.rb', line 34

def encoder(val, &block)
  __option :aenc, val, &block
end