Method: WscSdk::Templates::Output.full_hd

Defined in:
lib/wsc_sdk/templates/output.rb

.full_hd(modifiers = {}) ⇒ Object

Generate a Full HD output (1920x1080).

Parameters:

  • modifiers (Hash) (defaults to: {})

    A hash of key/value modifiers to change data in the template.



16
17
18
19
20
21
22
23
24
25
26
27
28
29
# File 'lib/wsc_sdk/templates/output.rb', line 16

def self.full_hd(modifiers={})
  self.merge({
    stream_format:        "audiovideo",
    passthrough_video:    false,
    passthrough_audio:    false,
    aspect_ratio_height:  1080,
    aspect_ratio_width:   1920,
    bitrate_audio:        128,
    bitrate_video:        4000,
    h264_profile:         "high",
    framerate_reduction:  "0",
    keyframes:            "follow_source"
  }, modifiers)
end