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.String | deviceId | An unique string id for the device. |
System.String | apiUrl | Speechly SLU API url (default: |
System.String | appId | Speechly project id for authentication. Only provide either app id or project id, not both (default: |
System.String | projectId | Speechly app id for authentication. Only provide either app id or project id, not both (default: |
System.Boolean | debug | Enable debug prints thru Log delegate. (default: |