Files
livekit-3d/pkg/service/rpc/egress.proto
T

35 lines
905 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;
option (psrpc.options).topics = 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;
}