Class CloudDecoder
Provides speech processing with Speechly's cloud SLU service.
Internally handles authentication using https and audio streaming via secure websocket. Audio is streamed when listening is started with SpeechlyClient.Start(). Streaming stops upon call to SpeechlyClient.Stop().
Namespace: Speechly.SLUClient
Assembly: speechly-dotnet.dll
Syntax
public class CloudDecoder : IDecoder
Constructors
| Improve this Doc View SourceCloudDecoder(String, String, String, String, Boolean)
Initialize speech processing with Speechly's cloud SLU service.
Declaration
public CloudDecoder(string deviceId, string apiUrl = null, string appId = null, string projectId = null, bool debug = false)
Parameters
Type | Name | Description |
---|---|---|
System. |
deviceId | An unique string id for the device. |
System. |
apiUrl | Speechly SLU API url (default: |
System. |
appId | Speechly project id for authentication. Only provide either app id or project id, not both (default: |
System. |
projectId | Speechly app id for authentication. Only provide either app id or project id, not both (default: |
System. |
debug | Enable debug prints thru Log delegate. (default: |