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 {