From d61ce79c295d965f457138e928b03aae4e3e6a6d Mon Sep 17 00:00:00 2001 From: Daniel Ponte Date: Sun, 11 Aug 2024 19:23:16 -0400 Subject: [PATCH] wip --- lib/controller/ws.dart | 4 +--- protobuf/stillbox.proto | 3 ++- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/lib/controller/ws.dart b/lib/controller/ws.dart index 72f9464..b55cd07 100644 --- a/lib/controller/ws.dart +++ b/lib/controller/ws.dart @@ -5,9 +5,7 @@ class LiveFeeder { late Uri _wsUri; late WebSocketChannel channel; - LiveFeeder(); - - void init() { + LiveFeeder() { String socketUrl = 'ws://xenon:3050/ws'; Uri baseUri = Uri.base; if (baseUri.scheme == 'http' || baseUri.scheme == 'https') { diff --git a/protobuf/stillbox.proto b/protobuf/stillbox.proto index ccaf9ca..a3c3391 100644 --- a/protobuf/stillbox.proto +++ b/protobuf/stillbox.proto @@ -24,7 +24,8 @@ message Call { repeated int64 frequencies = 8; repeated int32 patches = 9; repeated int32 sources = 10; - bytes audio = 11; + optional int32 duration = 11; + bytes audio = 12; } message UserPopup {