mirror of
https://github.com/langhuihui/monibuca.git
synced 2025-12-24 13:48:04 +08:00
23 lines
445 B
Protocol Buffer
23 lines
445 B
Protocol Buffer
syntax = "proto3";
|
|
import "google/api/annotations.proto";
|
|
import "google/protobuf/empty.proto";
|
|
package m7s;
|
|
option go_package="m7s.live/m7s/v5/plugin/rtmp/pb";
|
|
|
|
service rtmp {
|
|
rpc PushOut (PushRequest) returns (PushResponse) {
|
|
option (google.api.http) = {
|
|
post: "/rtmp/api/push/{streamPath=**}"
|
|
body: "remoteURL"
|
|
};
|
|
}
|
|
}
|
|
|
|
message PushRequest {
|
|
string streamPath = 1;
|
|
string remoteURL = 2;
|
|
}
|
|
|
|
message PushResponse {
|
|
|
|
} |