View Source Membrane.CameraCapture (Membrane Camera Capture Plugin v0.7.2)

Membrane Source Element for capturing image from a camera through FFmpeg

Element options

Passed via struct Membrane.CameraCapture.t/0

  • device

    String.t()

    Default value: "default"
    Name of the device used to capture video

  • framerate

    non_neg_integer()

    Default value: 30
    Framerate of device's output video stream

Pads

:output

Accepted formats:

_any
Direction::output
Availability::always
Flow control::push

Summary

Types

t()

Struct containing options for Membrane.CameraCapture

Functions

Returns description of options available for this module

Types

@type t() :: %Membrane.CameraCapture{device: String.t(), framerate: non_neg_integer()}

Struct containing options for Membrane.CameraCapture

Functions

@spec options() :: keyword()

Returns description of options available for this module