View Source Membrane.LiveCompositor.Request.UpdateAudioOutput (Membrane LiveCompositor Plugin v0.10.0)

Request to update configuration of an audio output. You can define what inputs and volume should be used to produce the output.

Summary

Types

  • input_id - ID of an input that will be used to produce output.
  • volume - Number between 0 and 1 that represent volume of the input.
t()
  • :output_id - Id of the output that should be updated.
  • :inputs - Inputs and their configuration that should be mixed to produce the output audio.
  • :schedule_time - Schedule this update at a specific time. Time is measured from compositor start. If not defined, update will be applied immediately.

Types

@type input() :: %{
  input_id: Membrane.LiveCompositor.input_id(),
  volume: float() | nil
}
  • input_id - ID of an input that will be used to produce output.
  • volume - Number between 0 and 1 that represent volume of the input.
@type t() :: %Membrane.LiveCompositor.Request.UpdateAudioOutput{
  inputs: [input()],
  output_id: Membrane.LiveCompositor.output_id(),
  schedule_time: Membrane.Time | nil
}
  • :output_id - Id of the output that should be updated.
  • :inputs - Inputs and their configuration that should be mixed to produce the output audio.
  • :schedule_time - Schedule this update at a specific time. Time is measured from compositor start. If not defined, update will be applied immediately.