• OctoMY API
  • OctoMY API Reference
  • C++ Classes
  • OctoMY
  • MediaDevice
  • MediaDevice Class

    Unified wrapper for audio/video capture devices. More...

    Header: #include <MediaDevice>
    Since: 1.0
    Inherits: QObject

    Public Functions

    QString details() const
    bool hasAudio() const
    bool hasVideo() const
    QString name() const
    bool previewActive() const
    QPixmap previewPixmap() const
    void setPreviewActive(bool active)

    Signals

    void previewActiveChanged()
    void previewPixmapChanged()

    Detailed Description

    MediaDevice combines QAudioDevice and QCameraDevice into a single interface. Provides live preview with video frames or audio waveform visualization.

    See also MediaDeviceModel and MediaDeviceManager.