mirror of
https://github.com/langhuihui/monibuca.git
synced 2025-10-17 19:10:39 +08:00
21 lines
450 B
Protocol Buffer
21 lines
450 B
Protocol Buffer
syntax = "proto3";
|
|
import "google/api/annotations.proto";
|
|
//import "google/protobuf/empty.proto";
|
|
import "global.proto";
|
|
package rtmp;
|
|
option go_package="m7s.live/v5/plugin/rtmp/pb";
|
|
|
|
service api {
|
|
rpc PushOut (PushRequest) returns (global.SuccessResponse) {
|
|
option (google.api.http) = {
|
|
post: "/rtmp/api/push/{streamPath=**}"
|
|
body: "remoteURL"
|
|
};
|
|
}
|
|
}
|
|
|
|
message PushRequest {
|
|
string streamPath = 1;
|
|
string remoteURL = 2;
|
|
}
|