fork/rust-sdks

git clone https://git.julia.blue/fork/rust-sdks

zesun96add adaptive streaming; (#488)979d0c5

main
1.1 KiB38 linesraw
1// Copyright 2023 LiveKit, Inc.
2//
3// Licensed under the Apache License, Version 2.0 (the "License");
4// you may not use this file except in compliance with the License.
5// You may obtain a copy of the License at
6//
7//     http://www.apache.org/licenses/LICENSE-2.0
8//
9// Unless required by applicable law or agreed to in writing, software
10// distributed under the License is distributed on an "AS IS" BASIS,
11// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12// See the License for the specific language governing permissions and
13// limitations under the License.
14
15syntax = "proto2";
16
17package livekit.proto;
18option csharp_namespace = "LiveKit.Proto";
19
20// Enable/Disable a remote track publication
21message EnableRemoteTrackPublicationRequest {
22  required uint64 track_publication_handle = 1;
23  required bool enabled = 2;
24}
25
26message EnableRemoteTrackPublicationResponse {}
27
28// update a remote track publication dimension
29message UpdateRemoteTrackPublicationDimensionRequest {
30  required uint64 track_publication_handle = 1;
31  required uint32 width = 2;
32  required uint32 height = 3;
33}
34
35message UpdateRemoteTrackPublicationDimensionResponse {}
36
37
38