Files
monibuca/plugin/rtmp/pb/rtmp.proto
T
2024-07-05 17:21:27 +08:00

21 lines
447 B
Protocol Buffer

syntax = "proto3";
import "google/api/annotations.proto";
//import "google/protobuf/empty.proto";
import "global.proto";
package m7s;
option go_package="m7s.live/m7s/v5/plugin/rtmp/pb";
service rtmp {
rpc PushOut (PushRequest) returns (SuccessResponse) {
option (google.api.http) = {
post: "/rtmp/api/push/{streamPath=**}"
body: "remoteURL"
};
}
}
message PushRequest {
string streamPath = 1;
string remoteURL = 2;
}