Skip to content

Streaming audio data to Lex using PostConetntAsync #949

@achaloyan

Description

@achaloyan

What platform/OS are you using?

Linux and Windows

What compiler are you using? what version?

gcc and VS 2015

AWS SDK CPP 1.5.16

My goal is to use PostContentAsync and stream audio data to Lex. The documentation clearly indicates that the service supports streaming.

However, it is not clear to me whether the c++ SDK provides any means for that or not. I tried to create an instance of an Aws::IOStream and set it as a body in PostContentRequest, by continuously writing audio data chunks to the stream, but this does not seem to work. Any usage example would help. In the meantime, non-streaming mode works as intended.

Thanks.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions