Optional connOptions: APIConnectOptionsStatic Readonly CLOSE_Unix timestamp when the AssemblyAI session expires. Set alongside sessionId when the WebSocket connection is established.
The AssemblyAI session ID. Set when the WebSocket connection is established (before any speech events). Null until the connection completes. Share this with the AssemblyAI team when reporting issues.
An instance of a speech-to-text stream, as an asynchronous iterable iterator.
Example: Looping through frames
Remarks
This class is abstract, and as such cannot be used directly. Instead, use a provider plugin that exports its own child SpeechStream class, which inherits this class's methods.