Skip to content

Commit

Permalink
Add ICERestartWHIPResource to RPC (#716)
Browse files Browse the repository at this point in the history
* Add ICERestartWHIPResource to RPC

* Create witty-tomatoes-smile.md

---------

Co-authored-by: Benjamin Pracht <[email protected]>
  • Loading branch information
Sean-Der and biglittlebigben authored May 14, 2024
1 parent 511f517 commit 5aa3d97
Show file tree
Hide file tree
Showing 4 changed files with 337 additions and 110 deletions.
6 changes: 6 additions & 0 deletions .changeset/witty-tomatoes-smile.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
"github.com/livekit/protocol": minor
"@livekit/protocol": minor
---

Add ICERestartWHIPResource to RPC
16 changes: 16 additions & 0 deletions protobufs/rpc/ingress.proto
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,10 @@ service IngressHandler {
rpc DeleteWHIPResource(DeleteWHIPResourceRequest) returns (google.protobuf.Empty) {
option (psrpc.options).topics = true;
};
rpc ICERestartWHIPResource(ICERestartWHIPResourceRequest) returns (ICERestartWHIPResourceResponse) {
option (psrpc.options).topics = true;
};

}

message ListActiveIngressRequest {}
Expand All @@ -56,6 +60,18 @@ message DeleteWHIPResourceRequest {
string stream_key = 2;
}

message ICERestartWHIPResourceRequest {
string resource_id = 1;
string stream_key = 2;
string user_fragment = 3;
string password = 4;
repeated string candidates = 5;
}

message ICERestartWHIPResourceResponse {
string trickle_ice_sdpfrag = 1;
}

message StartIngressRequest {
livekit.IngressInfo info = 1;
string token = 2;
Expand Down
Loading

0 comments on commit 5aa3d97

Please sign in to comment.