aws-transcribe-ws-0.0.1.0: Websocket streaming to Amazon Transcribe service
Safe HaskellNone
LanguageHaskell2010

AWS.Transcribe.Channel

Synopsis

Documentation

data Channel Source #

An AWS Transcribe channel abstraction. Audio Bytestrings are written to the channel to be transcribed. Transcribed StreamingResponses are read from the channel.

tryReadChannel :: Channel -> IO (Maybe StreamingResponse) Source #

Read a StreamingResponse from the Channel if one is available

writeChannel :: Channel -> ByteString -> IO () Source #

Write an audio ByteString to the channel

isEmpty :: Channel -> IO Bool Source #

Is the reading side of the channel empty?