Skip to content

Use PropertyId for "MICROPHONE-WorkletSourceUrl" #990

@mattflaschen

Description

@mattflaschen

To load the speech-processor audio worklet without changing my app's Content Security Policy directives, I am running:

audioConfig.setProperty('MICROPHONE-WorkletSourceUrl', '/some/path/speech-processor.js');

It took me some time to find this option. Also, I was hoping not to hard-code the property name ('MICROPHONE-WorkletSourceUrl') in my code.

For documentation, it could be helpful to include it in PropertyId, similarly to WebWorkerLoadType.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions