27 lines
496 B
Protocol Buffer
27 lines
496 B
Protocol Buffer
|
syntax = "proto3";
|
||
|
option go_package = "github.com/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;
|
||
|
}
|
||
|
|