looper/ipc/controller.proto

21 lines
595 B
Protocol Buffer
Raw Permalink Normal View History

2024-08-08 13:12:37 -07:00
syntax = "proto3";
import "common.proto";
import "google/protobuf/any.proto";
message PlayCommand {
string filename = 1;
optional uint64 idx = 2;
};
message SetStreamCommand {
uint64 idx = 1;
}
service PlaybackControlService {
rpc Get(GetProperty) returns (PropertyDataOrError) {}
rpc Set(SetProperty) returns (MaybeError) {}
rpc Reset(ResetProperty) returns (PropertyDataOrError) {}
rpc Quit() returns (MaybeError) {}
rpc Play(PlayCommand) returns (MaybeError) {}
rpc Stop() returns (MaybeError) {}
rpc Pause() returns (MaybeError) {}
rpc SetStream(SetStreamCommand) returns (MaybeError) {}
}