Skip to content

Instantly share code, notes, and snippets.

View mediumTaj's full-sized avatar

Ajiemar Santiago mediumTaj

  • IBM Watson
  • Austin, TX
View GitHub Profile
@mediumTaj
mediumTaj / WatsonSTTWebsocketExample.cs
Created January 29, 2021 20:07 — forked from nfriedly/WatsonSTTWebsocketExample.cs
C# example of streaming Watson Speech to Text results over a WebSocket
// Note: The official .net SDK is in progress. It doesn't support streaming Speech to Text at the time of writing,
// but it will soon. Please check it out before using this code.
//
// https://github.com/watson-developer-cloud/dotnet-standard-sdk
using System;
using System.Net.WebSockets;
using System.Net;
using System.Runtime.Serialization.Json;
using System.Threading;