Files
livekit-3d/pkg/service/rpc/egress.proto
T
David Colburn a87107a0f3 IOInfo service (#1305)
* IOInfo service

* only start if not nil

* use ctx in updateEgressInfo

* updates

* fix merge
2023-01-16 16:26:03 -08:00

34 lines
863 B
Protocol Buffer

syntax = "proto3";
package rpc;
option go_package = "github.com/livekit/livekit/pkg/service/rpc";
import "options.proto";
import "livekit_rpc_internal.proto";
import "livekit_egress.proto";
service EgressInternal {
rpc StartEgress(livekit.StartEgressRequest) returns (livekit.EgressInfo) {
option (psrpc.options).affinity_func = true;
};
rpc ListActiveEgress(ListActiveEgressRequest) returns (ListActiveEgressResponse) {
option (psrpc.options).multi = true;
}
}
service EgressHandler {
rpc UpdateStream(livekit.UpdateStreamRequest) returns (livekit.EgressInfo) {
option (psrpc.options).topics = true;
}
rpc StopEgress(livekit.StopEgressRequest) returns (livekit.EgressInfo) {
option (psrpc.options).topics = true;
}
}
message ListActiveEgressRequest {}
message ListActiveEgressResponse {
repeated string egress_ids = 1;
}