ffmpeg-playout/api/PlayoutService.proto

27 lines
500 B
Protocol Buffer

syntax = "proto3";
option go_package = "git.entr0py.de/garionion/ffmpeg-playout/api";
package api;
import "google/protobuf/timestamp.proto";
service Playout {
rpc SchedulePlayout (Job) returns (ScheduledJob) {}
}
message Job {
google.protobuf.Timestamp StartAt = 1;
google.protobuf.Timestamp StopAt = 2;
string Source = 3;
int64 ID = 4;
string Version = 5;
}
message ScheduledJob {
int64 ID = 1;
string Port = 2;
string Room = 3;
string Version = 4;
}