Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add ICERestartWHIPResource to RPC #716

Merged
merged 2 commits into from
May 14, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading