Fixed TTS using StreamElements. Fixed several issues.
This commit is contained in:
@@ -183,7 +183,7 @@ namespace TwitchChatTTS.Twitch.Socket
|
||||
while (current < total)
|
||||
{
|
||||
var size = Encoding.UTF8.GetBytes(content.Substring(current), array);
|
||||
await _socket!.SendAsync(array, WebSocketMessageType.Text, current + size >= total, _cts!.Token);
|
||||
await _socket!.SendAsync(array, WebSocketMessageType.Text, current + size >= total, CancellationToken.None);
|
||||
current += size;
|
||||
}
|
||||
_logger.Debug("Twitch TX #" + type + ": " + content);
|
||||
|
||||
Reference in New Issue
Block a user