Skip to content

Build error: SCStreamConfiguration has no member captureMicrophone #3

@kstbyev

Description

@kstbyev

haveWhen building the project on macOS, I get the following error:

:11: error: value of type 'SCStreamConfiguration' has no member 'captureMicrophone'
 45 |       let cfg = SCStreamConfiguration()
 46 |       cfg.capturesAudio = true
 47 |       cfg.captureMicrophone = false
    |           `- error: value of type 'SCStreamConfiguration' has no member 'captureMicrophone'
 48 |       cfg.excludesCurrentProcessAudio = true  // don't capture our own output
 49 |       print("Created configuration")

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions