Skip to content

RECORD_AUDIO permission for audiostream #39

@mocambo

Description

@mocambo

Hi,
I installed audiostream and it works, but I have a problem with the microphone:

from audiostream import get_input

declare a callback where we'll receive the data

def callback_mic(data):
print 'i got', len(data)

get the microphone (or from another source if available)

mic = get_input(callback=callback_mic)
mic.start()
sleep(5)
mic.stop()

Best Regards
mocambo

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions