@livekit/rtc-node 0.13.23 → 0.13.25
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/audio_filter.cjs +2 -2
- package/dist/audio_filter.cjs.map +1 -1
- package/dist/audio_filter.js +1 -1
- package/dist/audio_filter.js.map +1 -1
- package/dist/audio_frame.cjs +11 -7
- package/dist/audio_frame.cjs.map +1 -1
- package/dist/audio_frame.d.cts +3 -8
- package/dist/audio_frame.d.ts +3 -8
- package/dist/audio_frame.d.ts.map +1 -1
- package/dist/audio_frame.js +10 -6
- package/dist/audio_frame.js.map +1 -1
- package/dist/audio_mixer.cjs +11 -4
- package/dist/audio_mixer.cjs.map +1 -1
- package/dist/audio_mixer.d.cts +1 -6
- package/dist/audio_mixer.d.ts +1 -6
- package/dist/audio_mixer.d.ts.map +1 -1
- package/dist/audio_mixer.js +11 -4
- package/dist/audio_mixer.js.map +1 -1
- package/dist/audio_resampler.cjs +20 -12
- package/dist/audio_resampler.cjs.map +1 -1
- package/dist/audio_resampler.d.cts +6 -6
- package/dist/audio_resampler.d.ts +6 -6
- package/dist/audio_resampler.d.ts.map +1 -1
- package/dist/audio_resampler.js +12 -4
- package/dist/audio_resampler.js.map +1 -1
- package/dist/audio_source.cjs +11 -7
- package/dist/audio_source.cjs.map +1 -1
- package/dist/audio_source.d.cts +1 -7
- package/dist/audio_source.d.ts +1 -7
- package/dist/audio_source.d.ts.map +1 -1
- package/dist/audio_source.js +8 -3
- package/dist/audio_source.js.map +1 -1
- package/dist/audio_stream.cjs +17 -5
- package/dist/audio_stream.cjs.map +1 -1
- package/dist/audio_stream.d.cts +1 -14
- package/dist/audio_stream.d.ts +1 -14
- package/dist/audio_stream.d.ts.map +1 -1
- package/dist/audio_stream.js +16 -4
- package/dist/audio_stream.js.map +1 -1
- package/dist/data_streams/index.d.cts +2 -10
- package/dist/data_streams/index.d.ts +2 -10
- package/dist/data_streams/stream_reader.cjs +8 -0
- package/dist/data_streams/stream_reader.cjs.map +1 -1
- package/dist/data_streams/stream_reader.d.cts +2 -10
- package/dist/data_streams/stream_reader.d.ts +2 -10
- package/dist/data_streams/stream_reader.d.ts.map +1 -1
- package/dist/data_streams/stream_reader.js +8 -0
- package/dist/data_streams/stream_reader.js.map +1 -1
- package/dist/data_streams/stream_writer.d.cts +2 -10
- package/dist/data_streams/stream_writer.d.ts +2 -10
- package/dist/data_streams/types.cjs.map +1 -1
- package/dist/data_streams/types.d.cts +2 -10
- package/dist/data_streams/types.d.ts +2 -10
- package/dist/data_streams/types.d.ts.map +1 -1
- package/dist/e2ee.cjs +21 -21
- package/dist/e2ee.cjs.map +1 -1
- package/dist/e2ee.d.cts +1 -2
- package/dist/e2ee.d.ts +1 -2
- package/dist/e2ee.d.ts.map +1 -1
- package/dist/e2ee.js +2 -2
- package/dist/e2ee.js.map +1 -1
- package/dist/ffi_client.cjs +11 -12
- package/dist/ffi_client.cjs.map +1 -1
- package/dist/ffi_client.d.cts +3 -16
- package/dist/ffi_client.d.ts +3 -16
- package/dist/ffi_client.d.ts.map +1 -1
- package/dist/ffi_client.js +5 -3
- package/dist/ffi_client.js.map +1 -1
- package/dist/frame_processor.cjs +13 -2
- package/dist/frame_processor.cjs.map +1 -1
- package/dist/frame_processor.d.cts +5 -8
- package/dist/frame_processor.d.ts +5 -8
- package/dist/frame_processor.d.ts.map +1 -1
- package/dist/frame_processor.js +10 -1
- package/dist/frame_processor.js.map +1 -1
- package/dist/index.cjs +25 -23
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +3 -16
- package/dist/index.d.ts +3 -16
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +9 -7
- package/dist/index.js.map +1 -1
- package/dist/log.cjs +1 -10
- package/dist/log.cjs.map +1 -1
- package/dist/log.d.cts +4 -0
- package/dist/log.d.ts +4 -0
- package/dist/log.d.ts.map +1 -1
- package/dist/log.js +1 -10
- package/dist/log.js.map +1 -1
- package/dist/participant.cjs +38 -38
- package/dist/participant.cjs.map +1 -1
- package/dist/participant.d.cts +2 -15
- package/dist/participant.d.ts +2 -15
- package/dist/participant.d.ts.map +1 -1
- package/dist/participant.js +12 -12
- package/dist/participant.js.map +1 -1
- package/dist/room.cjs +48 -30
- package/dist/room.cjs.map +1 -1
- package/dist/room.d.cts +11 -16
- package/dist/room.d.ts +11 -16
- package/dist/room.d.ts.map +1 -1
- package/dist/room.js +44 -26
- package/dist/room.js.map +1 -1
- package/dist/rpc.cjs.map +1 -1
- package/dist/rpc.d.cts +1 -2
- package/dist/rpc.d.ts +1 -2
- package/dist/rpc.d.ts.map +1 -1
- package/dist/rpc.js.map +1 -1
- package/dist/{stream_reader-Ch2zvjU3.d.cts → stream_reader-CuG4b8Y-.d.cts} +1 -1
- package/dist/{stream_reader-DRyR29vo.d.ts → stream_reader-CuG4b8Y-.d.ts} +1 -1
- package/dist/track.cjs +3 -3
- package/dist/track.cjs.map +1 -1
- package/dist/track.d.cts +1 -14
- package/dist/track.d.ts +1 -14
- package/dist/track.d.ts.map +1 -1
- package/dist/track.js +1 -1
- package/dist/track.js.map +1 -1
- package/dist/track_publication.cjs +4 -4
- package/dist/track_publication.cjs.map +1 -1
- package/dist/track_publication.d.cts +1 -14
- package/dist/track_publication.d.ts +1 -14
- package/dist/track_publication.d.ts.map +1 -1
- package/dist/track_publication.js +2 -2
- package/dist/track_publication.js.map +1 -1
- package/dist/version.cjs +1 -1
- package/dist/version.cjs.map +1 -1
- package/dist/version.d.cts +1 -1
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/dist/version.js.map +1 -1
- package/dist/video_frame.cjs +42 -42
- package/dist/video_frame.cjs.map +1 -1
- package/dist/video_frame.d.cts +1 -6
- package/dist/video_frame.d.ts +1 -6
- package/dist/video_frame.d.ts.map +1 -1
- package/dist/video_frame.js +2 -2
- package/dist/video_frame.js.map +1 -1
- package/dist/video_source.cjs +5 -5
- package/dist/video_source.cjs.map +1 -1
- package/dist/video_source.d.cts +1 -14
- package/dist/video_source.d.ts +1 -14
- package/dist/video_source.d.ts.map +1 -1
- package/dist/video_source.js +2 -2
- package/dist/video_source.js.map +1 -1
- package/dist/video_stream.cjs +12 -4
- package/dist/video_stream.cjs.map +1 -1
- package/dist/video_stream.d.cts +1 -14
- package/dist/video_stream.d.ts +1 -14
- package/dist/video_stream.d.ts.map +1 -1
- package/dist/video_stream.js +10 -2
- package/dist/video_stream.js.map +1 -1
- package/package.json +9 -35
- package/src/audio_filter.ts +2 -2
- package/src/audio_frame.ts +26 -7
- package/src/audio_mixer.ts +15 -4
- package/src/audio_resampler.ts +14 -4
- package/src/audio_source.ts +13 -5
- package/src/audio_stream.ts +21 -5
- package/src/data_streams/stream_reader.ts +19 -1
- package/src/data_streams/types.ts +1 -1
- package/src/e2ee.ts +3 -3
- package/src/ffi_client.ts +7 -5
- package/src/frame_processor.ts +21 -0
- package/src/index.ts +6 -5
- package/src/log.ts +14 -10
- package/src/participant.ts +17 -17
- package/src/room.ts +65 -38
- package/src/rpc.ts +1 -1
- package/src/tests/e2e.test.ts +517 -0
- package/src/track.ts +4 -4
- package/src/track_publication.ts +6 -6
- package/src/version.ts +1 -1
- package/src/video_frame.ts +3 -3
- package/src/video_source.ts +3 -3
- package/src/video_stream.ts +15 -3
- package/Cargo.toml +0 -25
- package/build.rs +0 -9
- package/dist/napi/native.cjs +0 -301
- package/dist/napi/native.d.cjs +0 -17
- package/dist/napi/native.d.cjs.map +0 -1
- package/dist/napi/native.d.d.cts +0 -21
- package/dist/napi/native.d.d.ts +0 -21
- package/dist/napi/native.d.js +0 -1
- package/dist/napi/native.d.js.map +0 -1
- package/dist/napi/native.d.ts +0 -19
- package/dist/napi/native.js +0 -15
- package/dist/native.cjs +0 -301
- package/dist/native.d.ts +0 -19
- package/dist/native.js +0 -15
- package/dist/proto/audio_frame_pb.cjs +0 -1357
- package/dist/proto/audio_frame_pb.cjs.map +0 -1
- package/dist/proto/audio_frame_pb.d.cts +0 -1183
- package/dist/proto/audio_frame_pb.d.ts +0 -1183
- package/dist/proto/audio_frame_pb.d.ts.map +0 -1
- package/dist/proto/audio_frame_pb.js +0 -1283
- package/dist/proto/audio_frame_pb.js.map +0 -1
- package/dist/proto/data_stream_pb.cjs +0 -1638
- package/dist/proto/data_stream_pb.cjs.map +0 -1
- package/dist/proto/data_stream_pb.d.cts +0 -1449
- package/dist/proto/data_stream_pb.d.ts +0 -1449
- package/dist/proto/data_stream_pb.d.ts.map +0 -1
- package/dist/proto/data_stream_pb.js +0 -1559
- package/dist/proto/data_stream_pb.js.map +0 -1
- package/dist/proto/e2ee_pb.cjs +0 -746
- package/dist/proto/e2ee_pb.cjs.map +0 -1
- package/dist/proto/e2ee_pb.d.cts +0 -653
- package/dist/proto/e2ee_pb.d.ts +0 -653
- package/dist/proto/e2ee_pb.d.ts.map +0 -1
- package/dist/proto/e2ee_pb.js +0 -696
- package/dist/proto/e2ee_pb.js.map +0 -1
- package/dist/proto/ffi_pb.cjs +0 -477
- package/dist/proto/ffi_pb.cjs.map +0 -1
- package/dist/proto/ffi_pb.d.cts +0 -1321
- package/dist/proto/ffi_pb.d.ts +0 -1321
- package/dist/proto/ffi_pb.d.ts.map +0 -1
- package/dist/proto/ffi_pb.js +0 -444
- package/dist/proto/ffi_pb.js.map +0 -1
- package/dist/proto/handle_pb.cjs +0 -53
- package/dist/proto/handle_pb.cjs.map +0 -1
- package/dist/proto/handle_pb.d.cts +0 -31
- package/dist/proto/handle_pb.d.ts +0 -31
- package/dist/proto/handle_pb.d.ts.map +0 -1
- package/dist/proto/handle_pb.js +0 -29
- package/dist/proto/handle_pb.js.map +0 -1
- package/dist/proto/participant_pb.cjs +0 -173
- package/dist/proto/participant_pb.cjs.map +0 -1
- package/dist/proto/participant_pb.d.cts +0 -218
- package/dist/proto/participant_pb.d.ts +0 -218
- package/dist/proto/participant_pb.d.ts.map +0 -1
- package/dist/proto/participant_pb.js +0 -145
- package/dist/proto/participant_pb.js.map +0 -1
- package/dist/proto/room_pb.cjs +0 -3374
- package/dist/proto/room_pb.cjs.map +0 -1
- package/dist/proto/room_pb.d.cts +0 -3028
- package/dist/proto/room_pb.d.ts +0 -3028
- package/dist/proto/room_pb.d.ts.map +0 -1
- package/dist/proto/room_pb.js +0 -3232
- package/dist/proto/room_pb.js.map +0 -1
- package/dist/proto/rpc_pb.cjs +0 -328
- package/dist/proto/rpc_pb.cjs.map +0 -1
- package/dist/proto/rpc_pb.d.cts +0 -267
- package/dist/proto/rpc_pb.d.ts +0 -267
- package/dist/proto/rpc_pb.d.ts.map +0 -1
- package/dist/proto/rpc_pb.js +0 -294
- package/dist/proto/rpc_pb.js.map +0 -1
- package/dist/proto/stats_pb.cjs +0 -1370
- package/dist/proto/stats_pb.cjs.map +0 -1
- package/dist/proto/stats_pb.d.cts +0 -1764
- package/dist/proto/stats_pb.d.ts +0 -1764
- package/dist/proto/stats_pb.d.ts.map +0 -1
- package/dist/proto/stats_pb.js +0 -1300
- package/dist/proto/stats_pb.js.map +0 -1
- package/dist/proto/track_pb.cjs +0 -630
- package/dist/proto/track_pb.cjs.map +0 -1
- package/dist/proto/track_pb.d.cts +0 -542
- package/dist/proto/track_pb.d.ts +0 -542
- package/dist/proto/track_pb.d.ts.map +0 -1
- package/dist/proto/track_pb.js +0 -584
- package/dist/proto/track_pb.js.map +0 -1
- package/dist/proto/track_publication_pb.cjs +0 -194
- package/dist/proto/track_publication_pb.cjs.map +0 -1
- package/dist/proto/track_publication_pb.d.cts +0 -135
- package/dist/proto/track_publication_pb.d.ts +0 -135
- package/dist/proto/track_publication_pb.d.ts.map +0 -1
- package/dist/proto/track_publication_pb.js +0 -164
- package/dist/proto/track_publication_pb.js.map +0 -1
- package/dist/proto/video_frame_pb.cjs +0 -723
- package/dist/proto/video_frame_pb.cjs.map +0 -1
- package/dist/proto/video_frame_pb.d.cts +0 -667
- package/dist/proto/video_frame_pb.d.ts +0 -667
- package/dist/proto/video_frame_pb.d.ts.map +0 -1
- package/dist/proto/video_frame_pb.js +0 -673
- package/dist/proto/video_frame_pb.js.map +0 -1
- package/src/lib.rs +0 -9
- package/src/napi/native.cjs +0 -301
- package/src/napi/native.d.ts +0 -19
- package/src/napi/native.js +0 -15
- package/src/nodejs.rs +0 -134
- package/src/proto/audio_frame_pb.ts +0 -2270
- package/src/proto/data_stream_pb.ts +0 -2674
- package/src/proto/e2ee_pb.ts +0 -1231
- package/src/proto/ffi_pb.ts +0 -1700
- package/src/proto/handle_pb.ts +0 -69
- package/src/proto/participant_pb.ts +0 -351
- package/src/proto/room_pb.ts +0 -5661
- package/src/proto/rpc_pb.ts +0 -539
- package/src/proto/stats_pb.ts +0 -3050
- package/src/proto/track_pb.ts +0 -1040
- package/src/proto/track_publication_pb.ts +0 -284
- package/src/proto/video_frame_pb.ts +0 -1236
package/dist/proto/room_pb.d.cts
DELETED
|
@@ -1,3028 +0,0 @@
|
|
|
1
|
-
import { Message, PartialMessage, proto2, FieldList, BinaryReadOptions, JsonValue, JsonReadOptions, PlainMessage } from '@bufbuild/protobuf';
|
|
2
|
-
import { OwnedParticipant, DisconnectReason, ParticipantInfo } from './participant_pb.cjs';
|
|
3
|
-
import { OwnedTrackPublication, OwnedTrack, TrackSource } from './track_pb.cjs';
|
|
4
|
-
import { RtcStats } from './stats_pb.cjs';
|
|
5
|
-
import { VideoCodec } from './video_frame_pb.cjs';
|
|
6
|
-
import { EncryptionState, E2eeOptions } from './e2ee_pb.cjs';
|
|
7
|
-
import { FfiOwnedHandle } from './handle_pb.cjs';
|
|
8
|
-
import { OwnedByteStreamReader, OwnedTextStreamReader } from './data_stream_pb.cjs';
|
|
9
|
-
|
|
10
|
-
/**
|
|
11
|
-
* @generated from enum livekit.proto.IceTransportType
|
|
12
|
-
*/
|
|
13
|
-
declare enum IceTransportType {
|
|
14
|
-
/**
|
|
15
|
-
* @generated from enum value: TRANSPORT_RELAY = 0;
|
|
16
|
-
*/
|
|
17
|
-
TRANSPORT_RELAY = 0,
|
|
18
|
-
/**
|
|
19
|
-
* @generated from enum value: TRANSPORT_NOHOST = 1;
|
|
20
|
-
*/
|
|
21
|
-
TRANSPORT_NOHOST = 1,
|
|
22
|
-
/**
|
|
23
|
-
* @generated from enum value: TRANSPORT_ALL = 2;
|
|
24
|
-
*/
|
|
25
|
-
TRANSPORT_ALL = 2
|
|
26
|
-
}
|
|
27
|
-
/**
|
|
28
|
-
* @generated from enum livekit.proto.ContinualGatheringPolicy
|
|
29
|
-
*/
|
|
30
|
-
declare enum ContinualGatheringPolicy {
|
|
31
|
-
/**
|
|
32
|
-
* @generated from enum value: GATHER_ONCE = 0;
|
|
33
|
-
*/
|
|
34
|
-
GATHER_ONCE = 0,
|
|
35
|
-
/**
|
|
36
|
-
* @generated from enum value: GATHER_CONTINUALLY = 1;
|
|
37
|
-
*/
|
|
38
|
-
GATHER_CONTINUALLY = 1
|
|
39
|
-
}
|
|
40
|
-
/**
|
|
41
|
-
* @generated from enum livekit.proto.ConnectionQuality
|
|
42
|
-
*/
|
|
43
|
-
declare enum ConnectionQuality {
|
|
44
|
-
/**
|
|
45
|
-
* @generated from enum value: QUALITY_POOR = 0;
|
|
46
|
-
*/
|
|
47
|
-
QUALITY_POOR = 0,
|
|
48
|
-
/**
|
|
49
|
-
* @generated from enum value: QUALITY_GOOD = 1;
|
|
50
|
-
*/
|
|
51
|
-
QUALITY_GOOD = 1,
|
|
52
|
-
/**
|
|
53
|
-
* @generated from enum value: QUALITY_EXCELLENT = 2;
|
|
54
|
-
*/
|
|
55
|
-
QUALITY_EXCELLENT = 2,
|
|
56
|
-
/**
|
|
57
|
-
* @generated from enum value: QUALITY_LOST = 3;
|
|
58
|
-
*/
|
|
59
|
-
QUALITY_LOST = 3
|
|
60
|
-
}
|
|
61
|
-
/**
|
|
62
|
-
* @generated from enum livekit.proto.ConnectionState
|
|
63
|
-
*/
|
|
64
|
-
declare enum ConnectionState {
|
|
65
|
-
/**
|
|
66
|
-
* @generated from enum value: CONN_DISCONNECTED = 0;
|
|
67
|
-
*/
|
|
68
|
-
CONN_DISCONNECTED = 0,
|
|
69
|
-
/**
|
|
70
|
-
* @generated from enum value: CONN_CONNECTED = 1;
|
|
71
|
-
*/
|
|
72
|
-
CONN_CONNECTED = 1,
|
|
73
|
-
/**
|
|
74
|
-
* @generated from enum value: CONN_RECONNECTING = 2;
|
|
75
|
-
*/
|
|
76
|
-
CONN_RECONNECTING = 2
|
|
77
|
-
}
|
|
78
|
-
/**
|
|
79
|
-
* @generated from enum livekit.proto.DataPacketKind
|
|
80
|
-
*/
|
|
81
|
-
declare enum DataPacketKind {
|
|
82
|
-
/**
|
|
83
|
-
* @generated from enum value: KIND_LOSSY = 0;
|
|
84
|
-
*/
|
|
85
|
-
KIND_LOSSY = 0,
|
|
86
|
-
/**
|
|
87
|
-
* @generated from enum value: KIND_RELIABLE = 1;
|
|
88
|
-
*/
|
|
89
|
-
KIND_RELIABLE = 1
|
|
90
|
-
}
|
|
91
|
-
/**
|
|
92
|
-
* Connect to a new LiveKit room
|
|
93
|
-
*
|
|
94
|
-
* @generated from message livekit.proto.ConnectRequest
|
|
95
|
-
*/
|
|
96
|
-
declare class ConnectRequest extends Message<ConnectRequest> {
|
|
97
|
-
/**
|
|
98
|
-
* @generated from field: required string url = 1;
|
|
99
|
-
*/
|
|
100
|
-
url?: string;
|
|
101
|
-
/**
|
|
102
|
-
* @generated from field: required string token = 2;
|
|
103
|
-
*/
|
|
104
|
-
token?: string;
|
|
105
|
-
/**
|
|
106
|
-
* @generated from field: required livekit.proto.RoomOptions options = 3;
|
|
107
|
-
*/
|
|
108
|
-
options?: RoomOptions;
|
|
109
|
-
constructor(data?: PartialMessage<ConnectRequest>);
|
|
110
|
-
static readonly runtime: typeof proto2;
|
|
111
|
-
static readonly typeName = "livekit.proto.ConnectRequest";
|
|
112
|
-
static readonly fields: FieldList;
|
|
113
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): ConnectRequest;
|
|
114
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): ConnectRequest;
|
|
115
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): ConnectRequest;
|
|
116
|
-
static equals(a: ConnectRequest | PlainMessage<ConnectRequest> | undefined, b: ConnectRequest | PlainMessage<ConnectRequest> | undefined): boolean;
|
|
117
|
-
}
|
|
118
|
-
/**
|
|
119
|
-
* @generated from message livekit.proto.ConnectResponse
|
|
120
|
-
*/
|
|
121
|
-
declare class ConnectResponse extends Message<ConnectResponse> {
|
|
122
|
-
/**
|
|
123
|
-
* @generated from field: required uint64 async_id = 1;
|
|
124
|
-
*/
|
|
125
|
-
asyncId?: bigint;
|
|
126
|
-
constructor(data?: PartialMessage<ConnectResponse>);
|
|
127
|
-
static readonly runtime: typeof proto2;
|
|
128
|
-
static readonly typeName = "livekit.proto.ConnectResponse";
|
|
129
|
-
static readonly fields: FieldList;
|
|
130
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): ConnectResponse;
|
|
131
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): ConnectResponse;
|
|
132
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): ConnectResponse;
|
|
133
|
-
static equals(a: ConnectResponse | PlainMessage<ConnectResponse> | undefined, b: ConnectResponse | PlainMessage<ConnectResponse> | undefined): boolean;
|
|
134
|
-
}
|
|
135
|
-
/**
|
|
136
|
-
* @generated from message livekit.proto.ConnectCallback
|
|
137
|
-
*/
|
|
138
|
-
declare class ConnectCallback extends Message<ConnectCallback> {
|
|
139
|
-
/**
|
|
140
|
-
* @generated from field: required uint64 async_id = 1;
|
|
141
|
-
*/
|
|
142
|
-
asyncId?: bigint;
|
|
143
|
-
/**
|
|
144
|
-
* @generated from oneof livekit.proto.ConnectCallback.message
|
|
145
|
-
*/
|
|
146
|
-
message: {
|
|
147
|
-
/**
|
|
148
|
-
* @generated from field: string error = 2;
|
|
149
|
-
*/
|
|
150
|
-
value: string;
|
|
151
|
-
case: "error";
|
|
152
|
-
} | {
|
|
153
|
-
/**
|
|
154
|
-
* @generated from field: livekit.proto.ConnectCallback.Result result = 3;
|
|
155
|
-
*/
|
|
156
|
-
value: ConnectCallback_Result;
|
|
157
|
-
case: "result";
|
|
158
|
-
} | {
|
|
159
|
-
case: undefined;
|
|
160
|
-
value?: undefined;
|
|
161
|
-
};
|
|
162
|
-
constructor(data?: PartialMessage<ConnectCallback>);
|
|
163
|
-
static readonly runtime: typeof proto2;
|
|
164
|
-
static readonly typeName = "livekit.proto.ConnectCallback";
|
|
165
|
-
static readonly fields: FieldList;
|
|
166
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): ConnectCallback;
|
|
167
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): ConnectCallback;
|
|
168
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): ConnectCallback;
|
|
169
|
-
static equals(a: ConnectCallback | PlainMessage<ConnectCallback> | undefined, b: ConnectCallback | PlainMessage<ConnectCallback> | undefined): boolean;
|
|
170
|
-
}
|
|
171
|
-
/**
|
|
172
|
-
* @generated from message livekit.proto.ConnectCallback.ParticipantWithTracks
|
|
173
|
-
*/
|
|
174
|
-
declare class ConnectCallback_ParticipantWithTracks extends Message<ConnectCallback_ParticipantWithTracks> {
|
|
175
|
-
/**
|
|
176
|
-
* @generated from field: required livekit.proto.OwnedParticipant participant = 1;
|
|
177
|
-
*/
|
|
178
|
-
participant?: OwnedParticipant;
|
|
179
|
-
/**
|
|
180
|
-
* TrackInfo are not needed here, if we're subscribed to a track, the FfiServer will send
|
|
181
|
-
* a TrackSubscribed event
|
|
182
|
-
*
|
|
183
|
-
* @generated from field: repeated livekit.proto.OwnedTrackPublication publications = 2;
|
|
184
|
-
*/
|
|
185
|
-
publications: OwnedTrackPublication[];
|
|
186
|
-
constructor(data?: PartialMessage<ConnectCallback_ParticipantWithTracks>);
|
|
187
|
-
static readonly runtime: typeof proto2;
|
|
188
|
-
static readonly typeName = "livekit.proto.ConnectCallback.ParticipantWithTracks";
|
|
189
|
-
static readonly fields: FieldList;
|
|
190
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): ConnectCallback_ParticipantWithTracks;
|
|
191
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): ConnectCallback_ParticipantWithTracks;
|
|
192
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): ConnectCallback_ParticipantWithTracks;
|
|
193
|
-
static equals(a: ConnectCallback_ParticipantWithTracks | PlainMessage<ConnectCallback_ParticipantWithTracks> | undefined, b: ConnectCallback_ParticipantWithTracks | PlainMessage<ConnectCallback_ParticipantWithTracks> | undefined): boolean;
|
|
194
|
-
}
|
|
195
|
-
/**
|
|
196
|
-
* @generated from message livekit.proto.ConnectCallback.Result
|
|
197
|
-
*/
|
|
198
|
-
declare class ConnectCallback_Result extends Message<ConnectCallback_Result> {
|
|
199
|
-
/**
|
|
200
|
-
* @generated from field: required livekit.proto.OwnedRoom room = 1;
|
|
201
|
-
*/
|
|
202
|
-
room?: OwnedRoom;
|
|
203
|
-
/**
|
|
204
|
-
* @generated from field: required livekit.proto.OwnedParticipant local_participant = 2;
|
|
205
|
-
*/
|
|
206
|
-
localParticipant?: OwnedParticipant;
|
|
207
|
-
/**
|
|
208
|
-
* @generated from field: repeated livekit.proto.ConnectCallback.ParticipantWithTracks participants = 3;
|
|
209
|
-
*/
|
|
210
|
-
participants: ConnectCallback_ParticipantWithTracks[];
|
|
211
|
-
constructor(data?: PartialMessage<ConnectCallback_Result>);
|
|
212
|
-
static readonly runtime: typeof proto2;
|
|
213
|
-
static readonly typeName = "livekit.proto.ConnectCallback.Result";
|
|
214
|
-
static readonly fields: FieldList;
|
|
215
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): ConnectCallback_Result;
|
|
216
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): ConnectCallback_Result;
|
|
217
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): ConnectCallback_Result;
|
|
218
|
-
static equals(a: ConnectCallback_Result | PlainMessage<ConnectCallback_Result> | undefined, b: ConnectCallback_Result | PlainMessage<ConnectCallback_Result> | undefined): boolean;
|
|
219
|
-
}
|
|
220
|
-
/**
|
|
221
|
-
* Disconnect from the a room
|
|
222
|
-
*
|
|
223
|
-
* @generated from message livekit.proto.DisconnectRequest
|
|
224
|
-
*/
|
|
225
|
-
declare class DisconnectRequest extends Message<DisconnectRequest> {
|
|
226
|
-
/**
|
|
227
|
-
* @generated from field: required uint64 room_handle = 1;
|
|
228
|
-
*/
|
|
229
|
-
roomHandle?: bigint;
|
|
230
|
-
constructor(data?: PartialMessage<DisconnectRequest>);
|
|
231
|
-
static readonly runtime: typeof proto2;
|
|
232
|
-
static readonly typeName = "livekit.proto.DisconnectRequest";
|
|
233
|
-
static readonly fields: FieldList;
|
|
234
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): DisconnectRequest;
|
|
235
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): DisconnectRequest;
|
|
236
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): DisconnectRequest;
|
|
237
|
-
static equals(a: DisconnectRequest | PlainMessage<DisconnectRequest> | undefined, b: DisconnectRequest | PlainMessage<DisconnectRequest> | undefined): boolean;
|
|
238
|
-
}
|
|
239
|
-
/**
|
|
240
|
-
* @generated from message livekit.proto.DisconnectResponse
|
|
241
|
-
*/
|
|
242
|
-
declare class DisconnectResponse extends Message<DisconnectResponse> {
|
|
243
|
-
/**
|
|
244
|
-
* @generated from field: required uint64 async_id = 1;
|
|
245
|
-
*/
|
|
246
|
-
asyncId?: bigint;
|
|
247
|
-
constructor(data?: PartialMessage<DisconnectResponse>);
|
|
248
|
-
static readonly runtime: typeof proto2;
|
|
249
|
-
static readonly typeName = "livekit.proto.DisconnectResponse";
|
|
250
|
-
static readonly fields: FieldList;
|
|
251
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): DisconnectResponse;
|
|
252
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): DisconnectResponse;
|
|
253
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): DisconnectResponse;
|
|
254
|
-
static equals(a: DisconnectResponse | PlainMessage<DisconnectResponse> | undefined, b: DisconnectResponse | PlainMessage<DisconnectResponse> | undefined): boolean;
|
|
255
|
-
}
|
|
256
|
-
/**
|
|
257
|
-
* @generated from message livekit.proto.DisconnectCallback
|
|
258
|
-
*/
|
|
259
|
-
declare class DisconnectCallback extends Message<DisconnectCallback> {
|
|
260
|
-
/**
|
|
261
|
-
* @generated from field: required uint64 async_id = 1;
|
|
262
|
-
*/
|
|
263
|
-
asyncId?: bigint;
|
|
264
|
-
constructor(data?: PartialMessage<DisconnectCallback>);
|
|
265
|
-
static readonly runtime: typeof proto2;
|
|
266
|
-
static readonly typeName = "livekit.proto.DisconnectCallback";
|
|
267
|
-
static readonly fields: FieldList;
|
|
268
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): DisconnectCallback;
|
|
269
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): DisconnectCallback;
|
|
270
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): DisconnectCallback;
|
|
271
|
-
static equals(a: DisconnectCallback | PlainMessage<DisconnectCallback> | undefined, b: DisconnectCallback | PlainMessage<DisconnectCallback> | undefined): boolean;
|
|
272
|
-
}
|
|
273
|
-
/**
|
|
274
|
-
* Publish a track to the room
|
|
275
|
-
*
|
|
276
|
-
* @generated from message livekit.proto.PublishTrackRequest
|
|
277
|
-
*/
|
|
278
|
-
declare class PublishTrackRequest extends Message<PublishTrackRequest> {
|
|
279
|
-
/**
|
|
280
|
-
* @generated from field: required uint64 local_participant_handle = 1;
|
|
281
|
-
*/
|
|
282
|
-
localParticipantHandle?: bigint;
|
|
283
|
-
/**
|
|
284
|
-
* @generated from field: required uint64 track_handle = 2;
|
|
285
|
-
*/
|
|
286
|
-
trackHandle?: bigint;
|
|
287
|
-
/**
|
|
288
|
-
* @generated from field: required livekit.proto.TrackPublishOptions options = 3;
|
|
289
|
-
*/
|
|
290
|
-
options?: TrackPublishOptions;
|
|
291
|
-
constructor(data?: PartialMessage<PublishTrackRequest>);
|
|
292
|
-
static readonly runtime: typeof proto2;
|
|
293
|
-
static readonly typeName = "livekit.proto.PublishTrackRequest";
|
|
294
|
-
static readonly fields: FieldList;
|
|
295
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): PublishTrackRequest;
|
|
296
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): PublishTrackRequest;
|
|
297
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): PublishTrackRequest;
|
|
298
|
-
static equals(a: PublishTrackRequest | PlainMessage<PublishTrackRequest> | undefined, b: PublishTrackRequest | PlainMessage<PublishTrackRequest> | undefined): boolean;
|
|
299
|
-
}
|
|
300
|
-
/**
|
|
301
|
-
* @generated from message livekit.proto.PublishTrackResponse
|
|
302
|
-
*/
|
|
303
|
-
declare class PublishTrackResponse extends Message<PublishTrackResponse> {
|
|
304
|
-
/**
|
|
305
|
-
* @generated from field: required uint64 async_id = 1;
|
|
306
|
-
*/
|
|
307
|
-
asyncId?: bigint;
|
|
308
|
-
constructor(data?: PartialMessage<PublishTrackResponse>);
|
|
309
|
-
static readonly runtime: typeof proto2;
|
|
310
|
-
static readonly typeName = "livekit.proto.PublishTrackResponse";
|
|
311
|
-
static readonly fields: FieldList;
|
|
312
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): PublishTrackResponse;
|
|
313
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): PublishTrackResponse;
|
|
314
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): PublishTrackResponse;
|
|
315
|
-
static equals(a: PublishTrackResponse | PlainMessage<PublishTrackResponse> | undefined, b: PublishTrackResponse | PlainMessage<PublishTrackResponse> | undefined): boolean;
|
|
316
|
-
}
|
|
317
|
-
/**
|
|
318
|
-
* @generated from message livekit.proto.PublishTrackCallback
|
|
319
|
-
*/
|
|
320
|
-
declare class PublishTrackCallback extends Message<PublishTrackCallback> {
|
|
321
|
-
/**
|
|
322
|
-
* @generated from field: required uint64 async_id = 1;
|
|
323
|
-
*/
|
|
324
|
-
asyncId?: bigint;
|
|
325
|
-
/**
|
|
326
|
-
* @generated from oneof livekit.proto.PublishTrackCallback.message
|
|
327
|
-
*/
|
|
328
|
-
message: {
|
|
329
|
-
/**
|
|
330
|
-
* @generated from field: string error = 2;
|
|
331
|
-
*/
|
|
332
|
-
value: string;
|
|
333
|
-
case: "error";
|
|
334
|
-
} | {
|
|
335
|
-
/**
|
|
336
|
-
* @generated from field: livekit.proto.OwnedTrackPublication publication = 3;
|
|
337
|
-
*/
|
|
338
|
-
value: OwnedTrackPublication;
|
|
339
|
-
case: "publication";
|
|
340
|
-
} | {
|
|
341
|
-
case: undefined;
|
|
342
|
-
value?: undefined;
|
|
343
|
-
};
|
|
344
|
-
constructor(data?: PartialMessage<PublishTrackCallback>);
|
|
345
|
-
static readonly runtime: typeof proto2;
|
|
346
|
-
static readonly typeName = "livekit.proto.PublishTrackCallback";
|
|
347
|
-
static readonly fields: FieldList;
|
|
348
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): PublishTrackCallback;
|
|
349
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): PublishTrackCallback;
|
|
350
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): PublishTrackCallback;
|
|
351
|
-
static equals(a: PublishTrackCallback | PlainMessage<PublishTrackCallback> | undefined, b: PublishTrackCallback | PlainMessage<PublishTrackCallback> | undefined): boolean;
|
|
352
|
-
}
|
|
353
|
-
/**
|
|
354
|
-
* Unpublish a track from the room
|
|
355
|
-
*
|
|
356
|
-
* @generated from message livekit.proto.UnpublishTrackRequest
|
|
357
|
-
*/
|
|
358
|
-
declare class UnpublishTrackRequest extends Message<UnpublishTrackRequest> {
|
|
359
|
-
/**
|
|
360
|
-
* @generated from field: required uint64 local_participant_handle = 1;
|
|
361
|
-
*/
|
|
362
|
-
localParticipantHandle?: bigint;
|
|
363
|
-
/**
|
|
364
|
-
* @generated from field: required string track_sid = 2;
|
|
365
|
-
*/
|
|
366
|
-
trackSid?: string;
|
|
367
|
-
/**
|
|
368
|
-
* @generated from field: required bool stop_on_unpublish = 3;
|
|
369
|
-
*/
|
|
370
|
-
stopOnUnpublish?: boolean;
|
|
371
|
-
constructor(data?: PartialMessage<UnpublishTrackRequest>);
|
|
372
|
-
static readonly runtime: typeof proto2;
|
|
373
|
-
static readonly typeName = "livekit.proto.UnpublishTrackRequest";
|
|
374
|
-
static readonly fields: FieldList;
|
|
375
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): UnpublishTrackRequest;
|
|
376
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): UnpublishTrackRequest;
|
|
377
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): UnpublishTrackRequest;
|
|
378
|
-
static equals(a: UnpublishTrackRequest | PlainMessage<UnpublishTrackRequest> | undefined, b: UnpublishTrackRequest | PlainMessage<UnpublishTrackRequest> | undefined): boolean;
|
|
379
|
-
}
|
|
380
|
-
/**
|
|
381
|
-
* @generated from message livekit.proto.UnpublishTrackResponse
|
|
382
|
-
*/
|
|
383
|
-
declare class UnpublishTrackResponse extends Message<UnpublishTrackResponse> {
|
|
384
|
-
/**
|
|
385
|
-
* @generated from field: required uint64 async_id = 1;
|
|
386
|
-
*/
|
|
387
|
-
asyncId?: bigint;
|
|
388
|
-
constructor(data?: PartialMessage<UnpublishTrackResponse>);
|
|
389
|
-
static readonly runtime: typeof proto2;
|
|
390
|
-
static readonly typeName = "livekit.proto.UnpublishTrackResponse";
|
|
391
|
-
static readonly fields: FieldList;
|
|
392
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): UnpublishTrackResponse;
|
|
393
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): UnpublishTrackResponse;
|
|
394
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): UnpublishTrackResponse;
|
|
395
|
-
static equals(a: UnpublishTrackResponse | PlainMessage<UnpublishTrackResponse> | undefined, b: UnpublishTrackResponse | PlainMessage<UnpublishTrackResponse> | undefined): boolean;
|
|
396
|
-
}
|
|
397
|
-
/**
|
|
398
|
-
* @generated from message livekit.proto.UnpublishTrackCallback
|
|
399
|
-
*/
|
|
400
|
-
declare class UnpublishTrackCallback extends Message<UnpublishTrackCallback> {
|
|
401
|
-
/**
|
|
402
|
-
* @generated from field: required uint64 async_id = 1;
|
|
403
|
-
*/
|
|
404
|
-
asyncId?: bigint;
|
|
405
|
-
/**
|
|
406
|
-
* @generated from field: optional string error = 2;
|
|
407
|
-
*/
|
|
408
|
-
error?: string;
|
|
409
|
-
constructor(data?: PartialMessage<UnpublishTrackCallback>);
|
|
410
|
-
static readonly runtime: typeof proto2;
|
|
411
|
-
static readonly typeName = "livekit.proto.UnpublishTrackCallback";
|
|
412
|
-
static readonly fields: FieldList;
|
|
413
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): UnpublishTrackCallback;
|
|
414
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): UnpublishTrackCallback;
|
|
415
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): UnpublishTrackCallback;
|
|
416
|
-
static equals(a: UnpublishTrackCallback | PlainMessage<UnpublishTrackCallback> | undefined, b: UnpublishTrackCallback | PlainMessage<UnpublishTrackCallback> | undefined): boolean;
|
|
417
|
-
}
|
|
418
|
-
/**
|
|
419
|
-
* Publish data to other participants
|
|
420
|
-
*
|
|
421
|
-
* @generated from message livekit.proto.PublishDataRequest
|
|
422
|
-
*/
|
|
423
|
-
declare class PublishDataRequest extends Message<PublishDataRequest> {
|
|
424
|
-
/**
|
|
425
|
-
* @generated from field: required uint64 local_participant_handle = 1;
|
|
426
|
-
*/
|
|
427
|
-
localParticipantHandle?: bigint;
|
|
428
|
-
/**
|
|
429
|
-
* @generated from field: required uint64 data_ptr = 2;
|
|
430
|
-
*/
|
|
431
|
-
dataPtr?: bigint;
|
|
432
|
-
/**
|
|
433
|
-
* @generated from field: required uint64 data_len = 3;
|
|
434
|
-
*/
|
|
435
|
-
dataLen?: bigint;
|
|
436
|
-
/**
|
|
437
|
-
* @generated from field: required bool reliable = 4;
|
|
438
|
-
*/
|
|
439
|
-
reliable?: boolean;
|
|
440
|
-
/**
|
|
441
|
-
* @generated from field: repeated string destination_sids = 5 [deprecated = true];
|
|
442
|
-
* @deprecated
|
|
443
|
-
*/
|
|
444
|
-
destinationSids: string[];
|
|
445
|
-
/**
|
|
446
|
-
* @generated from field: optional string topic = 6;
|
|
447
|
-
*/
|
|
448
|
-
topic?: string;
|
|
449
|
-
/**
|
|
450
|
-
* @generated from field: repeated string destination_identities = 7;
|
|
451
|
-
*/
|
|
452
|
-
destinationIdentities: string[];
|
|
453
|
-
constructor(data?: PartialMessage<PublishDataRequest>);
|
|
454
|
-
static readonly runtime: typeof proto2;
|
|
455
|
-
static readonly typeName = "livekit.proto.PublishDataRequest";
|
|
456
|
-
static readonly fields: FieldList;
|
|
457
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): PublishDataRequest;
|
|
458
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): PublishDataRequest;
|
|
459
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): PublishDataRequest;
|
|
460
|
-
static equals(a: PublishDataRequest | PlainMessage<PublishDataRequest> | undefined, b: PublishDataRequest | PlainMessage<PublishDataRequest> | undefined): boolean;
|
|
461
|
-
}
|
|
462
|
-
/**
|
|
463
|
-
* @generated from message livekit.proto.PublishDataResponse
|
|
464
|
-
*/
|
|
465
|
-
declare class PublishDataResponse extends Message<PublishDataResponse> {
|
|
466
|
-
/**
|
|
467
|
-
* @generated from field: required uint64 async_id = 1;
|
|
468
|
-
*/
|
|
469
|
-
asyncId?: bigint;
|
|
470
|
-
constructor(data?: PartialMessage<PublishDataResponse>);
|
|
471
|
-
static readonly runtime: typeof proto2;
|
|
472
|
-
static readonly typeName = "livekit.proto.PublishDataResponse";
|
|
473
|
-
static readonly fields: FieldList;
|
|
474
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): PublishDataResponse;
|
|
475
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): PublishDataResponse;
|
|
476
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): PublishDataResponse;
|
|
477
|
-
static equals(a: PublishDataResponse | PlainMessage<PublishDataResponse> | undefined, b: PublishDataResponse | PlainMessage<PublishDataResponse> | undefined): boolean;
|
|
478
|
-
}
|
|
479
|
-
/**
|
|
480
|
-
* @generated from message livekit.proto.PublishDataCallback
|
|
481
|
-
*/
|
|
482
|
-
declare class PublishDataCallback extends Message<PublishDataCallback> {
|
|
483
|
-
/**
|
|
484
|
-
* @generated from field: required uint64 async_id = 1;
|
|
485
|
-
*/
|
|
486
|
-
asyncId?: bigint;
|
|
487
|
-
/**
|
|
488
|
-
* @generated from field: optional string error = 2;
|
|
489
|
-
*/
|
|
490
|
-
error?: string;
|
|
491
|
-
constructor(data?: PartialMessage<PublishDataCallback>);
|
|
492
|
-
static readonly runtime: typeof proto2;
|
|
493
|
-
static readonly typeName = "livekit.proto.PublishDataCallback";
|
|
494
|
-
static readonly fields: FieldList;
|
|
495
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): PublishDataCallback;
|
|
496
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): PublishDataCallback;
|
|
497
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): PublishDataCallback;
|
|
498
|
-
static equals(a: PublishDataCallback | PlainMessage<PublishDataCallback> | undefined, b: PublishDataCallback | PlainMessage<PublishDataCallback> | undefined): boolean;
|
|
499
|
-
}
|
|
500
|
-
/**
|
|
501
|
-
* Publish transcription messages to room
|
|
502
|
-
*
|
|
503
|
-
* @generated from message livekit.proto.PublishTranscriptionRequest
|
|
504
|
-
*/
|
|
505
|
-
declare class PublishTranscriptionRequest extends Message<PublishTranscriptionRequest> {
|
|
506
|
-
/**
|
|
507
|
-
* @generated from field: required uint64 local_participant_handle = 1;
|
|
508
|
-
*/
|
|
509
|
-
localParticipantHandle?: bigint;
|
|
510
|
-
/**
|
|
511
|
-
* @generated from field: required string participant_identity = 2;
|
|
512
|
-
*/
|
|
513
|
-
participantIdentity?: string;
|
|
514
|
-
/**
|
|
515
|
-
* @generated from field: required string track_id = 3;
|
|
516
|
-
*/
|
|
517
|
-
trackId?: string;
|
|
518
|
-
/**
|
|
519
|
-
* @generated from field: repeated livekit.proto.TranscriptionSegment segments = 4;
|
|
520
|
-
*/
|
|
521
|
-
segments: TranscriptionSegment[];
|
|
522
|
-
constructor(data?: PartialMessage<PublishTranscriptionRequest>);
|
|
523
|
-
static readonly runtime: typeof proto2;
|
|
524
|
-
static readonly typeName = "livekit.proto.PublishTranscriptionRequest";
|
|
525
|
-
static readonly fields: FieldList;
|
|
526
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): PublishTranscriptionRequest;
|
|
527
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): PublishTranscriptionRequest;
|
|
528
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): PublishTranscriptionRequest;
|
|
529
|
-
static equals(a: PublishTranscriptionRequest | PlainMessage<PublishTranscriptionRequest> | undefined, b: PublishTranscriptionRequest | PlainMessage<PublishTranscriptionRequest> | undefined): boolean;
|
|
530
|
-
}
|
|
531
|
-
/**
|
|
532
|
-
* @generated from message livekit.proto.PublishTranscriptionResponse
|
|
533
|
-
*/
|
|
534
|
-
declare class PublishTranscriptionResponse extends Message<PublishTranscriptionResponse> {
|
|
535
|
-
/**
|
|
536
|
-
* @generated from field: required uint64 async_id = 1;
|
|
537
|
-
*/
|
|
538
|
-
asyncId?: bigint;
|
|
539
|
-
constructor(data?: PartialMessage<PublishTranscriptionResponse>);
|
|
540
|
-
static readonly runtime: typeof proto2;
|
|
541
|
-
static readonly typeName = "livekit.proto.PublishTranscriptionResponse";
|
|
542
|
-
static readonly fields: FieldList;
|
|
543
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): PublishTranscriptionResponse;
|
|
544
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): PublishTranscriptionResponse;
|
|
545
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): PublishTranscriptionResponse;
|
|
546
|
-
static equals(a: PublishTranscriptionResponse | PlainMessage<PublishTranscriptionResponse> | undefined, b: PublishTranscriptionResponse | PlainMessage<PublishTranscriptionResponse> | undefined): boolean;
|
|
547
|
-
}
|
|
548
|
-
/**
|
|
549
|
-
* @generated from message livekit.proto.PublishTranscriptionCallback
|
|
550
|
-
*/
|
|
551
|
-
declare class PublishTranscriptionCallback extends Message<PublishTranscriptionCallback> {
|
|
552
|
-
/**
|
|
553
|
-
* @generated from field: required uint64 async_id = 1;
|
|
554
|
-
*/
|
|
555
|
-
asyncId?: bigint;
|
|
556
|
-
/**
|
|
557
|
-
* @generated from field: optional string error = 2;
|
|
558
|
-
*/
|
|
559
|
-
error?: string;
|
|
560
|
-
constructor(data?: PartialMessage<PublishTranscriptionCallback>);
|
|
561
|
-
static readonly runtime: typeof proto2;
|
|
562
|
-
static readonly typeName = "livekit.proto.PublishTranscriptionCallback";
|
|
563
|
-
static readonly fields: FieldList;
|
|
564
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): PublishTranscriptionCallback;
|
|
565
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): PublishTranscriptionCallback;
|
|
566
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): PublishTranscriptionCallback;
|
|
567
|
-
static equals(a: PublishTranscriptionCallback | PlainMessage<PublishTranscriptionCallback> | undefined, b: PublishTranscriptionCallback | PlainMessage<PublishTranscriptionCallback> | undefined): boolean;
|
|
568
|
-
}
|
|
569
|
-
/**
|
|
570
|
-
* Publish Sip DTMF messages to other participants
|
|
571
|
-
*
|
|
572
|
-
* @generated from message livekit.proto.PublishSipDtmfRequest
|
|
573
|
-
*/
|
|
574
|
-
declare class PublishSipDtmfRequest extends Message<PublishSipDtmfRequest> {
|
|
575
|
-
/**
|
|
576
|
-
* @generated from field: required uint64 local_participant_handle = 1;
|
|
577
|
-
*/
|
|
578
|
-
localParticipantHandle?: bigint;
|
|
579
|
-
/**
|
|
580
|
-
* @generated from field: required uint32 code = 2;
|
|
581
|
-
*/
|
|
582
|
-
code?: number;
|
|
583
|
-
/**
|
|
584
|
-
* @generated from field: required string digit = 3;
|
|
585
|
-
*/
|
|
586
|
-
digit?: string;
|
|
587
|
-
/**
|
|
588
|
-
* @generated from field: repeated string destination_identities = 4;
|
|
589
|
-
*/
|
|
590
|
-
destinationIdentities: string[];
|
|
591
|
-
constructor(data?: PartialMessage<PublishSipDtmfRequest>);
|
|
592
|
-
static readonly runtime: typeof proto2;
|
|
593
|
-
static readonly typeName = "livekit.proto.PublishSipDtmfRequest";
|
|
594
|
-
static readonly fields: FieldList;
|
|
595
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): PublishSipDtmfRequest;
|
|
596
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): PublishSipDtmfRequest;
|
|
597
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): PublishSipDtmfRequest;
|
|
598
|
-
static equals(a: PublishSipDtmfRequest | PlainMessage<PublishSipDtmfRequest> | undefined, b: PublishSipDtmfRequest | PlainMessage<PublishSipDtmfRequest> | undefined): boolean;
|
|
599
|
-
}
|
|
600
|
-
/**
|
|
601
|
-
* @generated from message livekit.proto.PublishSipDtmfResponse
|
|
602
|
-
*/
|
|
603
|
-
declare class PublishSipDtmfResponse extends Message<PublishSipDtmfResponse> {
|
|
604
|
-
/**
|
|
605
|
-
* @generated from field: required uint64 async_id = 1;
|
|
606
|
-
*/
|
|
607
|
-
asyncId?: bigint;
|
|
608
|
-
constructor(data?: PartialMessage<PublishSipDtmfResponse>);
|
|
609
|
-
static readonly runtime: typeof proto2;
|
|
610
|
-
static readonly typeName = "livekit.proto.PublishSipDtmfResponse";
|
|
611
|
-
static readonly fields: FieldList;
|
|
612
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): PublishSipDtmfResponse;
|
|
613
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): PublishSipDtmfResponse;
|
|
614
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): PublishSipDtmfResponse;
|
|
615
|
-
static equals(a: PublishSipDtmfResponse | PlainMessage<PublishSipDtmfResponse> | undefined, b: PublishSipDtmfResponse | PlainMessage<PublishSipDtmfResponse> | undefined): boolean;
|
|
616
|
-
}
|
|
617
|
-
/**
|
|
618
|
-
* @generated from message livekit.proto.PublishSipDtmfCallback
|
|
619
|
-
*/
|
|
620
|
-
declare class PublishSipDtmfCallback extends Message<PublishSipDtmfCallback> {
|
|
621
|
-
/**
|
|
622
|
-
* @generated from field: required uint64 async_id = 1;
|
|
623
|
-
*/
|
|
624
|
-
asyncId?: bigint;
|
|
625
|
-
/**
|
|
626
|
-
* @generated from field: optional string error = 2;
|
|
627
|
-
*/
|
|
628
|
-
error?: string;
|
|
629
|
-
constructor(data?: PartialMessage<PublishSipDtmfCallback>);
|
|
630
|
-
static readonly runtime: typeof proto2;
|
|
631
|
-
static readonly typeName = "livekit.proto.PublishSipDtmfCallback";
|
|
632
|
-
static readonly fields: FieldList;
|
|
633
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): PublishSipDtmfCallback;
|
|
634
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): PublishSipDtmfCallback;
|
|
635
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): PublishSipDtmfCallback;
|
|
636
|
-
static equals(a: PublishSipDtmfCallback | PlainMessage<PublishSipDtmfCallback> | undefined, b: PublishSipDtmfCallback | PlainMessage<PublishSipDtmfCallback> | undefined): boolean;
|
|
637
|
-
}
|
|
638
|
-
/**
|
|
639
|
-
* Change the local participant's metadata
|
|
640
|
-
*
|
|
641
|
-
* @generated from message livekit.proto.SetLocalMetadataRequest
|
|
642
|
-
*/
|
|
643
|
-
declare class SetLocalMetadataRequest extends Message<SetLocalMetadataRequest> {
|
|
644
|
-
/**
|
|
645
|
-
* @generated from field: required uint64 local_participant_handle = 1;
|
|
646
|
-
*/
|
|
647
|
-
localParticipantHandle?: bigint;
|
|
648
|
-
/**
|
|
649
|
-
* @generated from field: required string metadata = 2;
|
|
650
|
-
*/
|
|
651
|
-
metadata?: string;
|
|
652
|
-
constructor(data?: PartialMessage<SetLocalMetadataRequest>);
|
|
653
|
-
static readonly runtime: typeof proto2;
|
|
654
|
-
static readonly typeName = "livekit.proto.SetLocalMetadataRequest";
|
|
655
|
-
static readonly fields: FieldList;
|
|
656
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): SetLocalMetadataRequest;
|
|
657
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): SetLocalMetadataRequest;
|
|
658
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): SetLocalMetadataRequest;
|
|
659
|
-
static equals(a: SetLocalMetadataRequest | PlainMessage<SetLocalMetadataRequest> | undefined, b: SetLocalMetadataRequest | PlainMessage<SetLocalMetadataRequest> | undefined): boolean;
|
|
660
|
-
}
|
|
661
|
-
/**
|
|
662
|
-
* @generated from message livekit.proto.SetLocalMetadataResponse
|
|
663
|
-
*/
|
|
664
|
-
declare class SetLocalMetadataResponse extends Message<SetLocalMetadataResponse> {
|
|
665
|
-
/**
|
|
666
|
-
* @generated from field: required uint64 async_id = 1;
|
|
667
|
-
*/
|
|
668
|
-
asyncId?: bigint;
|
|
669
|
-
constructor(data?: PartialMessage<SetLocalMetadataResponse>);
|
|
670
|
-
static readonly runtime: typeof proto2;
|
|
671
|
-
static readonly typeName = "livekit.proto.SetLocalMetadataResponse";
|
|
672
|
-
static readonly fields: FieldList;
|
|
673
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): SetLocalMetadataResponse;
|
|
674
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): SetLocalMetadataResponse;
|
|
675
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): SetLocalMetadataResponse;
|
|
676
|
-
static equals(a: SetLocalMetadataResponse | PlainMessage<SetLocalMetadataResponse> | undefined, b: SetLocalMetadataResponse | PlainMessage<SetLocalMetadataResponse> | undefined): boolean;
|
|
677
|
-
}
|
|
678
|
-
/**
|
|
679
|
-
* @generated from message livekit.proto.SetLocalMetadataCallback
|
|
680
|
-
*/
|
|
681
|
-
declare class SetLocalMetadataCallback extends Message<SetLocalMetadataCallback> {
|
|
682
|
-
/**
|
|
683
|
-
* @generated from field: required uint64 async_id = 1;
|
|
684
|
-
*/
|
|
685
|
-
asyncId?: bigint;
|
|
686
|
-
/**
|
|
687
|
-
* @generated from field: optional string error = 2;
|
|
688
|
-
*/
|
|
689
|
-
error?: string;
|
|
690
|
-
constructor(data?: PartialMessage<SetLocalMetadataCallback>);
|
|
691
|
-
static readonly runtime: typeof proto2;
|
|
692
|
-
static readonly typeName = "livekit.proto.SetLocalMetadataCallback";
|
|
693
|
-
static readonly fields: FieldList;
|
|
694
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): SetLocalMetadataCallback;
|
|
695
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): SetLocalMetadataCallback;
|
|
696
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): SetLocalMetadataCallback;
|
|
697
|
-
static equals(a: SetLocalMetadataCallback | PlainMessage<SetLocalMetadataCallback> | undefined, b: SetLocalMetadataCallback | PlainMessage<SetLocalMetadataCallback> | undefined): boolean;
|
|
698
|
-
}
|
|
699
|
-
/**
|
|
700
|
-
* @generated from message livekit.proto.SendChatMessageRequest
|
|
701
|
-
*/
|
|
702
|
-
declare class SendChatMessageRequest extends Message<SendChatMessageRequest> {
|
|
703
|
-
/**
|
|
704
|
-
* @generated from field: required uint64 local_participant_handle = 1;
|
|
705
|
-
*/
|
|
706
|
-
localParticipantHandle?: bigint;
|
|
707
|
-
/**
|
|
708
|
-
* @generated from field: required string message = 2;
|
|
709
|
-
*/
|
|
710
|
-
message?: string;
|
|
711
|
-
/**
|
|
712
|
-
* @generated from field: repeated string destination_identities = 3;
|
|
713
|
-
*/
|
|
714
|
-
destinationIdentities: string[];
|
|
715
|
-
/**
|
|
716
|
-
* @generated from field: optional string sender_identity = 4;
|
|
717
|
-
*/
|
|
718
|
-
senderIdentity?: string;
|
|
719
|
-
constructor(data?: PartialMessage<SendChatMessageRequest>);
|
|
720
|
-
static readonly runtime: typeof proto2;
|
|
721
|
-
static readonly typeName = "livekit.proto.SendChatMessageRequest";
|
|
722
|
-
static readonly fields: FieldList;
|
|
723
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): SendChatMessageRequest;
|
|
724
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): SendChatMessageRequest;
|
|
725
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): SendChatMessageRequest;
|
|
726
|
-
static equals(a: SendChatMessageRequest | PlainMessage<SendChatMessageRequest> | undefined, b: SendChatMessageRequest | PlainMessage<SendChatMessageRequest> | undefined): boolean;
|
|
727
|
-
}
|
|
728
|
-
/**
|
|
729
|
-
* @generated from message livekit.proto.EditChatMessageRequest
|
|
730
|
-
*/
|
|
731
|
-
declare class EditChatMessageRequest extends Message<EditChatMessageRequest> {
|
|
732
|
-
/**
|
|
733
|
-
* @generated from field: required uint64 local_participant_handle = 1;
|
|
734
|
-
*/
|
|
735
|
-
localParticipantHandle?: bigint;
|
|
736
|
-
/**
|
|
737
|
-
* @generated from field: required string edit_text = 2;
|
|
738
|
-
*/
|
|
739
|
-
editText?: string;
|
|
740
|
-
/**
|
|
741
|
-
* @generated from field: required livekit.proto.ChatMessage original_message = 3;
|
|
742
|
-
*/
|
|
743
|
-
originalMessage?: ChatMessage;
|
|
744
|
-
/**
|
|
745
|
-
* @generated from field: repeated string destination_identities = 4;
|
|
746
|
-
*/
|
|
747
|
-
destinationIdentities: string[];
|
|
748
|
-
/**
|
|
749
|
-
* @generated from field: optional string sender_identity = 5;
|
|
750
|
-
*/
|
|
751
|
-
senderIdentity?: string;
|
|
752
|
-
constructor(data?: PartialMessage<EditChatMessageRequest>);
|
|
753
|
-
static readonly runtime: typeof proto2;
|
|
754
|
-
static readonly typeName = "livekit.proto.EditChatMessageRequest";
|
|
755
|
-
static readonly fields: FieldList;
|
|
756
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): EditChatMessageRequest;
|
|
757
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): EditChatMessageRequest;
|
|
758
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): EditChatMessageRequest;
|
|
759
|
-
static equals(a: EditChatMessageRequest | PlainMessage<EditChatMessageRequest> | undefined, b: EditChatMessageRequest | PlainMessage<EditChatMessageRequest> | undefined): boolean;
|
|
760
|
-
}
|
|
761
|
-
/**
|
|
762
|
-
* @generated from message livekit.proto.SendChatMessageResponse
|
|
763
|
-
*/
|
|
764
|
-
declare class SendChatMessageResponse extends Message<SendChatMessageResponse> {
|
|
765
|
-
/**
|
|
766
|
-
* @generated from field: required uint64 async_id = 1;
|
|
767
|
-
*/
|
|
768
|
-
asyncId?: bigint;
|
|
769
|
-
constructor(data?: PartialMessage<SendChatMessageResponse>);
|
|
770
|
-
static readonly runtime: typeof proto2;
|
|
771
|
-
static readonly typeName = "livekit.proto.SendChatMessageResponse";
|
|
772
|
-
static readonly fields: FieldList;
|
|
773
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): SendChatMessageResponse;
|
|
774
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): SendChatMessageResponse;
|
|
775
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): SendChatMessageResponse;
|
|
776
|
-
static equals(a: SendChatMessageResponse | PlainMessage<SendChatMessageResponse> | undefined, b: SendChatMessageResponse | PlainMessage<SendChatMessageResponse> | undefined): boolean;
|
|
777
|
-
}
|
|
778
|
-
/**
|
|
779
|
-
* @generated from message livekit.proto.SendChatMessageCallback
|
|
780
|
-
*/
|
|
781
|
-
declare class SendChatMessageCallback extends Message<SendChatMessageCallback> {
|
|
782
|
-
/**
|
|
783
|
-
* @generated from field: required uint64 async_id = 1;
|
|
784
|
-
*/
|
|
785
|
-
asyncId?: bigint;
|
|
786
|
-
/**
|
|
787
|
-
* @generated from oneof livekit.proto.SendChatMessageCallback.message
|
|
788
|
-
*/
|
|
789
|
-
message: {
|
|
790
|
-
/**
|
|
791
|
-
* @generated from field: string error = 2;
|
|
792
|
-
*/
|
|
793
|
-
value: string;
|
|
794
|
-
case: "error";
|
|
795
|
-
} | {
|
|
796
|
-
/**
|
|
797
|
-
* @generated from field: livekit.proto.ChatMessage chat_message = 3;
|
|
798
|
-
*/
|
|
799
|
-
value: ChatMessage;
|
|
800
|
-
case: "chatMessage";
|
|
801
|
-
} | {
|
|
802
|
-
case: undefined;
|
|
803
|
-
value?: undefined;
|
|
804
|
-
};
|
|
805
|
-
constructor(data?: PartialMessage<SendChatMessageCallback>);
|
|
806
|
-
static readonly runtime: typeof proto2;
|
|
807
|
-
static readonly typeName = "livekit.proto.SendChatMessageCallback";
|
|
808
|
-
static readonly fields: FieldList;
|
|
809
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): SendChatMessageCallback;
|
|
810
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): SendChatMessageCallback;
|
|
811
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): SendChatMessageCallback;
|
|
812
|
-
static equals(a: SendChatMessageCallback | PlainMessage<SendChatMessageCallback> | undefined, b: SendChatMessageCallback | PlainMessage<SendChatMessageCallback> | undefined): boolean;
|
|
813
|
-
}
|
|
814
|
-
/**
|
|
815
|
-
* Change the local participant's attributes
|
|
816
|
-
*
|
|
817
|
-
* @generated from message livekit.proto.SetLocalAttributesRequest
|
|
818
|
-
*/
|
|
819
|
-
declare class SetLocalAttributesRequest extends Message<SetLocalAttributesRequest> {
|
|
820
|
-
/**
|
|
821
|
-
* @generated from field: required uint64 local_participant_handle = 1;
|
|
822
|
-
*/
|
|
823
|
-
localParticipantHandle?: bigint;
|
|
824
|
-
/**
|
|
825
|
-
* @generated from field: repeated livekit.proto.AttributesEntry attributes = 2;
|
|
826
|
-
*/
|
|
827
|
-
attributes: AttributesEntry[];
|
|
828
|
-
constructor(data?: PartialMessage<SetLocalAttributesRequest>);
|
|
829
|
-
static readonly runtime: typeof proto2;
|
|
830
|
-
static readonly typeName = "livekit.proto.SetLocalAttributesRequest";
|
|
831
|
-
static readonly fields: FieldList;
|
|
832
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): SetLocalAttributesRequest;
|
|
833
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): SetLocalAttributesRequest;
|
|
834
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): SetLocalAttributesRequest;
|
|
835
|
-
static equals(a: SetLocalAttributesRequest | PlainMessage<SetLocalAttributesRequest> | undefined, b: SetLocalAttributesRequest | PlainMessage<SetLocalAttributesRequest> | undefined): boolean;
|
|
836
|
-
}
|
|
837
|
-
/**
|
|
838
|
-
* @generated from message livekit.proto.AttributesEntry
|
|
839
|
-
*/
|
|
840
|
-
declare class AttributesEntry extends Message<AttributesEntry> {
|
|
841
|
-
/**
|
|
842
|
-
* @generated from field: required string key = 1;
|
|
843
|
-
*/
|
|
844
|
-
key?: string;
|
|
845
|
-
/**
|
|
846
|
-
* @generated from field: required string value = 2;
|
|
847
|
-
*/
|
|
848
|
-
value?: string;
|
|
849
|
-
constructor(data?: PartialMessage<AttributesEntry>);
|
|
850
|
-
static readonly runtime: typeof proto2;
|
|
851
|
-
static readonly typeName = "livekit.proto.AttributesEntry";
|
|
852
|
-
static readonly fields: FieldList;
|
|
853
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): AttributesEntry;
|
|
854
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): AttributesEntry;
|
|
855
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): AttributesEntry;
|
|
856
|
-
static equals(a: AttributesEntry | PlainMessage<AttributesEntry> | undefined, b: AttributesEntry | PlainMessage<AttributesEntry> | undefined): boolean;
|
|
857
|
-
}
|
|
858
|
-
/**
|
|
859
|
-
* @generated from message livekit.proto.SetLocalAttributesResponse
|
|
860
|
-
*/
|
|
861
|
-
declare class SetLocalAttributesResponse extends Message<SetLocalAttributesResponse> {
|
|
862
|
-
/**
|
|
863
|
-
* @generated from field: required uint64 async_id = 1;
|
|
864
|
-
*/
|
|
865
|
-
asyncId?: bigint;
|
|
866
|
-
constructor(data?: PartialMessage<SetLocalAttributesResponse>);
|
|
867
|
-
static readonly runtime: typeof proto2;
|
|
868
|
-
static readonly typeName = "livekit.proto.SetLocalAttributesResponse";
|
|
869
|
-
static readonly fields: FieldList;
|
|
870
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): SetLocalAttributesResponse;
|
|
871
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): SetLocalAttributesResponse;
|
|
872
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): SetLocalAttributesResponse;
|
|
873
|
-
static equals(a: SetLocalAttributesResponse | PlainMessage<SetLocalAttributesResponse> | undefined, b: SetLocalAttributesResponse | PlainMessage<SetLocalAttributesResponse> | undefined): boolean;
|
|
874
|
-
}
|
|
875
|
-
/**
|
|
876
|
-
* @generated from message livekit.proto.SetLocalAttributesCallback
|
|
877
|
-
*/
|
|
878
|
-
declare class SetLocalAttributesCallback extends Message<SetLocalAttributesCallback> {
|
|
879
|
-
/**
|
|
880
|
-
* @generated from field: required uint64 async_id = 1;
|
|
881
|
-
*/
|
|
882
|
-
asyncId?: bigint;
|
|
883
|
-
/**
|
|
884
|
-
* @generated from field: optional string error = 2;
|
|
885
|
-
*/
|
|
886
|
-
error?: string;
|
|
887
|
-
constructor(data?: PartialMessage<SetLocalAttributesCallback>);
|
|
888
|
-
static readonly runtime: typeof proto2;
|
|
889
|
-
static readonly typeName = "livekit.proto.SetLocalAttributesCallback";
|
|
890
|
-
static readonly fields: FieldList;
|
|
891
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): SetLocalAttributesCallback;
|
|
892
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): SetLocalAttributesCallback;
|
|
893
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): SetLocalAttributesCallback;
|
|
894
|
-
static equals(a: SetLocalAttributesCallback | PlainMessage<SetLocalAttributesCallback> | undefined, b: SetLocalAttributesCallback | PlainMessage<SetLocalAttributesCallback> | undefined): boolean;
|
|
895
|
-
}
|
|
896
|
-
/**
|
|
897
|
-
* Change the local participant's name
|
|
898
|
-
*
|
|
899
|
-
* @generated from message livekit.proto.SetLocalNameRequest
|
|
900
|
-
*/
|
|
901
|
-
declare class SetLocalNameRequest extends Message<SetLocalNameRequest> {
|
|
902
|
-
/**
|
|
903
|
-
* @generated from field: required uint64 local_participant_handle = 1;
|
|
904
|
-
*/
|
|
905
|
-
localParticipantHandle?: bigint;
|
|
906
|
-
/**
|
|
907
|
-
* @generated from field: required string name = 2;
|
|
908
|
-
*/
|
|
909
|
-
name?: string;
|
|
910
|
-
constructor(data?: PartialMessage<SetLocalNameRequest>);
|
|
911
|
-
static readonly runtime: typeof proto2;
|
|
912
|
-
static readonly typeName = "livekit.proto.SetLocalNameRequest";
|
|
913
|
-
static readonly fields: FieldList;
|
|
914
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): SetLocalNameRequest;
|
|
915
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): SetLocalNameRequest;
|
|
916
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): SetLocalNameRequest;
|
|
917
|
-
static equals(a: SetLocalNameRequest | PlainMessage<SetLocalNameRequest> | undefined, b: SetLocalNameRequest | PlainMessage<SetLocalNameRequest> | undefined): boolean;
|
|
918
|
-
}
|
|
919
|
-
/**
|
|
920
|
-
* @generated from message livekit.proto.SetLocalNameResponse
|
|
921
|
-
*/
|
|
922
|
-
declare class SetLocalNameResponse extends Message<SetLocalNameResponse> {
|
|
923
|
-
/**
|
|
924
|
-
* @generated from field: required uint64 async_id = 1;
|
|
925
|
-
*/
|
|
926
|
-
asyncId?: bigint;
|
|
927
|
-
constructor(data?: PartialMessage<SetLocalNameResponse>);
|
|
928
|
-
static readonly runtime: typeof proto2;
|
|
929
|
-
static readonly typeName = "livekit.proto.SetLocalNameResponse";
|
|
930
|
-
static readonly fields: FieldList;
|
|
931
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): SetLocalNameResponse;
|
|
932
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): SetLocalNameResponse;
|
|
933
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): SetLocalNameResponse;
|
|
934
|
-
static equals(a: SetLocalNameResponse | PlainMessage<SetLocalNameResponse> | undefined, b: SetLocalNameResponse | PlainMessage<SetLocalNameResponse> | undefined): boolean;
|
|
935
|
-
}
|
|
936
|
-
/**
|
|
937
|
-
* @generated from message livekit.proto.SetLocalNameCallback
|
|
938
|
-
*/
|
|
939
|
-
declare class SetLocalNameCallback extends Message<SetLocalNameCallback> {
|
|
940
|
-
/**
|
|
941
|
-
* @generated from field: required uint64 async_id = 1;
|
|
942
|
-
*/
|
|
943
|
-
asyncId?: bigint;
|
|
944
|
-
/**
|
|
945
|
-
* @generated from field: optional string error = 2;
|
|
946
|
-
*/
|
|
947
|
-
error?: string;
|
|
948
|
-
constructor(data?: PartialMessage<SetLocalNameCallback>);
|
|
949
|
-
static readonly runtime: typeof proto2;
|
|
950
|
-
static readonly typeName = "livekit.proto.SetLocalNameCallback";
|
|
951
|
-
static readonly fields: FieldList;
|
|
952
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): SetLocalNameCallback;
|
|
953
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): SetLocalNameCallback;
|
|
954
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): SetLocalNameCallback;
|
|
955
|
-
static equals(a: SetLocalNameCallback | PlainMessage<SetLocalNameCallback> | undefined, b: SetLocalNameCallback | PlainMessage<SetLocalNameCallback> | undefined): boolean;
|
|
956
|
-
}
|
|
957
|
-
/**
|
|
958
|
-
* Change the "desire" to subs2ribe to a track
|
|
959
|
-
*
|
|
960
|
-
* @generated from message livekit.proto.SetSubscribedRequest
|
|
961
|
-
*/
|
|
962
|
-
declare class SetSubscribedRequest extends Message<SetSubscribedRequest> {
|
|
963
|
-
/**
|
|
964
|
-
* @generated from field: required bool subscribe = 1;
|
|
965
|
-
*/
|
|
966
|
-
subscribe?: boolean;
|
|
967
|
-
/**
|
|
968
|
-
* @generated from field: required uint64 publication_handle = 2;
|
|
969
|
-
*/
|
|
970
|
-
publicationHandle?: bigint;
|
|
971
|
-
constructor(data?: PartialMessage<SetSubscribedRequest>);
|
|
972
|
-
static readonly runtime: typeof proto2;
|
|
973
|
-
static readonly typeName = "livekit.proto.SetSubscribedRequest";
|
|
974
|
-
static readonly fields: FieldList;
|
|
975
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): SetSubscribedRequest;
|
|
976
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): SetSubscribedRequest;
|
|
977
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): SetSubscribedRequest;
|
|
978
|
-
static equals(a: SetSubscribedRequest | PlainMessage<SetSubscribedRequest> | undefined, b: SetSubscribedRequest | PlainMessage<SetSubscribedRequest> | undefined): boolean;
|
|
979
|
-
}
|
|
980
|
-
/**
|
|
981
|
-
* @generated from message livekit.proto.SetSubscribedResponse
|
|
982
|
-
*/
|
|
983
|
-
declare class SetSubscribedResponse extends Message<SetSubscribedResponse> {
|
|
984
|
-
constructor(data?: PartialMessage<SetSubscribedResponse>);
|
|
985
|
-
static readonly runtime: typeof proto2;
|
|
986
|
-
static readonly typeName = "livekit.proto.SetSubscribedResponse";
|
|
987
|
-
static readonly fields: FieldList;
|
|
988
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): SetSubscribedResponse;
|
|
989
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): SetSubscribedResponse;
|
|
990
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): SetSubscribedResponse;
|
|
991
|
-
static equals(a: SetSubscribedResponse | PlainMessage<SetSubscribedResponse> | undefined, b: SetSubscribedResponse | PlainMessage<SetSubscribedResponse> | undefined): boolean;
|
|
992
|
-
}
|
|
993
|
-
/**
|
|
994
|
-
* @generated from message livekit.proto.GetSessionStatsRequest
|
|
995
|
-
*/
|
|
996
|
-
declare class GetSessionStatsRequest extends Message<GetSessionStatsRequest> {
|
|
997
|
-
/**
|
|
998
|
-
* @generated from field: required uint64 room_handle = 1;
|
|
999
|
-
*/
|
|
1000
|
-
roomHandle?: bigint;
|
|
1001
|
-
constructor(data?: PartialMessage<GetSessionStatsRequest>);
|
|
1002
|
-
static readonly runtime: typeof proto2;
|
|
1003
|
-
static readonly typeName = "livekit.proto.GetSessionStatsRequest";
|
|
1004
|
-
static readonly fields: FieldList;
|
|
1005
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): GetSessionStatsRequest;
|
|
1006
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): GetSessionStatsRequest;
|
|
1007
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): GetSessionStatsRequest;
|
|
1008
|
-
static equals(a: GetSessionStatsRequest | PlainMessage<GetSessionStatsRequest> | undefined, b: GetSessionStatsRequest | PlainMessage<GetSessionStatsRequest> | undefined): boolean;
|
|
1009
|
-
}
|
|
1010
|
-
/**
|
|
1011
|
-
* @generated from message livekit.proto.GetSessionStatsResponse
|
|
1012
|
-
*/
|
|
1013
|
-
declare class GetSessionStatsResponse extends Message<GetSessionStatsResponse> {
|
|
1014
|
-
/**
|
|
1015
|
-
* @generated from field: required uint64 async_id = 1;
|
|
1016
|
-
*/
|
|
1017
|
-
asyncId?: bigint;
|
|
1018
|
-
constructor(data?: PartialMessage<GetSessionStatsResponse>);
|
|
1019
|
-
static readonly runtime: typeof proto2;
|
|
1020
|
-
static readonly typeName = "livekit.proto.GetSessionStatsResponse";
|
|
1021
|
-
static readonly fields: FieldList;
|
|
1022
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): GetSessionStatsResponse;
|
|
1023
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): GetSessionStatsResponse;
|
|
1024
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): GetSessionStatsResponse;
|
|
1025
|
-
static equals(a: GetSessionStatsResponse | PlainMessage<GetSessionStatsResponse> | undefined, b: GetSessionStatsResponse | PlainMessage<GetSessionStatsResponse> | undefined): boolean;
|
|
1026
|
-
}
|
|
1027
|
-
/**
|
|
1028
|
-
* @generated from message livekit.proto.GetSessionStatsCallback
|
|
1029
|
-
*/
|
|
1030
|
-
declare class GetSessionStatsCallback extends Message<GetSessionStatsCallback> {
|
|
1031
|
-
/**
|
|
1032
|
-
* @generated from field: required uint64 async_id = 1;
|
|
1033
|
-
*/
|
|
1034
|
-
asyncId?: bigint;
|
|
1035
|
-
/**
|
|
1036
|
-
* @generated from oneof livekit.proto.GetSessionStatsCallback.message
|
|
1037
|
-
*/
|
|
1038
|
-
message: {
|
|
1039
|
-
/**
|
|
1040
|
-
* @generated from field: string error = 2;
|
|
1041
|
-
*/
|
|
1042
|
-
value: string;
|
|
1043
|
-
case: "error";
|
|
1044
|
-
} | {
|
|
1045
|
-
/**
|
|
1046
|
-
* @generated from field: livekit.proto.GetSessionStatsCallback.Result result = 3;
|
|
1047
|
-
*/
|
|
1048
|
-
value: GetSessionStatsCallback_Result;
|
|
1049
|
-
case: "result";
|
|
1050
|
-
} | {
|
|
1051
|
-
case: undefined;
|
|
1052
|
-
value?: undefined;
|
|
1053
|
-
};
|
|
1054
|
-
constructor(data?: PartialMessage<GetSessionStatsCallback>);
|
|
1055
|
-
static readonly runtime: typeof proto2;
|
|
1056
|
-
static readonly typeName = "livekit.proto.GetSessionStatsCallback";
|
|
1057
|
-
static readonly fields: FieldList;
|
|
1058
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): GetSessionStatsCallback;
|
|
1059
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): GetSessionStatsCallback;
|
|
1060
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): GetSessionStatsCallback;
|
|
1061
|
-
static equals(a: GetSessionStatsCallback | PlainMessage<GetSessionStatsCallback> | undefined, b: GetSessionStatsCallback | PlainMessage<GetSessionStatsCallback> | undefined): boolean;
|
|
1062
|
-
}
|
|
1063
|
-
/**
|
|
1064
|
-
* @generated from message livekit.proto.GetSessionStatsCallback.Result
|
|
1065
|
-
*/
|
|
1066
|
-
declare class GetSessionStatsCallback_Result extends Message<GetSessionStatsCallback_Result> {
|
|
1067
|
-
/**
|
|
1068
|
-
* @generated from field: repeated livekit.proto.RtcStats publisher_stats = 1;
|
|
1069
|
-
*/
|
|
1070
|
-
publisherStats: RtcStats[];
|
|
1071
|
-
/**
|
|
1072
|
-
* @generated from field: repeated livekit.proto.RtcStats subscriber_stats = 2;
|
|
1073
|
-
*/
|
|
1074
|
-
subscriberStats: RtcStats[];
|
|
1075
|
-
constructor(data?: PartialMessage<GetSessionStatsCallback_Result>);
|
|
1076
|
-
static readonly runtime: typeof proto2;
|
|
1077
|
-
static readonly typeName = "livekit.proto.GetSessionStatsCallback.Result";
|
|
1078
|
-
static readonly fields: FieldList;
|
|
1079
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): GetSessionStatsCallback_Result;
|
|
1080
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): GetSessionStatsCallback_Result;
|
|
1081
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): GetSessionStatsCallback_Result;
|
|
1082
|
-
static equals(a: GetSessionStatsCallback_Result | PlainMessage<GetSessionStatsCallback_Result> | undefined, b: GetSessionStatsCallback_Result | PlainMessage<GetSessionStatsCallback_Result> | undefined): boolean;
|
|
1083
|
-
}
|
|
1084
|
-
/**
|
|
1085
|
-
* @generated from message livekit.proto.VideoEncoding
|
|
1086
|
-
*/
|
|
1087
|
-
declare class VideoEncoding extends Message<VideoEncoding> {
|
|
1088
|
-
/**
|
|
1089
|
-
* @generated from field: required uint64 max_bitrate = 1;
|
|
1090
|
-
*/
|
|
1091
|
-
maxBitrate?: bigint;
|
|
1092
|
-
/**
|
|
1093
|
-
* @generated from field: required double max_framerate = 2;
|
|
1094
|
-
*/
|
|
1095
|
-
maxFramerate?: number;
|
|
1096
|
-
constructor(data?: PartialMessage<VideoEncoding>);
|
|
1097
|
-
static readonly runtime: typeof proto2;
|
|
1098
|
-
static readonly typeName = "livekit.proto.VideoEncoding";
|
|
1099
|
-
static readonly fields: FieldList;
|
|
1100
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): VideoEncoding;
|
|
1101
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): VideoEncoding;
|
|
1102
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): VideoEncoding;
|
|
1103
|
-
static equals(a: VideoEncoding | PlainMessage<VideoEncoding> | undefined, b: VideoEncoding | PlainMessage<VideoEncoding> | undefined): boolean;
|
|
1104
|
-
}
|
|
1105
|
-
/**
|
|
1106
|
-
* @generated from message livekit.proto.AudioEncoding
|
|
1107
|
-
*/
|
|
1108
|
-
declare class AudioEncoding extends Message<AudioEncoding> {
|
|
1109
|
-
/**
|
|
1110
|
-
* @generated from field: required uint64 max_bitrate = 1;
|
|
1111
|
-
*/
|
|
1112
|
-
maxBitrate?: bigint;
|
|
1113
|
-
constructor(data?: PartialMessage<AudioEncoding>);
|
|
1114
|
-
static readonly runtime: typeof proto2;
|
|
1115
|
-
static readonly typeName = "livekit.proto.AudioEncoding";
|
|
1116
|
-
static readonly fields: FieldList;
|
|
1117
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): AudioEncoding;
|
|
1118
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): AudioEncoding;
|
|
1119
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): AudioEncoding;
|
|
1120
|
-
static equals(a: AudioEncoding | PlainMessage<AudioEncoding> | undefined, b: AudioEncoding | PlainMessage<AudioEncoding> | undefined): boolean;
|
|
1121
|
-
}
|
|
1122
|
-
/**
|
|
1123
|
-
* @generated from message livekit.proto.TrackPublishOptions
|
|
1124
|
-
*/
|
|
1125
|
-
declare class TrackPublishOptions extends Message<TrackPublishOptions> {
|
|
1126
|
-
/**
|
|
1127
|
-
* encodings are optional
|
|
1128
|
-
*
|
|
1129
|
-
* @generated from field: optional livekit.proto.VideoEncoding video_encoding = 1;
|
|
1130
|
-
*/
|
|
1131
|
-
videoEncoding?: VideoEncoding;
|
|
1132
|
-
/**
|
|
1133
|
-
* @generated from field: optional livekit.proto.AudioEncoding audio_encoding = 2;
|
|
1134
|
-
*/
|
|
1135
|
-
audioEncoding?: AudioEncoding;
|
|
1136
|
-
/**
|
|
1137
|
-
* @generated from field: optional livekit.proto.VideoCodec video_codec = 3;
|
|
1138
|
-
*/
|
|
1139
|
-
videoCodec?: VideoCodec;
|
|
1140
|
-
/**
|
|
1141
|
-
* @generated from field: optional bool dtx = 4;
|
|
1142
|
-
*/
|
|
1143
|
-
dtx?: boolean;
|
|
1144
|
-
/**
|
|
1145
|
-
* @generated from field: optional bool red = 5;
|
|
1146
|
-
*/
|
|
1147
|
-
red?: boolean;
|
|
1148
|
-
/**
|
|
1149
|
-
* @generated from field: optional bool simulcast = 6;
|
|
1150
|
-
*/
|
|
1151
|
-
simulcast?: boolean;
|
|
1152
|
-
/**
|
|
1153
|
-
* @generated from field: optional livekit.proto.TrackSource source = 7;
|
|
1154
|
-
*/
|
|
1155
|
-
source?: TrackSource;
|
|
1156
|
-
/**
|
|
1157
|
-
* @generated from field: optional string stream = 8;
|
|
1158
|
-
*/
|
|
1159
|
-
stream?: string;
|
|
1160
|
-
/**
|
|
1161
|
-
* @generated from field: optional bool preconnect_buffer = 9;
|
|
1162
|
-
*/
|
|
1163
|
-
preconnectBuffer?: boolean;
|
|
1164
|
-
constructor(data?: PartialMessage<TrackPublishOptions>);
|
|
1165
|
-
static readonly runtime: typeof proto2;
|
|
1166
|
-
static readonly typeName = "livekit.proto.TrackPublishOptions";
|
|
1167
|
-
static readonly fields: FieldList;
|
|
1168
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): TrackPublishOptions;
|
|
1169
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): TrackPublishOptions;
|
|
1170
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): TrackPublishOptions;
|
|
1171
|
-
static equals(a: TrackPublishOptions | PlainMessage<TrackPublishOptions> | undefined, b: TrackPublishOptions | PlainMessage<TrackPublishOptions> | undefined): boolean;
|
|
1172
|
-
}
|
|
1173
|
-
/**
|
|
1174
|
-
* @generated from message livekit.proto.IceServer
|
|
1175
|
-
*/
|
|
1176
|
-
declare class IceServer extends Message<IceServer> {
|
|
1177
|
-
/**
|
|
1178
|
-
* @generated from field: repeated string urls = 1;
|
|
1179
|
-
*/
|
|
1180
|
-
urls: string[];
|
|
1181
|
-
/**
|
|
1182
|
-
* @generated from field: optional string username = 2;
|
|
1183
|
-
*/
|
|
1184
|
-
username?: string;
|
|
1185
|
-
/**
|
|
1186
|
-
* @generated from field: optional string password = 3;
|
|
1187
|
-
*/
|
|
1188
|
-
password?: string;
|
|
1189
|
-
constructor(data?: PartialMessage<IceServer>);
|
|
1190
|
-
static readonly runtime: typeof proto2;
|
|
1191
|
-
static readonly typeName = "livekit.proto.IceServer";
|
|
1192
|
-
static readonly fields: FieldList;
|
|
1193
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): IceServer;
|
|
1194
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): IceServer;
|
|
1195
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): IceServer;
|
|
1196
|
-
static equals(a: IceServer | PlainMessage<IceServer> | undefined, b: IceServer | PlainMessage<IceServer> | undefined): boolean;
|
|
1197
|
-
}
|
|
1198
|
-
/**
|
|
1199
|
-
* @generated from message livekit.proto.RtcConfig
|
|
1200
|
-
*/
|
|
1201
|
-
declare class RtcConfig extends Message<RtcConfig> {
|
|
1202
|
-
/**
|
|
1203
|
-
* @generated from field: optional livekit.proto.IceTransportType ice_transport_type = 1;
|
|
1204
|
-
*/
|
|
1205
|
-
iceTransportType?: IceTransportType;
|
|
1206
|
-
/**
|
|
1207
|
-
* @generated from field: optional livekit.proto.ContinualGatheringPolicy continual_gathering_policy = 2;
|
|
1208
|
-
*/
|
|
1209
|
-
continualGatheringPolicy?: ContinualGatheringPolicy;
|
|
1210
|
-
/**
|
|
1211
|
-
* empty fallback to default
|
|
1212
|
-
*
|
|
1213
|
-
* @generated from field: repeated livekit.proto.IceServer ice_servers = 3;
|
|
1214
|
-
*/
|
|
1215
|
-
iceServers: IceServer[];
|
|
1216
|
-
constructor(data?: PartialMessage<RtcConfig>);
|
|
1217
|
-
static readonly runtime: typeof proto2;
|
|
1218
|
-
static readonly typeName = "livekit.proto.RtcConfig";
|
|
1219
|
-
static readonly fields: FieldList;
|
|
1220
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): RtcConfig;
|
|
1221
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): RtcConfig;
|
|
1222
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): RtcConfig;
|
|
1223
|
-
static equals(a: RtcConfig | PlainMessage<RtcConfig> | undefined, b: RtcConfig | PlainMessage<RtcConfig> | undefined): boolean;
|
|
1224
|
-
}
|
|
1225
|
-
/**
|
|
1226
|
-
* @generated from message livekit.proto.RoomOptions
|
|
1227
|
-
*/
|
|
1228
|
-
declare class RoomOptions extends Message<RoomOptions> {
|
|
1229
|
-
/**
|
|
1230
|
-
* @generated from field: optional bool auto_subscribe = 1;
|
|
1231
|
-
*/
|
|
1232
|
-
autoSubscribe?: boolean;
|
|
1233
|
-
/**
|
|
1234
|
-
* @generated from field: optional bool adaptive_stream = 2;
|
|
1235
|
-
*/
|
|
1236
|
-
adaptiveStream?: boolean;
|
|
1237
|
-
/**
|
|
1238
|
-
* @generated from field: optional bool dynacast = 3;
|
|
1239
|
-
*/
|
|
1240
|
-
dynacast?: boolean;
|
|
1241
|
-
/**
|
|
1242
|
-
* @generated from field: optional livekit.proto.E2eeOptions e2ee = 4 [deprecated = true];
|
|
1243
|
-
* @deprecated
|
|
1244
|
-
*/
|
|
1245
|
-
e2ee?: E2eeOptions;
|
|
1246
|
-
/**
|
|
1247
|
-
* allow to setup a custom RtcConfiguration
|
|
1248
|
-
*
|
|
1249
|
-
* @generated from field: optional livekit.proto.RtcConfig rtc_config = 5;
|
|
1250
|
-
*/
|
|
1251
|
-
rtcConfig?: RtcConfig;
|
|
1252
|
-
/**
|
|
1253
|
-
* @generated from field: optional uint32 join_retries = 6;
|
|
1254
|
-
*/
|
|
1255
|
-
joinRetries?: number;
|
|
1256
|
-
/**
|
|
1257
|
-
* @generated from field: optional livekit.proto.E2eeOptions encryption = 7;
|
|
1258
|
-
*/
|
|
1259
|
-
encryption?: E2eeOptions;
|
|
1260
|
-
constructor(data?: PartialMessage<RoomOptions>);
|
|
1261
|
-
static readonly runtime: typeof proto2;
|
|
1262
|
-
static readonly typeName = "livekit.proto.RoomOptions";
|
|
1263
|
-
static readonly fields: FieldList;
|
|
1264
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): RoomOptions;
|
|
1265
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): RoomOptions;
|
|
1266
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): RoomOptions;
|
|
1267
|
-
static equals(a: RoomOptions | PlainMessage<RoomOptions> | undefined, b: RoomOptions | PlainMessage<RoomOptions> | undefined): boolean;
|
|
1268
|
-
}
|
|
1269
|
-
/**
|
|
1270
|
-
* @generated from message livekit.proto.TranscriptionSegment
|
|
1271
|
-
*/
|
|
1272
|
-
declare class TranscriptionSegment extends Message<TranscriptionSegment> {
|
|
1273
|
-
/**
|
|
1274
|
-
* @generated from field: required string id = 1;
|
|
1275
|
-
*/
|
|
1276
|
-
id?: string;
|
|
1277
|
-
/**
|
|
1278
|
-
* @generated from field: required string text = 2;
|
|
1279
|
-
*/
|
|
1280
|
-
text?: string;
|
|
1281
|
-
/**
|
|
1282
|
-
* @generated from field: required uint64 start_time = 3;
|
|
1283
|
-
*/
|
|
1284
|
-
startTime?: bigint;
|
|
1285
|
-
/**
|
|
1286
|
-
* @generated from field: required uint64 end_time = 4;
|
|
1287
|
-
*/
|
|
1288
|
-
endTime?: bigint;
|
|
1289
|
-
/**
|
|
1290
|
-
* @generated from field: required bool final = 5;
|
|
1291
|
-
*/
|
|
1292
|
-
final?: boolean;
|
|
1293
|
-
/**
|
|
1294
|
-
* @generated from field: required string language = 6;
|
|
1295
|
-
*/
|
|
1296
|
-
language?: string;
|
|
1297
|
-
constructor(data?: PartialMessage<TranscriptionSegment>);
|
|
1298
|
-
static readonly runtime: typeof proto2;
|
|
1299
|
-
static readonly typeName = "livekit.proto.TranscriptionSegment";
|
|
1300
|
-
static readonly fields: FieldList;
|
|
1301
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): TranscriptionSegment;
|
|
1302
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): TranscriptionSegment;
|
|
1303
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): TranscriptionSegment;
|
|
1304
|
-
static equals(a: TranscriptionSegment | PlainMessage<TranscriptionSegment> | undefined, b: TranscriptionSegment | PlainMessage<TranscriptionSegment> | undefined): boolean;
|
|
1305
|
-
}
|
|
1306
|
-
/**
|
|
1307
|
-
* @generated from message livekit.proto.BufferInfo
|
|
1308
|
-
*/
|
|
1309
|
-
declare class BufferInfo extends Message<BufferInfo> {
|
|
1310
|
-
/**
|
|
1311
|
-
* @generated from field: required uint64 data_ptr = 1;
|
|
1312
|
-
*/
|
|
1313
|
-
dataPtr?: bigint;
|
|
1314
|
-
/**
|
|
1315
|
-
* @generated from field: required uint64 data_len = 2;
|
|
1316
|
-
*/
|
|
1317
|
-
dataLen?: bigint;
|
|
1318
|
-
constructor(data?: PartialMessage<BufferInfo>);
|
|
1319
|
-
static readonly runtime: typeof proto2;
|
|
1320
|
-
static readonly typeName = "livekit.proto.BufferInfo";
|
|
1321
|
-
static readonly fields: FieldList;
|
|
1322
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): BufferInfo;
|
|
1323
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): BufferInfo;
|
|
1324
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): BufferInfo;
|
|
1325
|
-
static equals(a: BufferInfo | PlainMessage<BufferInfo> | undefined, b: BufferInfo | PlainMessage<BufferInfo> | undefined): boolean;
|
|
1326
|
-
}
|
|
1327
|
-
/**
|
|
1328
|
-
* @generated from message livekit.proto.OwnedBuffer
|
|
1329
|
-
*/
|
|
1330
|
-
declare class OwnedBuffer extends Message<OwnedBuffer> {
|
|
1331
|
-
/**
|
|
1332
|
-
* @generated from field: required livekit.proto.FfiOwnedHandle handle = 1;
|
|
1333
|
-
*/
|
|
1334
|
-
handle?: FfiOwnedHandle;
|
|
1335
|
-
/**
|
|
1336
|
-
* @generated from field: required livekit.proto.BufferInfo data = 2;
|
|
1337
|
-
*/
|
|
1338
|
-
data?: BufferInfo;
|
|
1339
|
-
constructor(data?: PartialMessage<OwnedBuffer>);
|
|
1340
|
-
static readonly runtime: typeof proto2;
|
|
1341
|
-
static readonly typeName = "livekit.proto.OwnedBuffer";
|
|
1342
|
-
static readonly fields: FieldList;
|
|
1343
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): OwnedBuffer;
|
|
1344
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): OwnedBuffer;
|
|
1345
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): OwnedBuffer;
|
|
1346
|
-
static equals(a: OwnedBuffer | PlainMessage<OwnedBuffer> | undefined, b: OwnedBuffer | PlainMessage<OwnedBuffer> | undefined): boolean;
|
|
1347
|
-
}
|
|
1348
|
-
/**
|
|
1349
|
-
* @generated from message livekit.proto.RoomEvent
|
|
1350
|
-
*/
|
|
1351
|
-
declare class RoomEvent extends Message<RoomEvent> {
|
|
1352
|
-
/**
|
|
1353
|
-
* @generated from field: required uint64 room_handle = 1;
|
|
1354
|
-
*/
|
|
1355
|
-
roomHandle?: bigint;
|
|
1356
|
-
/**
|
|
1357
|
-
* @generated from oneof livekit.proto.RoomEvent.message
|
|
1358
|
-
*/
|
|
1359
|
-
message: {
|
|
1360
|
-
/**
|
|
1361
|
-
* @generated from field: livekit.proto.ParticipantConnected participant_connected = 2;
|
|
1362
|
-
*/
|
|
1363
|
-
value: ParticipantConnected;
|
|
1364
|
-
case: "participantConnected";
|
|
1365
|
-
} | {
|
|
1366
|
-
/**
|
|
1367
|
-
* @generated from field: livekit.proto.ParticipantDisconnected participant_disconnected = 3;
|
|
1368
|
-
*/
|
|
1369
|
-
value: ParticipantDisconnected;
|
|
1370
|
-
case: "participantDisconnected";
|
|
1371
|
-
} | {
|
|
1372
|
-
/**
|
|
1373
|
-
* @generated from field: livekit.proto.LocalTrackPublished local_track_published = 4;
|
|
1374
|
-
*/
|
|
1375
|
-
value: LocalTrackPublished;
|
|
1376
|
-
case: "localTrackPublished";
|
|
1377
|
-
} | {
|
|
1378
|
-
/**
|
|
1379
|
-
* @generated from field: livekit.proto.LocalTrackUnpublished local_track_unpublished = 5;
|
|
1380
|
-
*/
|
|
1381
|
-
value: LocalTrackUnpublished;
|
|
1382
|
-
case: "localTrackUnpublished";
|
|
1383
|
-
} | {
|
|
1384
|
-
/**
|
|
1385
|
-
* @generated from field: livekit.proto.LocalTrackSubscribed local_track_subscribed = 6;
|
|
1386
|
-
*/
|
|
1387
|
-
value: LocalTrackSubscribed;
|
|
1388
|
-
case: "localTrackSubscribed";
|
|
1389
|
-
} | {
|
|
1390
|
-
/**
|
|
1391
|
-
* @generated from field: livekit.proto.TrackPublished track_published = 7;
|
|
1392
|
-
*/
|
|
1393
|
-
value: TrackPublished;
|
|
1394
|
-
case: "trackPublished";
|
|
1395
|
-
} | {
|
|
1396
|
-
/**
|
|
1397
|
-
* @generated from field: livekit.proto.TrackUnpublished track_unpublished = 8;
|
|
1398
|
-
*/
|
|
1399
|
-
value: TrackUnpublished;
|
|
1400
|
-
case: "trackUnpublished";
|
|
1401
|
-
} | {
|
|
1402
|
-
/**
|
|
1403
|
-
* @generated from field: livekit.proto.TrackSubscribed track_subscribed = 9;
|
|
1404
|
-
*/
|
|
1405
|
-
value: TrackSubscribed;
|
|
1406
|
-
case: "trackSubscribed";
|
|
1407
|
-
} | {
|
|
1408
|
-
/**
|
|
1409
|
-
* @generated from field: livekit.proto.TrackUnsubscribed track_unsubscribed = 10;
|
|
1410
|
-
*/
|
|
1411
|
-
value: TrackUnsubscribed;
|
|
1412
|
-
case: "trackUnsubscribed";
|
|
1413
|
-
} | {
|
|
1414
|
-
/**
|
|
1415
|
-
* @generated from field: livekit.proto.TrackSubscriptionFailed track_subscription_failed = 11;
|
|
1416
|
-
*/
|
|
1417
|
-
value: TrackSubscriptionFailed;
|
|
1418
|
-
case: "trackSubscriptionFailed";
|
|
1419
|
-
} | {
|
|
1420
|
-
/**
|
|
1421
|
-
* @generated from field: livekit.proto.TrackMuted track_muted = 12;
|
|
1422
|
-
*/
|
|
1423
|
-
value: TrackMuted;
|
|
1424
|
-
case: "trackMuted";
|
|
1425
|
-
} | {
|
|
1426
|
-
/**
|
|
1427
|
-
* @generated from field: livekit.proto.TrackUnmuted track_unmuted = 13;
|
|
1428
|
-
*/
|
|
1429
|
-
value: TrackUnmuted;
|
|
1430
|
-
case: "trackUnmuted";
|
|
1431
|
-
} | {
|
|
1432
|
-
/**
|
|
1433
|
-
* @generated from field: livekit.proto.ActiveSpeakersChanged active_speakers_changed = 14;
|
|
1434
|
-
*/
|
|
1435
|
-
value: ActiveSpeakersChanged;
|
|
1436
|
-
case: "activeSpeakersChanged";
|
|
1437
|
-
} | {
|
|
1438
|
-
/**
|
|
1439
|
-
* @generated from field: livekit.proto.RoomMetadataChanged room_metadata_changed = 15;
|
|
1440
|
-
*/
|
|
1441
|
-
value: RoomMetadataChanged;
|
|
1442
|
-
case: "roomMetadataChanged";
|
|
1443
|
-
} | {
|
|
1444
|
-
/**
|
|
1445
|
-
* @generated from field: livekit.proto.RoomSidChanged room_sid_changed = 16;
|
|
1446
|
-
*/
|
|
1447
|
-
value: RoomSidChanged;
|
|
1448
|
-
case: "roomSidChanged";
|
|
1449
|
-
} | {
|
|
1450
|
-
/**
|
|
1451
|
-
* @generated from field: livekit.proto.ParticipantMetadataChanged participant_metadata_changed = 17;
|
|
1452
|
-
*/
|
|
1453
|
-
value: ParticipantMetadataChanged;
|
|
1454
|
-
case: "participantMetadataChanged";
|
|
1455
|
-
} | {
|
|
1456
|
-
/**
|
|
1457
|
-
* @generated from field: livekit.proto.ParticipantNameChanged participant_name_changed = 18;
|
|
1458
|
-
*/
|
|
1459
|
-
value: ParticipantNameChanged;
|
|
1460
|
-
case: "participantNameChanged";
|
|
1461
|
-
} | {
|
|
1462
|
-
/**
|
|
1463
|
-
* @generated from field: livekit.proto.ParticipantAttributesChanged participant_attributes_changed = 19;
|
|
1464
|
-
*/
|
|
1465
|
-
value: ParticipantAttributesChanged;
|
|
1466
|
-
case: "participantAttributesChanged";
|
|
1467
|
-
} | {
|
|
1468
|
-
/**
|
|
1469
|
-
* @generated from field: livekit.proto.ConnectionQualityChanged connection_quality_changed = 20;
|
|
1470
|
-
*/
|
|
1471
|
-
value: ConnectionQualityChanged;
|
|
1472
|
-
case: "connectionQualityChanged";
|
|
1473
|
-
} | {
|
|
1474
|
-
/**
|
|
1475
|
-
* @generated from field: livekit.proto.ConnectionStateChanged connection_state_changed = 21;
|
|
1476
|
-
*/
|
|
1477
|
-
value: ConnectionStateChanged;
|
|
1478
|
-
case: "connectionStateChanged";
|
|
1479
|
-
} | {
|
|
1480
|
-
/**
|
|
1481
|
-
* Connected connected = 21;
|
|
1482
|
-
*
|
|
1483
|
-
* @generated from field: livekit.proto.Disconnected disconnected = 22;
|
|
1484
|
-
*/
|
|
1485
|
-
value: Disconnected;
|
|
1486
|
-
case: "disconnected";
|
|
1487
|
-
} | {
|
|
1488
|
-
/**
|
|
1489
|
-
* @generated from field: livekit.proto.Reconnecting reconnecting = 23;
|
|
1490
|
-
*/
|
|
1491
|
-
value: Reconnecting;
|
|
1492
|
-
case: "reconnecting";
|
|
1493
|
-
} | {
|
|
1494
|
-
/**
|
|
1495
|
-
* @generated from field: livekit.proto.Reconnected reconnected = 24;
|
|
1496
|
-
*/
|
|
1497
|
-
value: Reconnected;
|
|
1498
|
-
case: "reconnected";
|
|
1499
|
-
} | {
|
|
1500
|
-
/**
|
|
1501
|
-
* @generated from field: livekit.proto.E2eeStateChanged e2ee_state_changed = 25;
|
|
1502
|
-
*/
|
|
1503
|
-
value: E2eeStateChanged;
|
|
1504
|
-
case: "e2eeStateChanged";
|
|
1505
|
-
} | {
|
|
1506
|
-
/**
|
|
1507
|
-
* The stream of room events has ended
|
|
1508
|
-
*
|
|
1509
|
-
* @generated from field: livekit.proto.RoomEOS eos = 26;
|
|
1510
|
-
*/
|
|
1511
|
-
value: RoomEOS;
|
|
1512
|
-
case: "eos";
|
|
1513
|
-
} | {
|
|
1514
|
-
/**
|
|
1515
|
-
* @generated from field: livekit.proto.DataPacketReceived data_packet_received = 27;
|
|
1516
|
-
*/
|
|
1517
|
-
value: DataPacketReceived;
|
|
1518
|
-
case: "dataPacketReceived";
|
|
1519
|
-
} | {
|
|
1520
|
-
/**
|
|
1521
|
-
* @generated from field: livekit.proto.TranscriptionReceived transcription_received = 28;
|
|
1522
|
-
*/
|
|
1523
|
-
value: TranscriptionReceived;
|
|
1524
|
-
case: "transcriptionReceived";
|
|
1525
|
-
} | {
|
|
1526
|
-
/**
|
|
1527
|
-
* @generated from field: livekit.proto.ChatMessageReceived chat_message = 29;
|
|
1528
|
-
*/
|
|
1529
|
-
value: ChatMessageReceived;
|
|
1530
|
-
case: "chatMessage";
|
|
1531
|
-
} | {
|
|
1532
|
-
/**
|
|
1533
|
-
* Data stream (low level)
|
|
1534
|
-
*
|
|
1535
|
-
* @generated from field: livekit.proto.DataStreamHeaderReceived stream_header_received = 30;
|
|
1536
|
-
*/
|
|
1537
|
-
value: DataStreamHeaderReceived;
|
|
1538
|
-
case: "streamHeaderReceived";
|
|
1539
|
-
} | {
|
|
1540
|
-
/**
|
|
1541
|
-
* @generated from field: livekit.proto.DataStreamChunkReceived stream_chunk_received = 31;
|
|
1542
|
-
*/
|
|
1543
|
-
value: DataStreamChunkReceived;
|
|
1544
|
-
case: "streamChunkReceived";
|
|
1545
|
-
} | {
|
|
1546
|
-
/**
|
|
1547
|
-
* @generated from field: livekit.proto.DataStreamTrailerReceived stream_trailer_received = 32;
|
|
1548
|
-
*/
|
|
1549
|
-
value: DataStreamTrailerReceived;
|
|
1550
|
-
case: "streamTrailerReceived";
|
|
1551
|
-
} | {
|
|
1552
|
-
/**
|
|
1553
|
-
* @generated from field: livekit.proto.DataChannelBufferedAmountLowThresholdChanged data_channel_low_threshold_changed = 33;
|
|
1554
|
-
*/
|
|
1555
|
-
value: DataChannelBufferedAmountLowThresholdChanged;
|
|
1556
|
-
case: "dataChannelLowThresholdChanged";
|
|
1557
|
-
} | {
|
|
1558
|
-
/**
|
|
1559
|
-
* Data stream (high level)
|
|
1560
|
-
*
|
|
1561
|
-
* @generated from field: livekit.proto.ByteStreamOpened byte_stream_opened = 34;
|
|
1562
|
-
*/
|
|
1563
|
-
value: ByteStreamOpened;
|
|
1564
|
-
case: "byteStreamOpened";
|
|
1565
|
-
} | {
|
|
1566
|
-
/**
|
|
1567
|
-
* @generated from field: livekit.proto.TextStreamOpened text_stream_opened = 35;
|
|
1568
|
-
*/
|
|
1569
|
-
value: TextStreamOpened;
|
|
1570
|
-
case: "textStreamOpened";
|
|
1571
|
-
} | {
|
|
1572
|
-
/**
|
|
1573
|
-
* Room info updated
|
|
1574
|
-
*
|
|
1575
|
-
* @generated from field: livekit.proto.RoomInfo room_updated = 36;
|
|
1576
|
-
*/
|
|
1577
|
-
value: RoomInfo;
|
|
1578
|
-
case: "roomUpdated";
|
|
1579
|
-
} | {
|
|
1580
|
-
/**
|
|
1581
|
-
* Participant moved to new room
|
|
1582
|
-
*
|
|
1583
|
-
* @generated from field: livekit.proto.RoomInfo moved = 37;
|
|
1584
|
-
*/
|
|
1585
|
-
value: RoomInfo;
|
|
1586
|
-
case: "moved";
|
|
1587
|
-
} | {
|
|
1588
|
-
/**
|
|
1589
|
-
* carry over all participant info updates, including sid
|
|
1590
|
-
*
|
|
1591
|
-
* @generated from field: livekit.proto.ParticipantsUpdated participants_updated = 38;
|
|
1592
|
-
*/
|
|
1593
|
-
value: ParticipantsUpdated;
|
|
1594
|
-
case: "participantsUpdated";
|
|
1595
|
-
} | {
|
|
1596
|
-
/**
|
|
1597
|
-
* @generated from field: livekit.proto.ParticipantEncryptionStatusChanged participant_encryption_status_changed = 39;
|
|
1598
|
-
*/
|
|
1599
|
-
value: ParticipantEncryptionStatusChanged;
|
|
1600
|
-
case: "participantEncryptionStatusChanged";
|
|
1601
|
-
} | {
|
|
1602
|
-
/**
|
|
1603
|
-
* @generated from field: livekit.proto.TokenRefreshed token_refreshed = 40;
|
|
1604
|
-
*/
|
|
1605
|
-
value: TokenRefreshed;
|
|
1606
|
-
case: "tokenRefreshed";
|
|
1607
|
-
} | {
|
|
1608
|
-
case: undefined;
|
|
1609
|
-
value?: undefined;
|
|
1610
|
-
};
|
|
1611
|
-
constructor(data?: PartialMessage<RoomEvent>);
|
|
1612
|
-
static readonly runtime: typeof proto2;
|
|
1613
|
-
static readonly typeName = "livekit.proto.RoomEvent";
|
|
1614
|
-
static readonly fields: FieldList;
|
|
1615
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): RoomEvent;
|
|
1616
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): RoomEvent;
|
|
1617
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): RoomEvent;
|
|
1618
|
-
static equals(a: RoomEvent | PlainMessage<RoomEvent> | undefined, b: RoomEvent | PlainMessage<RoomEvent> | undefined): boolean;
|
|
1619
|
-
}
|
|
1620
|
-
/**
|
|
1621
|
-
* @generated from message livekit.proto.RoomInfo
|
|
1622
|
-
*/
|
|
1623
|
-
declare class RoomInfo extends Message<RoomInfo> {
|
|
1624
|
-
/**
|
|
1625
|
-
* @generated from field: optional string sid = 1;
|
|
1626
|
-
*/
|
|
1627
|
-
sid?: string;
|
|
1628
|
-
/**
|
|
1629
|
-
* @generated from field: required string name = 2;
|
|
1630
|
-
*/
|
|
1631
|
-
name?: string;
|
|
1632
|
-
/**
|
|
1633
|
-
* @generated from field: required string metadata = 3;
|
|
1634
|
-
*/
|
|
1635
|
-
metadata?: string;
|
|
1636
|
-
/**
|
|
1637
|
-
* @generated from field: required uint64 lossy_dc_buffered_amount_low_threshold = 4;
|
|
1638
|
-
*/
|
|
1639
|
-
lossyDcBufferedAmountLowThreshold?: bigint;
|
|
1640
|
-
/**
|
|
1641
|
-
* @generated from field: required uint64 reliable_dc_buffered_amount_low_threshold = 5;
|
|
1642
|
-
*/
|
|
1643
|
-
reliableDcBufferedAmountLowThreshold?: bigint;
|
|
1644
|
-
/**
|
|
1645
|
-
* @generated from field: required uint32 empty_timeout = 6;
|
|
1646
|
-
*/
|
|
1647
|
-
emptyTimeout?: number;
|
|
1648
|
-
/**
|
|
1649
|
-
* @generated from field: required uint32 departure_timeout = 7;
|
|
1650
|
-
*/
|
|
1651
|
-
departureTimeout?: number;
|
|
1652
|
-
/**
|
|
1653
|
-
* @generated from field: required uint32 max_participants = 8;
|
|
1654
|
-
*/
|
|
1655
|
-
maxParticipants?: number;
|
|
1656
|
-
/**
|
|
1657
|
-
* @generated from field: required int64 creation_time = 9;
|
|
1658
|
-
*/
|
|
1659
|
-
creationTime?: bigint;
|
|
1660
|
-
/**
|
|
1661
|
-
* @generated from field: required uint32 num_participants = 10;
|
|
1662
|
-
*/
|
|
1663
|
-
numParticipants?: number;
|
|
1664
|
-
/**
|
|
1665
|
-
* @generated from field: required uint32 num_publishers = 11;
|
|
1666
|
-
*/
|
|
1667
|
-
numPublishers?: number;
|
|
1668
|
-
/**
|
|
1669
|
-
* @generated from field: required bool active_recording = 12;
|
|
1670
|
-
*/
|
|
1671
|
-
activeRecording?: boolean;
|
|
1672
|
-
constructor(data?: PartialMessage<RoomInfo>);
|
|
1673
|
-
static readonly runtime: typeof proto2;
|
|
1674
|
-
static readonly typeName = "livekit.proto.RoomInfo";
|
|
1675
|
-
static readonly fields: FieldList;
|
|
1676
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): RoomInfo;
|
|
1677
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): RoomInfo;
|
|
1678
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): RoomInfo;
|
|
1679
|
-
static equals(a: RoomInfo | PlainMessage<RoomInfo> | undefined, b: RoomInfo | PlainMessage<RoomInfo> | undefined): boolean;
|
|
1680
|
-
}
|
|
1681
|
-
/**
|
|
1682
|
-
* @generated from message livekit.proto.OwnedRoom
|
|
1683
|
-
*/
|
|
1684
|
-
declare class OwnedRoom extends Message<OwnedRoom> {
|
|
1685
|
-
/**
|
|
1686
|
-
* @generated from field: required livekit.proto.FfiOwnedHandle handle = 1;
|
|
1687
|
-
*/
|
|
1688
|
-
handle?: FfiOwnedHandle;
|
|
1689
|
-
/**
|
|
1690
|
-
* @generated from field: required livekit.proto.RoomInfo info = 2;
|
|
1691
|
-
*/
|
|
1692
|
-
info?: RoomInfo;
|
|
1693
|
-
constructor(data?: PartialMessage<OwnedRoom>);
|
|
1694
|
-
static readonly runtime: typeof proto2;
|
|
1695
|
-
static readonly typeName = "livekit.proto.OwnedRoom";
|
|
1696
|
-
static readonly fields: FieldList;
|
|
1697
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): OwnedRoom;
|
|
1698
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): OwnedRoom;
|
|
1699
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): OwnedRoom;
|
|
1700
|
-
static equals(a: OwnedRoom | PlainMessage<OwnedRoom> | undefined, b: OwnedRoom | PlainMessage<OwnedRoom> | undefined): boolean;
|
|
1701
|
-
}
|
|
1702
|
-
/**
|
|
1703
|
-
* @generated from message livekit.proto.ParticipantsUpdated
|
|
1704
|
-
*/
|
|
1705
|
-
declare class ParticipantsUpdated extends Message<ParticipantsUpdated> {
|
|
1706
|
-
/**
|
|
1707
|
-
* @generated from field: repeated livekit.proto.ParticipantInfo participants = 1;
|
|
1708
|
-
*/
|
|
1709
|
-
participants: ParticipantInfo[];
|
|
1710
|
-
constructor(data?: PartialMessage<ParticipantsUpdated>);
|
|
1711
|
-
static readonly runtime: typeof proto2;
|
|
1712
|
-
static readonly typeName = "livekit.proto.ParticipantsUpdated";
|
|
1713
|
-
static readonly fields: FieldList;
|
|
1714
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): ParticipantsUpdated;
|
|
1715
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): ParticipantsUpdated;
|
|
1716
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): ParticipantsUpdated;
|
|
1717
|
-
static equals(a: ParticipantsUpdated | PlainMessage<ParticipantsUpdated> | undefined, b: ParticipantsUpdated | PlainMessage<ParticipantsUpdated> | undefined): boolean;
|
|
1718
|
-
}
|
|
1719
|
-
/**
|
|
1720
|
-
* @generated from message livekit.proto.ParticipantConnected
|
|
1721
|
-
*/
|
|
1722
|
-
declare class ParticipantConnected extends Message<ParticipantConnected> {
|
|
1723
|
-
/**
|
|
1724
|
-
* @generated from field: required livekit.proto.OwnedParticipant info = 1;
|
|
1725
|
-
*/
|
|
1726
|
-
info?: OwnedParticipant;
|
|
1727
|
-
constructor(data?: PartialMessage<ParticipantConnected>);
|
|
1728
|
-
static readonly runtime: typeof proto2;
|
|
1729
|
-
static readonly typeName = "livekit.proto.ParticipantConnected";
|
|
1730
|
-
static readonly fields: FieldList;
|
|
1731
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): ParticipantConnected;
|
|
1732
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): ParticipantConnected;
|
|
1733
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): ParticipantConnected;
|
|
1734
|
-
static equals(a: ParticipantConnected | PlainMessage<ParticipantConnected> | undefined, b: ParticipantConnected | PlainMessage<ParticipantConnected> | undefined): boolean;
|
|
1735
|
-
}
|
|
1736
|
-
/**
|
|
1737
|
-
* @generated from message livekit.proto.ParticipantDisconnected
|
|
1738
|
-
*/
|
|
1739
|
-
declare class ParticipantDisconnected extends Message<ParticipantDisconnected> {
|
|
1740
|
-
/**
|
|
1741
|
-
* @generated from field: required string participant_identity = 1;
|
|
1742
|
-
*/
|
|
1743
|
-
participantIdentity?: string;
|
|
1744
|
-
/**
|
|
1745
|
-
* @generated from field: required livekit.proto.DisconnectReason disconnect_reason = 2;
|
|
1746
|
-
*/
|
|
1747
|
-
disconnectReason?: DisconnectReason;
|
|
1748
|
-
constructor(data?: PartialMessage<ParticipantDisconnected>);
|
|
1749
|
-
static readonly runtime: typeof proto2;
|
|
1750
|
-
static readonly typeName = "livekit.proto.ParticipantDisconnected";
|
|
1751
|
-
static readonly fields: FieldList;
|
|
1752
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): ParticipantDisconnected;
|
|
1753
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): ParticipantDisconnected;
|
|
1754
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): ParticipantDisconnected;
|
|
1755
|
-
static equals(a: ParticipantDisconnected | PlainMessage<ParticipantDisconnected> | undefined, b: ParticipantDisconnected | PlainMessage<ParticipantDisconnected> | undefined): boolean;
|
|
1756
|
-
}
|
|
1757
|
-
/**
|
|
1758
|
-
* @generated from message livekit.proto.LocalTrackPublished
|
|
1759
|
-
*/
|
|
1760
|
-
declare class LocalTrackPublished extends Message<LocalTrackPublished> {
|
|
1761
|
-
/**
|
|
1762
|
-
* The TrackPublicationInfo comes from the PublishTrack response
|
|
1763
|
-
* and the FfiClient musts wait for it before firing this event
|
|
1764
|
-
*
|
|
1765
|
-
* @generated from field: required string track_sid = 1;
|
|
1766
|
-
*/
|
|
1767
|
-
trackSid?: string;
|
|
1768
|
-
constructor(data?: PartialMessage<LocalTrackPublished>);
|
|
1769
|
-
static readonly runtime: typeof proto2;
|
|
1770
|
-
static readonly typeName = "livekit.proto.LocalTrackPublished";
|
|
1771
|
-
static readonly fields: FieldList;
|
|
1772
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): LocalTrackPublished;
|
|
1773
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): LocalTrackPublished;
|
|
1774
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): LocalTrackPublished;
|
|
1775
|
-
static equals(a: LocalTrackPublished | PlainMessage<LocalTrackPublished> | undefined, b: LocalTrackPublished | PlainMessage<LocalTrackPublished> | undefined): boolean;
|
|
1776
|
-
}
|
|
1777
|
-
/**
|
|
1778
|
-
* @generated from message livekit.proto.LocalTrackUnpublished
|
|
1779
|
-
*/
|
|
1780
|
-
declare class LocalTrackUnpublished extends Message<LocalTrackUnpublished> {
|
|
1781
|
-
/**
|
|
1782
|
-
* @generated from field: required string publication_sid = 1;
|
|
1783
|
-
*/
|
|
1784
|
-
publicationSid?: string;
|
|
1785
|
-
constructor(data?: PartialMessage<LocalTrackUnpublished>);
|
|
1786
|
-
static readonly runtime: typeof proto2;
|
|
1787
|
-
static readonly typeName = "livekit.proto.LocalTrackUnpublished";
|
|
1788
|
-
static readonly fields: FieldList;
|
|
1789
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): LocalTrackUnpublished;
|
|
1790
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): LocalTrackUnpublished;
|
|
1791
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): LocalTrackUnpublished;
|
|
1792
|
-
static equals(a: LocalTrackUnpublished | PlainMessage<LocalTrackUnpublished> | undefined, b: LocalTrackUnpublished | PlainMessage<LocalTrackUnpublished> | undefined): boolean;
|
|
1793
|
-
}
|
|
1794
|
-
/**
|
|
1795
|
-
* @generated from message livekit.proto.LocalTrackSubscribed
|
|
1796
|
-
*/
|
|
1797
|
-
declare class LocalTrackSubscribed extends Message<LocalTrackSubscribed> {
|
|
1798
|
-
/**
|
|
1799
|
-
* @generated from field: required string track_sid = 2;
|
|
1800
|
-
*/
|
|
1801
|
-
trackSid?: string;
|
|
1802
|
-
constructor(data?: PartialMessage<LocalTrackSubscribed>);
|
|
1803
|
-
static readonly runtime: typeof proto2;
|
|
1804
|
-
static readonly typeName = "livekit.proto.LocalTrackSubscribed";
|
|
1805
|
-
static readonly fields: FieldList;
|
|
1806
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): LocalTrackSubscribed;
|
|
1807
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): LocalTrackSubscribed;
|
|
1808
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): LocalTrackSubscribed;
|
|
1809
|
-
static equals(a: LocalTrackSubscribed | PlainMessage<LocalTrackSubscribed> | undefined, b: LocalTrackSubscribed | PlainMessage<LocalTrackSubscribed> | undefined): boolean;
|
|
1810
|
-
}
|
|
1811
|
-
/**
|
|
1812
|
-
* @generated from message livekit.proto.TrackPublished
|
|
1813
|
-
*/
|
|
1814
|
-
declare class TrackPublished extends Message<TrackPublished> {
|
|
1815
|
-
/**
|
|
1816
|
-
* @generated from field: required string participant_identity = 1;
|
|
1817
|
-
*/
|
|
1818
|
-
participantIdentity?: string;
|
|
1819
|
-
/**
|
|
1820
|
-
* @generated from field: required livekit.proto.OwnedTrackPublication publication = 2;
|
|
1821
|
-
*/
|
|
1822
|
-
publication?: OwnedTrackPublication;
|
|
1823
|
-
constructor(data?: PartialMessage<TrackPublished>);
|
|
1824
|
-
static readonly runtime: typeof proto2;
|
|
1825
|
-
static readonly typeName = "livekit.proto.TrackPublished";
|
|
1826
|
-
static readonly fields: FieldList;
|
|
1827
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): TrackPublished;
|
|
1828
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): TrackPublished;
|
|
1829
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): TrackPublished;
|
|
1830
|
-
static equals(a: TrackPublished | PlainMessage<TrackPublished> | undefined, b: TrackPublished | PlainMessage<TrackPublished> | undefined): boolean;
|
|
1831
|
-
}
|
|
1832
|
-
/**
|
|
1833
|
-
* @generated from message livekit.proto.TrackUnpublished
|
|
1834
|
-
*/
|
|
1835
|
-
declare class TrackUnpublished extends Message<TrackUnpublished> {
|
|
1836
|
-
/**
|
|
1837
|
-
* @generated from field: required string participant_identity = 1;
|
|
1838
|
-
*/
|
|
1839
|
-
participantIdentity?: string;
|
|
1840
|
-
/**
|
|
1841
|
-
* @generated from field: required string publication_sid = 2;
|
|
1842
|
-
*/
|
|
1843
|
-
publicationSid?: string;
|
|
1844
|
-
constructor(data?: PartialMessage<TrackUnpublished>);
|
|
1845
|
-
static readonly runtime: typeof proto2;
|
|
1846
|
-
static readonly typeName = "livekit.proto.TrackUnpublished";
|
|
1847
|
-
static readonly fields: FieldList;
|
|
1848
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): TrackUnpublished;
|
|
1849
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): TrackUnpublished;
|
|
1850
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): TrackUnpublished;
|
|
1851
|
-
static equals(a: TrackUnpublished | PlainMessage<TrackUnpublished> | undefined, b: TrackUnpublished | PlainMessage<TrackUnpublished> | undefined): boolean;
|
|
1852
|
-
}
|
|
1853
|
-
/**
|
|
1854
|
-
* Publication isn't needed for subscription events on the FFI
|
|
1855
|
-
* The FFI will retrieve the publication using the Track sid
|
|
1856
|
-
*
|
|
1857
|
-
* @generated from message livekit.proto.TrackSubscribed
|
|
1858
|
-
*/
|
|
1859
|
-
declare class TrackSubscribed extends Message<TrackSubscribed> {
|
|
1860
|
-
/**
|
|
1861
|
-
* @generated from field: required string participant_identity = 1;
|
|
1862
|
-
*/
|
|
1863
|
-
participantIdentity?: string;
|
|
1864
|
-
/**
|
|
1865
|
-
* @generated from field: required livekit.proto.OwnedTrack track = 2;
|
|
1866
|
-
*/
|
|
1867
|
-
track?: OwnedTrack;
|
|
1868
|
-
constructor(data?: PartialMessage<TrackSubscribed>);
|
|
1869
|
-
static readonly runtime: typeof proto2;
|
|
1870
|
-
static readonly typeName = "livekit.proto.TrackSubscribed";
|
|
1871
|
-
static readonly fields: FieldList;
|
|
1872
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): TrackSubscribed;
|
|
1873
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): TrackSubscribed;
|
|
1874
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): TrackSubscribed;
|
|
1875
|
-
static equals(a: TrackSubscribed | PlainMessage<TrackSubscribed> | undefined, b: TrackSubscribed | PlainMessage<TrackSubscribed> | undefined): boolean;
|
|
1876
|
-
}
|
|
1877
|
-
/**
|
|
1878
|
-
* @generated from message livekit.proto.TrackUnsubscribed
|
|
1879
|
-
*/
|
|
1880
|
-
declare class TrackUnsubscribed extends Message<TrackUnsubscribed> {
|
|
1881
|
-
/**
|
|
1882
|
-
* The FFI language can dispose/remove the VideoSink here
|
|
1883
|
-
*
|
|
1884
|
-
* @generated from field: required string participant_identity = 1;
|
|
1885
|
-
*/
|
|
1886
|
-
participantIdentity?: string;
|
|
1887
|
-
/**
|
|
1888
|
-
* @generated from field: required string track_sid = 2;
|
|
1889
|
-
*/
|
|
1890
|
-
trackSid?: string;
|
|
1891
|
-
constructor(data?: PartialMessage<TrackUnsubscribed>);
|
|
1892
|
-
static readonly runtime: typeof proto2;
|
|
1893
|
-
static readonly typeName = "livekit.proto.TrackUnsubscribed";
|
|
1894
|
-
static readonly fields: FieldList;
|
|
1895
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): TrackUnsubscribed;
|
|
1896
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): TrackUnsubscribed;
|
|
1897
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): TrackUnsubscribed;
|
|
1898
|
-
static equals(a: TrackUnsubscribed | PlainMessage<TrackUnsubscribed> | undefined, b: TrackUnsubscribed | PlainMessage<TrackUnsubscribed> | undefined): boolean;
|
|
1899
|
-
}
|
|
1900
|
-
/**
|
|
1901
|
-
* @generated from message livekit.proto.TrackSubscriptionFailed
|
|
1902
|
-
*/
|
|
1903
|
-
declare class TrackSubscriptionFailed extends Message<TrackSubscriptionFailed> {
|
|
1904
|
-
/**
|
|
1905
|
-
* @generated from field: required string participant_identity = 1;
|
|
1906
|
-
*/
|
|
1907
|
-
participantIdentity?: string;
|
|
1908
|
-
/**
|
|
1909
|
-
* @generated from field: required string track_sid = 2;
|
|
1910
|
-
*/
|
|
1911
|
-
trackSid?: string;
|
|
1912
|
-
/**
|
|
1913
|
-
* @generated from field: required string error = 3;
|
|
1914
|
-
*/
|
|
1915
|
-
error?: string;
|
|
1916
|
-
constructor(data?: PartialMessage<TrackSubscriptionFailed>);
|
|
1917
|
-
static readonly runtime: typeof proto2;
|
|
1918
|
-
static readonly typeName = "livekit.proto.TrackSubscriptionFailed";
|
|
1919
|
-
static readonly fields: FieldList;
|
|
1920
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): TrackSubscriptionFailed;
|
|
1921
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): TrackSubscriptionFailed;
|
|
1922
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): TrackSubscriptionFailed;
|
|
1923
|
-
static equals(a: TrackSubscriptionFailed | PlainMessage<TrackSubscriptionFailed> | undefined, b: TrackSubscriptionFailed | PlainMessage<TrackSubscriptionFailed> | undefined): boolean;
|
|
1924
|
-
}
|
|
1925
|
-
/**
|
|
1926
|
-
* @generated from message livekit.proto.TrackMuted
|
|
1927
|
-
*/
|
|
1928
|
-
declare class TrackMuted extends Message<TrackMuted> {
|
|
1929
|
-
/**
|
|
1930
|
-
* @generated from field: required string participant_identity = 1;
|
|
1931
|
-
*/
|
|
1932
|
-
participantIdentity?: string;
|
|
1933
|
-
/**
|
|
1934
|
-
* @generated from field: required string track_sid = 2;
|
|
1935
|
-
*/
|
|
1936
|
-
trackSid?: string;
|
|
1937
|
-
constructor(data?: PartialMessage<TrackMuted>);
|
|
1938
|
-
static readonly runtime: typeof proto2;
|
|
1939
|
-
static readonly typeName = "livekit.proto.TrackMuted";
|
|
1940
|
-
static readonly fields: FieldList;
|
|
1941
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): TrackMuted;
|
|
1942
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): TrackMuted;
|
|
1943
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): TrackMuted;
|
|
1944
|
-
static equals(a: TrackMuted | PlainMessage<TrackMuted> | undefined, b: TrackMuted | PlainMessage<TrackMuted> | undefined): boolean;
|
|
1945
|
-
}
|
|
1946
|
-
/**
|
|
1947
|
-
* @generated from message livekit.proto.TrackUnmuted
|
|
1948
|
-
*/
|
|
1949
|
-
declare class TrackUnmuted extends Message<TrackUnmuted> {
|
|
1950
|
-
/**
|
|
1951
|
-
* @generated from field: required string participant_identity = 1;
|
|
1952
|
-
*/
|
|
1953
|
-
participantIdentity?: string;
|
|
1954
|
-
/**
|
|
1955
|
-
* @generated from field: required string track_sid = 2;
|
|
1956
|
-
*/
|
|
1957
|
-
trackSid?: string;
|
|
1958
|
-
constructor(data?: PartialMessage<TrackUnmuted>);
|
|
1959
|
-
static readonly runtime: typeof proto2;
|
|
1960
|
-
static readonly typeName = "livekit.proto.TrackUnmuted";
|
|
1961
|
-
static readonly fields: FieldList;
|
|
1962
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): TrackUnmuted;
|
|
1963
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): TrackUnmuted;
|
|
1964
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): TrackUnmuted;
|
|
1965
|
-
static equals(a: TrackUnmuted | PlainMessage<TrackUnmuted> | undefined, b: TrackUnmuted | PlainMessage<TrackUnmuted> | undefined): boolean;
|
|
1966
|
-
}
|
|
1967
|
-
/**
|
|
1968
|
-
* @generated from message livekit.proto.E2eeStateChanged
|
|
1969
|
-
*/
|
|
1970
|
-
declare class E2eeStateChanged extends Message<E2eeStateChanged> {
|
|
1971
|
-
/**
|
|
1972
|
-
* Using sid instead of identity for ffi communication
|
|
1973
|
-
*
|
|
1974
|
-
* @generated from field: required string participant_identity = 1;
|
|
1975
|
-
*/
|
|
1976
|
-
participantIdentity?: string;
|
|
1977
|
-
/**
|
|
1978
|
-
* @generated from field: required livekit.proto.EncryptionState state = 2;
|
|
1979
|
-
*/
|
|
1980
|
-
state?: EncryptionState;
|
|
1981
|
-
constructor(data?: PartialMessage<E2eeStateChanged>);
|
|
1982
|
-
static readonly runtime: typeof proto2;
|
|
1983
|
-
static readonly typeName = "livekit.proto.E2eeStateChanged";
|
|
1984
|
-
static readonly fields: FieldList;
|
|
1985
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): E2eeStateChanged;
|
|
1986
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): E2eeStateChanged;
|
|
1987
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): E2eeStateChanged;
|
|
1988
|
-
static equals(a: E2eeStateChanged | PlainMessage<E2eeStateChanged> | undefined, b: E2eeStateChanged | PlainMessage<E2eeStateChanged> | undefined): boolean;
|
|
1989
|
-
}
|
|
1990
|
-
/**
|
|
1991
|
-
* @generated from message livekit.proto.ActiveSpeakersChanged
|
|
1992
|
-
*/
|
|
1993
|
-
declare class ActiveSpeakersChanged extends Message<ActiveSpeakersChanged> {
|
|
1994
|
-
/**
|
|
1995
|
-
* @generated from field: repeated string participant_identities = 1;
|
|
1996
|
-
*/
|
|
1997
|
-
participantIdentities: string[];
|
|
1998
|
-
constructor(data?: PartialMessage<ActiveSpeakersChanged>);
|
|
1999
|
-
static readonly runtime: typeof proto2;
|
|
2000
|
-
static readonly typeName = "livekit.proto.ActiveSpeakersChanged";
|
|
2001
|
-
static readonly fields: FieldList;
|
|
2002
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): ActiveSpeakersChanged;
|
|
2003
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): ActiveSpeakersChanged;
|
|
2004
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): ActiveSpeakersChanged;
|
|
2005
|
-
static equals(a: ActiveSpeakersChanged | PlainMessage<ActiveSpeakersChanged> | undefined, b: ActiveSpeakersChanged | PlainMessage<ActiveSpeakersChanged> | undefined): boolean;
|
|
2006
|
-
}
|
|
2007
|
-
/**
|
|
2008
|
-
* @generated from message livekit.proto.RoomMetadataChanged
|
|
2009
|
-
*/
|
|
2010
|
-
declare class RoomMetadataChanged extends Message<RoomMetadataChanged> {
|
|
2011
|
-
/**
|
|
2012
|
-
* @generated from field: required string metadata = 1;
|
|
2013
|
-
*/
|
|
2014
|
-
metadata?: string;
|
|
2015
|
-
constructor(data?: PartialMessage<RoomMetadataChanged>);
|
|
2016
|
-
static readonly runtime: typeof proto2;
|
|
2017
|
-
static readonly typeName = "livekit.proto.RoomMetadataChanged";
|
|
2018
|
-
static readonly fields: FieldList;
|
|
2019
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): RoomMetadataChanged;
|
|
2020
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): RoomMetadataChanged;
|
|
2021
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): RoomMetadataChanged;
|
|
2022
|
-
static equals(a: RoomMetadataChanged | PlainMessage<RoomMetadataChanged> | undefined, b: RoomMetadataChanged | PlainMessage<RoomMetadataChanged> | undefined): boolean;
|
|
2023
|
-
}
|
|
2024
|
-
/**
|
|
2025
|
-
* @generated from message livekit.proto.RoomSidChanged
|
|
2026
|
-
*/
|
|
2027
|
-
declare class RoomSidChanged extends Message<RoomSidChanged> {
|
|
2028
|
-
/**
|
|
2029
|
-
* @generated from field: required string sid = 1;
|
|
2030
|
-
*/
|
|
2031
|
-
sid?: string;
|
|
2032
|
-
constructor(data?: PartialMessage<RoomSidChanged>);
|
|
2033
|
-
static readonly runtime: typeof proto2;
|
|
2034
|
-
static readonly typeName = "livekit.proto.RoomSidChanged";
|
|
2035
|
-
static readonly fields: FieldList;
|
|
2036
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): RoomSidChanged;
|
|
2037
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): RoomSidChanged;
|
|
2038
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): RoomSidChanged;
|
|
2039
|
-
static equals(a: RoomSidChanged | PlainMessage<RoomSidChanged> | undefined, b: RoomSidChanged | PlainMessage<RoomSidChanged> | undefined): boolean;
|
|
2040
|
-
}
|
|
2041
|
-
/**
|
|
2042
|
-
* @generated from message livekit.proto.ParticipantMetadataChanged
|
|
2043
|
-
*/
|
|
2044
|
-
declare class ParticipantMetadataChanged extends Message<ParticipantMetadataChanged> {
|
|
2045
|
-
/**
|
|
2046
|
-
* @generated from field: required string participant_identity = 1;
|
|
2047
|
-
*/
|
|
2048
|
-
participantIdentity?: string;
|
|
2049
|
-
/**
|
|
2050
|
-
* @generated from field: required string metadata = 2;
|
|
2051
|
-
*/
|
|
2052
|
-
metadata?: string;
|
|
2053
|
-
constructor(data?: PartialMessage<ParticipantMetadataChanged>);
|
|
2054
|
-
static readonly runtime: typeof proto2;
|
|
2055
|
-
static readonly typeName = "livekit.proto.ParticipantMetadataChanged";
|
|
2056
|
-
static readonly fields: FieldList;
|
|
2057
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): ParticipantMetadataChanged;
|
|
2058
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): ParticipantMetadataChanged;
|
|
2059
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): ParticipantMetadataChanged;
|
|
2060
|
-
static equals(a: ParticipantMetadataChanged | PlainMessage<ParticipantMetadataChanged> | undefined, b: ParticipantMetadataChanged | PlainMessage<ParticipantMetadataChanged> | undefined): boolean;
|
|
2061
|
-
}
|
|
2062
|
-
/**
|
|
2063
|
-
* @generated from message livekit.proto.ParticipantAttributesChanged
|
|
2064
|
-
*/
|
|
2065
|
-
declare class ParticipantAttributesChanged extends Message<ParticipantAttributesChanged> {
|
|
2066
|
-
/**
|
|
2067
|
-
* @generated from field: required string participant_identity = 1;
|
|
2068
|
-
*/
|
|
2069
|
-
participantIdentity?: string;
|
|
2070
|
-
/**
|
|
2071
|
-
* @generated from field: repeated livekit.proto.AttributesEntry attributes = 2;
|
|
2072
|
-
*/
|
|
2073
|
-
attributes: AttributesEntry[];
|
|
2074
|
-
/**
|
|
2075
|
-
* @generated from field: repeated livekit.proto.AttributesEntry changed_attributes = 3;
|
|
2076
|
-
*/
|
|
2077
|
-
changedAttributes: AttributesEntry[];
|
|
2078
|
-
constructor(data?: PartialMessage<ParticipantAttributesChanged>);
|
|
2079
|
-
static readonly runtime: typeof proto2;
|
|
2080
|
-
static readonly typeName = "livekit.proto.ParticipantAttributesChanged";
|
|
2081
|
-
static readonly fields: FieldList;
|
|
2082
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): ParticipantAttributesChanged;
|
|
2083
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): ParticipantAttributesChanged;
|
|
2084
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): ParticipantAttributesChanged;
|
|
2085
|
-
static equals(a: ParticipantAttributesChanged | PlainMessage<ParticipantAttributesChanged> | undefined, b: ParticipantAttributesChanged | PlainMessage<ParticipantAttributesChanged> | undefined): boolean;
|
|
2086
|
-
}
|
|
2087
|
-
/**
|
|
2088
|
-
* @generated from message livekit.proto.ParticipantEncryptionStatusChanged
|
|
2089
|
-
*/
|
|
2090
|
-
declare class ParticipantEncryptionStatusChanged extends Message<ParticipantEncryptionStatusChanged> {
|
|
2091
|
-
/**
|
|
2092
|
-
* @generated from field: required string participant_identity = 1;
|
|
2093
|
-
*/
|
|
2094
|
-
participantIdentity?: string;
|
|
2095
|
-
/**
|
|
2096
|
-
* @generated from field: required bool is_encrypted = 2;
|
|
2097
|
-
*/
|
|
2098
|
-
isEncrypted?: boolean;
|
|
2099
|
-
constructor(data?: PartialMessage<ParticipantEncryptionStatusChanged>);
|
|
2100
|
-
static readonly runtime: typeof proto2;
|
|
2101
|
-
static readonly typeName = "livekit.proto.ParticipantEncryptionStatusChanged";
|
|
2102
|
-
static readonly fields: FieldList;
|
|
2103
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): ParticipantEncryptionStatusChanged;
|
|
2104
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): ParticipantEncryptionStatusChanged;
|
|
2105
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): ParticipantEncryptionStatusChanged;
|
|
2106
|
-
static equals(a: ParticipantEncryptionStatusChanged | PlainMessage<ParticipantEncryptionStatusChanged> | undefined, b: ParticipantEncryptionStatusChanged | PlainMessage<ParticipantEncryptionStatusChanged> | undefined): boolean;
|
|
2107
|
-
}
|
|
2108
|
-
/**
|
|
2109
|
-
* @generated from message livekit.proto.ParticipantNameChanged
|
|
2110
|
-
*/
|
|
2111
|
-
declare class ParticipantNameChanged extends Message<ParticipantNameChanged> {
|
|
2112
|
-
/**
|
|
2113
|
-
* @generated from field: required string participant_identity = 1;
|
|
2114
|
-
*/
|
|
2115
|
-
participantIdentity?: string;
|
|
2116
|
-
/**
|
|
2117
|
-
* @generated from field: required string name = 2;
|
|
2118
|
-
*/
|
|
2119
|
-
name?: string;
|
|
2120
|
-
constructor(data?: PartialMessage<ParticipantNameChanged>);
|
|
2121
|
-
static readonly runtime: typeof proto2;
|
|
2122
|
-
static readonly typeName = "livekit.proto.ParticipantNameChanged";
|
|
2123
|
-
static readonly fields: FieldList;
|
|
2124
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): ParticipantNameChanged;
|
|
2125
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): ParticipantNameChanged;
|
|
2126
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): ParticipantNameChanged;
|
|
2127
|
-
static equals(a: ParticipantNameChanged | PlainMessage<ParticipantNameChanged> | undefined, b: ParticipantNameChanged | PlainMessage<ParticipantNameChanged> | undefined): boolean;
|
|
2128
|
-
}
|
|
2129
|
-
/**
|
|
2130
|
-
* @generated from message livekit.proto.ConnectionQualityChanged
|
|
2131
|
-
*/
|
|
2132
|
-
declare class ConnectionQualityChanged extends Message<ConnectionQualityChanged> {
|
|
2133
|
-
/**
|
|
2134
|
-
* @generated from field: required string participant_identity = 1;
|
|
2135
|
-
*/
|
|
2136
|
-
participantIdentity?: string;
|
|
2137
|
-
/**
|
|
2138
|
-
* @generated from field: required livekit.proto.ConnectionQuality quality = 2;
|
|
2139
|
-
*/
|
|
2140
|
-
quality?: ConnectionQuality;
|
|
2141
|
-
constructor(data?: PartialMessage<ConnectionQualityChanged>);
|
|
2142
|
-
static readonly runtime: typeof proto2;
|
|
2143
|
-
static readonly typeName = "livekit.proto.ConnectionQualityChanged";
|
|
2144
|
-
static readonly fields: FieldList;
|
|
2145
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): ConnectionQualityChanged;
|
|
2146
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): ConnectionQualityChanged;
|
|
2147
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): ConnectionQualityChanged;
|
|
2148
|
-
static equals(a: ConnectionQualityChanged | PlainMessage<ConnectionQualityChanged> | undefined, b: ConnectionQualityChanged | PlainMessage<ConnectionQualityChanged> | undefined): boolean;
|
|
2149
|
-
}
|
|
2150
|
-
/**
|
|
2151
|
-
* @generated from message livekit.proto.UserPacket
|
|
2152
|
-
*/
|
|
2153
|
-
declare class UserPacket extends Message<UserPacket> {
|
|
2154
|
-
/**
|
|
2155
|
-
* @generated from field: required livekit.proto.OwnedBuffer data = 1;
|
|
2156
|
-
*/
|
|
2157
|
-
data?: OwnedBuffer;
|
|
2158
|
-
/**
|
|
2159
|
-
* @generated from field: optional string topic = 2;
|
|
2160
|
-
*/
|
|
2161
|
-
topic?: string;
|
|
2162
|
-
constructor(data?: PartialMessage<UserPacket>);
|
|
2163
|
-
static readonly runtime: typeof proto2;
|
|
2164
|
-
static readonly typeName = "livekit.proto.UserPacket";
|
|
2165
|
-
static readonly fields: FieldList;
|
|
2166
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): UserPacket;
|
|
2167
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): UserPacket;
|
|
2168
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): UserPacket;
|
|
2169
|
-
static equals(a: UserPacket | PlainMessage<UserPacket> | undefined, b: UserPacket | PlainMessage<UserPacket> | undefined): boolean;
|
|
2170
|
-
}
|
|
2171
|
-
/**
|
|
2172
|
-
* @generated from message livekit.proto.ChatMessage
|
|
2173
|
-
*/
|
|
2174
|
-
declare class ChatMessage extends Message<ChatMessage> {
|
|
2175
|
-
/**
|
|
2176
|
-
* @generated from field: required string id = 1;
|
|
2177
|
-
*/
|
|
2178
|
-
id?: string;
|
|
2179
|
-
/**
|
|
2180
|
-
* @generated from field: required int64 timestamp = 2;
|
|
2181
|
-
*/
|
|
2182
|
-
timestamp?: bigint;
|
|
2183
|
-
/**
|
|
2184
|
-
* @generated from field: required string message = 3;
|
|
2185
|
-
*/
|
|
2186
|
-
message?: string;
|
|
2187
|
-
/**
|
|
2188
|
-
* @generated from field: optional int64 edit_timestamp = 4;
|
|
2189
|
-
*/
|
|
2190
|
-
editTimestamp?: bigint;
|
|
2191
|
-
/**
|
|
2192
|
-
* @generated from field: optional bool deleted = 5;
|
|
2193
|
-
*/
|
|
2194
|
-
deleted?: boolean;
|
|
2195
|
-
/**
|
|
2196
|
-
* @generated from field: optional bool generated = 6;
|
|
2197
|
-
*/
|
|
2198
|
-
generated?: boolean;
|
|
2199
|
-
constructor(data?: PartialMessage<ChatMessage>);
|
|
2200
|
-
static readonly runtime: typeof proto2;
|
|
2201
|
-
static readonly typeName = "livekit.proto.ChatMessage";
|
|
2202
|
-
static readonly fields: FieldList;
|
|
2203
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): ChatMessage;
|
|
2204
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): ChatMessage;
|
|
2205
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): ChatMessage;
|
|
2206
|
-
static equals(a: ChatMessage | PlainMessage<ChatMessage> | undefined, b: ChatMessage | PlainMessage<ChatMessage> | undefined): boolean;
|
|
2207
|
-
}
|
|
2208
|
-
/**
|
|
2209
|
-
* @generated from message livekit.proto.ChatMessageReceived
|
|
2210
|
-
*/
|
|
2211
|
-
declare class ChatMessageReceived extends Message<ChatMessageReceived> {
|
|
2212
|
-
/**
|
|
2213
|
-
* @generated from field: required livekit.proto.ChatMessage message = 1;
|
|
2214
|
-
*/
|
|
2215
|
-
message?: ChatMessage;
|
|
2216
|
-
/**
|
|
2217
|
-
* @generated from field: required string participant_identity = 2;
|
|
2218
|
-
*/
|
|
2219
|
-
participantIdentity?: string;
|
|
2220
|
-
constructor(data?: PartialMessage<ChatMessageReceived>);
|
|
2221
|
-
static readonly runtime: typeof proto2;
|
|
2222
|
-
static readonly typeName = "livekit.proto.ChatMessageReceived";
|
|
2223
|
-
static readonly fields: FieldList;
|
|
2224
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): ChatMessageReceived;
|
|
2225
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): ChatMessageReceived;
|
|
2226
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): ChatMessageReceived;
|
|
2227
|
-
static equals(a: ChatMessageReceived | PlainMessage<ChatMessageReceived> | undefined, b: ChatMessageReceived | PlainMessage<ChatMessageReceived> | undefined): boolean;
|
|
2228
|
-
}
|
|
2229
|
-
/**
|
|
2230
|
-
* @generated from message livekit.proto.SipDTMF
|
|
2231
|
-
*/
|
|
2232
|
-
declare class SipDTMF extends Message<SipDTMF> {
|
|
2233
|
-
/**
|
|
2234
|
-
* @generated from field: required uint32 code = 1;
|
|
2235
|
-
*/
|
|
2236
|
-
code?: number;
|
|
2237
|
-
/**
|
|
2238
|
-
* @generated from field: optional string digit = 2;
|
|
2239
|
-
*/
|
|
2240
|
-
digit?: string;
|
|
2241
|
-
constructor(data?: PartialMessage<SipDTMF>);
|
|
2242
|
-
static readonly runtime: typeof proto2;
|
|
2243
|
-
static readonly typeName = "livekit.proto.SipDTMF";
|
|
2244
|
-
static readonly fields: FieldList;
|
|
2245
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): SipDTMF;
|
|
2246
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): SipDTMF;
|
|
2247
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): SipDTMF;
|
|
2248
|
-
static equals(a: SipDTMF | PlainMessage<SipDTMF> | undefined, b: SipDTMF | PlainMessage<SipDTMF> | undefined): boolean;
|
|
2249
|
-
}
|
|
2250
|
-
/**
|
|
2251
|
-
* @generated from message livekit.proto.DataPacketReceived
|
|
2252
|
-
*/
|
|
2253
|
-
declare class DataPacketReceived extends Message<DataPacketReceived> {
|
|
2254
|
-
/**
|
|
2255
|
-
* @generated from field: required livekit.proto.DataPacketKind kind = 1;
|
|
2256
|
-
*/
|
|
2257
|
-
kind?: DataPacketKind;
|
|
2258
|
-
/**
|
|
2259
|
-
* Can be empty if the data is sent a server SDK
|
|
2260
|
-
*
|
|
2261
|
-
* @generated from field: required string participant_identity = 2;
|
|
2262
|
-
*/
|
|
2263
|
-
participantIdentity?: string;
|
|
2264
|
-
/**
|
|
2265
|
-
* @generated from oneof livekit.proto.DataPacketReceived.value
|
|
2266
|
-
*/
|
|
2267
|
-
value: {
|
|
2268
|
-
/**
|
|
2269
|
-
* @generated from field: livekit.proto.UserPacket user = 4;
|
|
2270
|
-
*/
|
|
2271
|
-
value: UserPacket;
|
|
2272
|
-
case: "user";
|
|
2273
|
-
} | {
|
|
2274
|
-
/**
|
|
2275
|
-
* @generated from field: livekit.proto.SipDTMF sip_dtmf = 5;
|
|
2276
|
-
*/
|
|
2277
|
-
value: SipDTMF;
|
|
2278
|
-
case: "sipDtmf";
|
|
2279
|
-
} | {
|
|
2280
|
-
case: undefined;
|
|
2281
|
-
value?: undefined;
|
|
2282
|
-
};
|
|
2283
|
-
constructor(data?: PartialMessage<DataPacketReceived>);
|
|
2284
|
-
static readonly runtime: typeof proto2;
|
|
2285
|
-
static readonly typeName = "livekit.proto.DataPacketReceived";
|
|
2286
|
-
static readonly fields: FieldList;
|
|
2287
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): DataPacketReceived;
|
|
2288
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): DataPacketReceived;
|
|
2289
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): DataPacketReceived;
|
|
2290
|
-
static equals(a: DataPacketReceived | PlainMessage<DataPacketReceived> | undefined, b: DataPacketReceived | PlainMessage<DataPacketReceived> | undefined): boolean;
|
|
2291
|
-
}
|
|
2292
|
-
/**
|
|
2293
|
-
* @generated from message livekit.proto.TranscriptionReceived
|
|
2294
|
-
*/
|
|
2295
|
-
declare class TranscriptionReceived extends Message<TranscriptionReceived> {
|
|
2296
|
-
/**
|
|
2297
|
-
* @generated from field: optional string participant_identity = 1;
|
|
2298
|
-
*/
|
|
2299
|
-
participantIdentity?: string;
|
|
2300
|
-
/**
|
|
2301
|
-
* @generated from field: optional string track_sid = 2;
|
|
2302
|
-
*/
|
|
2303
|
-
trackSid?: string;
|
|
2304
|
-
/**
|
|
2305
|
-
* @generated from field: repeated livekit.proto.TranscriptionSegment segments = 3;
|
|
2306
|
-
*/
|
|
2307
|
-
segments: TranscriptionSegment[];
|
|
2308
|
-
constructor(data?: PartialMessage<TranscriptionReceived>);
|
|
2309
|
-
static readonly runtime: typeof proto2;
|
|
2310
|
-
static readonly typeName = "livekit.proto.TranscriptionReceived";
|
|
2311
|
-
static readonly fields: FieldList;
|
|
2312
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): TranscriptionReceived;
|
|
2313
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): TranscriptionReceived;
|
|
2314
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): TranscriptionReceived;
|
|
2315
|
-
static equals(a: TranscriptionReceived | PlainMessage<TranscriptionReceived> | undefined, b: TranscriptionReceived | PlainMessage<TranscriptionReceived> | undefined): boolean;
|
|
2316
|
-
}
|
|
2317
|
-
/**
|
|
2318
|
-
* @generated from message livekit.proto.ConnectionStateChanged
|
|
2319
|
-
*/
|
|
2320
|
-
declare class ConnectionStateChanged extends Message<ConnectionStateChanged> {
|
|
2321
|
-
/**
|
|
2322
|
-
* @generated from field: required livekit.proto.ConnectionState state = 1;
|
|
2323
|
-
*/
|
|
2324
|
-
state?: ConnectionState;
|
|
2325
|
-
constructor(data?: PartialMessage<ConnectionStateChanged>);
|
|
2326
|
-
static readonly runtime: typeof proto2;
|
|
2327
|
-
static readonly typeName = "livekit.proto.ConnectionStateChanged";
|
|
2328
|
-
static readonly fields: FieldList;
|
|
2329
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): ConnectionStateChanged;
|
|
2330
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): ConnectionStateChanged;
|
|
2331
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): ConnectionStateChanged;
|
|
2332
|
-
static equals(a: ConnectionStateChanged | PlainMessage<ConnectionStateChanged> | undefined, b: ConnectionStateChanged | PlainMessage<ConnectionStateChanged> | undefined): boolean;
|
|
2333
|
-
}
|
|
2334
|
-
/**
|
|
2335
|
-
* @generated from message livekit.proto.Connected
|
|
2336
|
-
*/
|
|
2337
|
-
declare class Connected extends Message<Connected> {
|
|
2338
|
-
constructor(data?: PartialMessage<Connected>);
|
|
2339
|
-
static readonly runtime: typeof proto2;
|
|
2340
|
-
static readonly typeName = "livekit.proto.Connected";
|
|
2341
|
-
static readonly fields: FieldList;
|
|
2342
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): Connected;
|
|
2343
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): Connected;
|
|
2344
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): Connected;
|
|
2345
|
-
static equals(a: Connected | PlainMessage<Connected> | undefined, b: Connected | PlainMessage<Connected> | undefined): boolean;
|
|
2346
|
-
}
|
|
2347
|
-
/**
|
|
2348
|
-
* @generated from message livekit.proto.Disconnected
|
|
2349
|
-
*/
|
|
2350
|
-
declare class Disconnected extends Message<Disconnected> {
|
|
2351
|
-
/**
|
|
2352
|
-
* @generated from field: required livekit.proto.DisconnectReason reason = 1;
|
|
2353
|
-
*/
|
|
2354
|
-
reason?: DisconnectReason;
|
|
2355
|
-
constructor(data?: PartialMessage<Disconnected>);
|
|
2356
|
-
static readonly runtime: typeof proto2;
|
|
2357
|
-
static readonly typeName = "livekit.proto.Disconnected";
|
|
2358
|
-
static readonly fields: FieldList;
|
|
2359
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): Disconnected;
|
|
2360
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): Disconnected;
|
|
2361
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): Disconnected;
|
|
2362
|
-
static equals(a: Disconnected | PlainMessage<Disconnected> | undefined, b: Disconnected | PlainMessage<Disconnected> | undefined): boolean;
|
|
2363
|
-
}
|
|
2364
|
-
/**
|
|
2365
|
-
* @generated from message livekit.proto.Reconnecting
|
|
2366
|
-
*/
|
|
2367
|
-
declare class Reconnecting extends Message<Reconnecting> {
|
|
2368
|
-
constructor(data?: PartialMessage<Reconnecting>);
|
|
2369
|
-
static readonly runtime: typeof proto2;
|
|
2370
|
-
static readonly typeName = "livekit.proto.Reconnecting";
|
|
2371
|
-
static readonly fields: FieldList;
|
|
2372
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): Reconnecting;
|
|
2373
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): Reconnecting;
|
|
2374
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): Reconnecting;
|
|
2375
|
-
static equals(a: Reconnecting | PlainMessage<Reconnecting> | undefined, b: Reconnecting | PlainMessage<Reconnecting> | undefined): boolean;
|
|
2376
|
-
}
|
|
2377
|
-
/**
|
|
2378
|
-
* @generated from message livekit.proto.Reconnected
|
|
2379
|
-
*/
|
|
2380
|
-
declare class Reconnected extends Message<Reconnected> {
|
|
2381
|
-
constructor(data?: PartialMessage<Reconnected>);
|
|
2382
|
-
static readonly runtime: typeof proto2;
|
|
2383
|
-
static readonly typeName = "livekit.proto.Reconnected";
|
|
2384
|
-
static readonly fields: FieldList;
|
|
2385
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): Reconnected;
|
|
2386
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): Reconnected;
|
|
2387
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): Reconnected;
|
|
2388
|
-
static equals(a: Reconnected | PlainMessage<Reconnected> | undefined, b: Reconnected | PlainMessage<Reconnected> | undefined): boolean;
|
|
2389
|
-
}
|
|
2390
|
-
/**
|
|
2391
|
-
* @generated from message livekit.proto.TokenRefreshed
|
|
2392
|
-
*/
|
|
2393
|
-
declare class TokenRefreshed extends Message<TokenRefreshed> {
|
|
2394
|
-
/**
|
|
2395
|
-
* @generated from field: required string token = 1;
|
|
2396
|
-
*/
|
|
2397
|
-
token?: string;
|
|
2398
|
-
constructor(data?: PartialMessage<TokenRefreshed>);
|
|
2399
|
-
static readonly runtime: typeof proto2;
|
|
2400
|
-
static readonly typeName = "livekit.proto.TokenRefreshed";
|
|
2401
|
-
static readonly fields: FieldList;
|
|
2402
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): TokenRefreshed;
|
|
2403
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): TokenRefreshed;
|
|
2404
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): TokenRefreshed;
|
|
2405
|
-
static equals(a: TokenRefreshed | PlainMessage<TokenRefreshed> | undefined, b: TokenRefreshed | PlainMessage<TokenRefreshed> | undefined): boolean;
|
|
2406
|
-
}
|
|
2407
|
-
/**
|
|
2408
|
-
* @generated from message livekit.proto.RoomEOS
|
|
2409
|
-
*/
|
|
2410
|
-
declare class RoomEOS extends Message<RoomEOS> {
|
|
2411
|
-
constructor(data?: PartialMessage<RoomEOS>);
|
|
2412
|
-
static readonly runtime: typeof proto2;
|
|
2413
|
-
static readonly typeName = "livekit.proto.RoomEOS";
|
|
2414
|
-
static readonly fields: FieldList;
|
|
2415
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): RoomEOS;
|
|
2416
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): RoomEOS;
|
|
2417
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): RoomEOS;
|
|
2418
|
-
static equals(a: RoomEOS | PlainMessage<RoomEOS> | undefined, b: RoomEOS | PlainMessage<RoomEOS> | undefined): boolean;
|
|
2419
|
-
}
|
|
2420
|
-
/**
|
|
2421
|
-
* @generated from message livekit.proto.DataStream
|
|
2422
|
-
*/
|
|
2423
|
-
declare class DataStream extends Message<DataStream> {
|
|
2424
|
-
constructor(data?: PartialMessage<DataStream>);
|
|
2425
|
-
static readonly runtime: typeof proto2;
|
|
2426
|
-
static readonly typeName = "livekit.proto.DataStream";
|
|
2427
|
-
static readonly fields: FieldList;
|
|
2428
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): DataStream;
|
|
2429
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): DataStream;
|
|
2430
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): DataStream;
|
|
2431
|
-
static equals(a: DataStream | PlainMessage<DataStream> | undefined, b: DataStream | PlainMessage<DataStream> | undefined): boolean;
|
|
2432
|
-
}
|
|
2433
|
-
/**
|
|
2434
|
-
* enum for operation types (specific to TextHeader)
|
|
2435
|
-
*
|
|
2436
|
-
* @generated from enum livekit.proto.DataStream.OperationType
|
|
2437
|
-
*/
|
|
2438
|
-
declare enum DataStream_OperationType {
|
|
2439
|
-
/**
|
|
2440
|
-
* @generated from enum value: CREATE = 0;
|
|
2441
|
-
*/
|
|
2442
|
-
CREATE = 0,
|
|
2443
|
-
/**
|
|
2444
|
-
* @generated from enum value: UPDATE = 1;
|
|
2445
|
-
*/
|
|
2446
|
-
UPDATE = 1,
|
|
2447
|
-
/**
|
|
2448
|
-
* @generated from enum value: DELETE = 2;
|
|
2449
|
-
*/
|
|
2450
|
-
DELETE = 2,
|
|
2451
|
-
/**
|
|
2452
|
-
* @generated from enum value: REACTION = 3;
|
|
2453
|
-
*/
|
|
2454
|
-
REACTION = 3
|
|
2455
|
-
}
|
|
2456
|
-
/**
|
|
2457
|
-
* header properties specific to text streams
|
|
2458
|
-
*
|
|
2459
|
-
* @generated from message livekit.proto.DataStream.TextHeader
|
|
2460
|
-
*/
|
|
2461
|
-
declare class DataStream_TextHeader extends Message<DataStream_TextHeader> {
|
|
2462
|
-
/**
|
|
2463
|
-
* @generated from field: required livekit.proto.DataStream.OperationType operation_type = 1;
|
|
2464
|
-
*/
|
|
2465
|
-
operationType?: DataStream_OperationType;
|
|
2466
|
-
/**
|
|
2467
|
-
* Optional: Version for updates/edits
|
|
2468
|
-
*
|
|
2469
|
-
* @generated from field: optional int32 version = 2;
|
|
2470
|
-
*/
|
|
2471
|
-
version?: number;
|
|
2472
|
-
/**
|
|
2473
|
-
* Optional: Reply to specific message
|
|
2474
|
-
*
|
|
2475
|
-
* @generated from field: optional string reply_to_stream_id = 3;
|
|
2476
|
-
*/
|
|
2477
|
-
replyToStreamId?: string;
|
|
2478
|
-
/**
|
|
2479
|
-
* file attachments for text streams
|
|
2480
|
-
*
|
|
2481
|
-
* @generated from field: repeated string attached_stream_ids = 4;
|
|
2482
|
-
*/
|
|
2483
|
-
attachedStreamIds: string[];
|
|
2484
|
-
/**
|
|
2485
|
-
* true if the text has been generated by an agent from a participant's audio transcription
|
|
2486
|
-
*
|
|
2487
|
-
* @generated from field: optional bool generated = 5;
|
|
2488
|
-
*/
|
|
2489
|
-
generated?: boolean;
|
|
2490
|
-
constructor(data?: PartialMessage<DataStream_TextHeader>);
|
|
2491
|
-
static readonly runtime: typeof proto2;
|
|
2492
|
-
static readonly typeName = "livekit.proto.DataStream.TextHeader";
|
|
2493
|
-
static readonly fields: FieldList;
|
|
2494
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): DataStream_TextHeader;
|
|
2495
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): DataStream_TextHeader;
|
|
2496
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): DataStream_TextHeader;
|
|
2497
|
-
static equals(a: DataStream_TextHeader | PlainMessage<DataStream_TextHeader> | undefined, b: DataStream_TextHeader | PlainMessage<DataStream_TextHeader> | undefined): boolean;
|
|
2498
|
-
}
|
|
2499
|
-
/**
|
|
2500
|
-
* header properties specific to byte or file streams
|
|
2501
|
-
*
|
|
2502
|
-
* @generated from message livekit.proto.DataStream.ByteHeader
|
|
2503
|
-
*/
|
|
2504
|
-
declare class DataStream_ByteHeader extends Message<DataStream_ByteHeader> {
|
|
2505
|
-
/**
|
|
2506
|
-
* @generated from field: required string name = 1;
|
|
2507
|
-
*/
|
|
2508
|
-
name?: string;
|
|
2509
|
-
constructor(data?: PartialMessage<DataStream_ByteHeader>);
|
|
2510
|
-
static readonly runtime: typeof proto2;
|
|
2511
|
-
static readonly typeName = "livekit.proto.DataStream.ByteHeader";
|
|
2512
|
-
static readonly fields: FieldList;
|
|
2513
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): DataStream_ByteHeader;
|
|
2514
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): DataStream_ByteHeader;
|
|
2515
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): DataStream_ByteHeader;
|
|
2516
|
-
static equals(a: DataStream_ByteHeader | PlainMessage<DataStream_ByteHeader> | undefined, b: DataStream_ByteHeader | PlainMessage<DataStream_ByteHeader> | undefined): boolean;
|
|
2517
|
-
}
|
|
2518
|
-
/**
|
|
2519
|
-
* main DataStream.Header that contains a oneof for specific headers
|
|
2520
|
-
*
|
|
2521
|
-
* @generated from message livekit.proto.DataStream.Header
|
|
2522
|
-
*/
|
|
2523
|
-
declare class DataStream_Header extends Message<DataStream_Header> {
|
|
2524
|
-
/**
|
|
2525
|
-
* unique identifier for this data stream
|
|
2526
|
-
*
|
|
2527
|
-
* @generated from field: required string stream_id = 1;
|
|
2528
|
-
*/
|
|
2529
|
-
streamId?: string;
|
|
2530
|
-
/**
|
|
2531
|
-
* using int64 for Unix timestamp
|
|
2532
|
-
*
|
|
2533
|
-
* @generated from field: required int64 timestamp = 2;
|
|
2534
|
-
*/
|
|
2535
|
-
timestamp?: bigint;
|
|
2536
|
-
/**
|
|
2537
|
-
* @generated from field: required string mime_type = 3;
|
|
2538
|
-
*/
|
|
2539
|
-
mimeType?: string;
|
|
2540
|
-
/**
|
|
2541
|
-
* @generated from field: required string topic = 4;
|
|
2542
|
-
*/
|
|
2543
|
-
topic?: string;
|
|
2544
|
-
/**
|
|
2545
|
-
* only populated for finite streams, if it's a stream of unknown size this stays empty
|
|
2546
|
-
*
|
|
2547
|
-
* @generated from field: optional uint64 total_length = 5;
|
|
2548
|
-
*/
|
|
2549
|
-
totalLength?: bigint;
|
|
2550
|
-
/**
|
|
2551
|
-
* user defined attributes map that can carry additional info
|
|
2552
|
-
*
|
|
2553
|
-
* @generated from field: map<string, string> attributes = 6;
|
|
2554
|
-
*/
|
|
2555
|
-
attributes: {
|
|
2556
|
-
[key: string]: string;
|
|
2557
|
-
};
|
|
2558
|
-
/**
|
|
2559
|
-
* oneof to choose between specific header types
|
|
2560
|
-
*
|
|
2561
|
-
* @generated from oneof livekit.proto.DataStream.Header.content_header
|
|
2562
|
-
*/
|
|
2563
|
-
contentHeader: {
|
|
2564
|
-
/**
|
|
2565
|
-
* @generated from field: livekit.proto.DataStream.TextHeader text_header = 7;
|
|
2566
|
-
*/
|
|
2567
|
-
value: DataStream_TextHeader;
|
|
2568
|
-
case: "textHeader";
|
|
2569
|
-
} | {
|
|
2570
|
-
/**
|
|
2571
|
-
* @generated from field: livekit.proto.DataStream.ByteHeader byte_header = 8;
|
|
2572
|
-
*/
|
|
2573
|
-
value: DataStream_ByteHeader;
|
|
2574
|
-
case: "byteHeader";
|
|
2575
|
-
} | {
|
|
2576
|
-
case: undefined;
|
|
2577
|
-
value?: undefined;
|
|
2578
|
-
};
|
|
2579
|
-
constructor(data?: PartialMessage<DataStream_Header>);
|
|
2580
|
-
static readonly runtime: typeof proto2;
|
|
2581
|
-
static readonly typeName = "livekit.proto.DataStream.Header";
|
|
2582
|
-
static readonly fields: FieldList;
|
|
2583
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): DataStream_Header;
|
|
2584
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): DataStream_Header;
|
|
2585
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): DataStream_Header;
|
|
2586
|
-
static equals(a: DataStream_Header | PlainMessage<DataStream_Header> | undefined, b: DataStream_Header | PlainMessage<DataStream_Header> | undefined): boolean;
|
|
2587
|
-
}
|
|
2588
|
-
/**
|
|
2589
|
-
* @generated from message livekit.proto.DataStream.Chunk
|
|
2590
|
-
*/
|
|
2591
|
-
declare class DataStream_Chunk extends Message<DataStream_Chunk> {
|
|
2592
|
-
/**
|
|
2593
|
-
* unique identifier for this data stream to map it to the correct header
|
|
2594
|
-
*
|
|
2595
|
-
* @generated from field: required string stream_id = 1;
|
|
2596
|
-
*/
|
|
2597
|
-
streamId?: string;
|
|
2598
|
-
/**
|
|
2599
|
-
* @generated from field: required uint64 chunk_index = 2;
|
|
2600
|
-
*/
|
|
2601
|
-
chunkIndex?: bigint;
|
|
2602
|
-
/**
|
|
2603
|
-
* content as binary (bytes)
|
|
2604
|
-
*
|
|
2605
|
-
* @generated from field: required bytes content = 3;
|
|
2606
|
-
*/
|
|
2607
|
-
content?: Uint8Array;
|
|
2608
|
-
/**
|
|
2609
|
-
* a version indicating that this chunk_index has been retroactively modified and the original one needs to be replaced
|
|
2610
|
-
*
|
|
2611
|
-
* @generated from field: optional int32 version = 4;
|
|
2612
|
-
*/
|
|
2613
|
-
version?: number;
|
|
2614
|
-
/**
|
|
2615
|
-
* optional, initialization vector for AES-GCM encryption
|
|
2616
|
-
*
|
|
2617
|
-
* @generated from field: optional bytes iv = 5;
|
|
2618
|
-
*/
|
|
2619
|
-
iv?: Uint8Array;
|
|
2620
|
-
constructor(data?: PartialMessage<DataStream_Chunk>);
|
|
2621
|
-
static readonly runtime: typeof proto2;
|
|
2622
|
-
static readonly typeName = "livekit.proto.DataStream.Chunk";
|
|
2623
|
-
static readonly fields: FieldList;
|
|
2624
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): DataStream_Chunk;
|
|
2625
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): DataStream_Chunk;
|
|
2626
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): DataStream_Chunk;
|
|
2627
|
-
static equals(a: DataStream_Chunk | PlainMessage<DataStream_Chunk> | undefined, b: DataStream_Chunk | PlainMessage<DataStream_Chunk> | undefined): boolean;
|
|
2628
|
-
}
|
|
2629
|
-
/**
|
|
2630
|
-
* @generated from message livekit.proto.DataStream.Trailer
|
|
2631
|
-
*/
|
|
2632
|
-
declare class DataStream_Trailer extends Message<DataStream_Trailer> {
|
|
2633
|
-
/**
|
|
2634
|
-
* unique identifier for this data stream
|
|
2635
|
-
*
|
|
2636
|
-
* @generated from field: required string stream_id = 1;
|
|
2637
|
-
*/
|
|
2638
|
-
streamId?: string;
|
|
2639
|
-
/**
|
|
2640
|
-
* reason why the stream was closed (could contain "error" / "interrupted" / empty for expected end)
|
|
2641
|
-
*
|
|
2642
|
-
* @generated from field: required string reason = 2;
|
|
2643
|
-
*/
|
|
2644
|
-
reason?: string;
|
|
2645
|
-
/**
|
|
2646
|
-
* finalizing updates for the stream, can also include additional insights for errors or endTime for transcription
|
|
2647
|
-
*
|
|
2648
|
-
* @generated from field: map<string, string> attributes = 3;
|
|
2649
|
-
*/
|
|
2650
|
-
attributes: {
|
|
2651
|
-
[key: string]: string;
|
|
2652
|
-
};
|
|
2653
|
-
constructor(data?: PartialMessage<DataStream_Trailer>);
|
|
2654
|
-
static readonly runtime: typeof proto2;
|
|
2655
|
-
static readonly typeName = "livekit.proto.DataStream.Trailer";
|
|
2656
|
-
static readonly fields: FieldList;
|
|
2657
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): DataStream_Trailer;
|
|
2658
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): DataStream_Trailer;
|
|
2659
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): DataStream_Trailer;
|
|
2660
|
-
static equals(a: DataStream_Trailer | PlainMessage<DataStream_Trailer> | undefined, b: DataStream_Trailer | PlainMessage<DataStream_Trailer> | undefined): boolean;
|
|
2661
|
-
}
|
|
2662
|
-
/**
|
|
2663
|
-
* @generated from message livekit.proto.DataStreamHeaderReceived
|
|
2664
|
-
*/
|
|
2665
|
-
declare class DataStreamHeaderReceived extends Message<DataStreamHeaderReceived> {
|
|
2666
|
-
/**
|
|
2667
|
-
* @generated from field: required string participant_identity = 1;
|
|
2668
|
-
*/
|
|
2669
|
-
participantIdentity?: string;
|
|
2670
|
-
/**
|
|
2671
|
-
* @generated from field: required livekit.proto.DataStream.Header header = 2;
|
|
2672
|
-
*/
|
|
2673
|
-
header?: DataStream_Header;
|
|
2674
|
-
constructor(data?: PartialMessage<DataStreamHeaderReceived>);
|
|
2675
|
-
static readonly runtime: typeof proto2;
|
|
2676
|
-
static readonly typeName = "livekit.proto.DataStreamHeaderReceived";
|
|
2677
|
-
static readonly fields: FieldList;
|
|
2678
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): DataStreamHeaderReceived;
|
|
2679
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): DataStreamHeaderReceived;
|
|
2680
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): DataStreamHeaderReceived;
|
|
2681
|
-
static equals(a: DataStreamHeaderReceived | PlainMessage<DataStreamHeaderReceived> | undefined, b: DataStreamHeaderReceived | PlainMessage<DataStreamHeaderReceived> | undefined): boolean;
|
|
2682
|
-
}
|
|
2683
|
-
/**
|
|
2684
|
-
* @generated from message livekit.proto.DataStreamChunkReceived
|
|
2685
|
-
*/
|
|
2686
|
-
declare class DataStreamChunkReceived extends Message<DataStreamChunkReceived> {
|
|
2687
|
-
/**
|
|
2688
|
-
* @generated from field: required string participant_identity = 1;
|
|
2689
|
-
*/
|
|
2690
|
-
participantIdentity?: string;
|
|
2691
|
-
/**
|
|
2692
|
-
* @generated from field: required livekit.proto.DataStream.Chunk chunk = 2;
|
|
2693
|
-
*/
|
|
2694
|
-
chunk?: DataStream_Chunk;
|
|
2695
|
-
constructor(data?: PartialMessage<DataStreamChunkReceived>);
|
|
2696
|
-
static readonly runtime: typeof proto2;
|
|
2697
|
-
static readonly typeName = "livekit.proto.DataStreamChunkReceived";
|
|
2698
|
-
static readonly fields: FieldList;
|
|
2699
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): DataStreamChunkReceived;
|
|
2700
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): DataStreamChunkReceived;
|
|
2701
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): DataStreamChunkReceived;
|
|
2702
|
-
static equals(a: DataStreamChunkReceived | PlainMessage<DataStreamChunkReceived> | undefined, b: DataStreamChunkReceived | PlainMessage<DataStreamChunkReceived> | undefined): boolean;
|
|
2703
|
-
}
|
|
2704
|
-
/**
|
|
2705
|
-
* @generated from message livekit.proto.DataStreamTrailerReceived
|
|
2706
|
-
*/
|
|
2707
|
-
declare class DataStreamTrailerReceived extends Message<DataStreamTrailerReceived> {
|
|
2708
|
-
/**
|
|
2709
|
-
* @generated from field: required string participant_identity = 1;
|
|
2710
|
-
*/
|
|
2711
|
-
participantIdentity?: string;
|
|
2712
|
-
/**
|
|
2713
|
-
* @generated from field: required livekit.proto.DataStream.Trailer trailer = 2;
|
|
2714
|
-
*/
|
|
2715
|
-
trailer?: DataStream_Trailer;
|
|
2716
|
-
constructor(data?: PartialMessage<DataStreamTrailerReceived>);
|
|
2717
|
-
static readonly runtime: typeof proto2;
|
|
2718
|
-
static readonly typeName = "livekit.proto.DataStreamTrailerReceived";
|
|
2719
|
-
static readonly fields: FieldList;
|
|
2720
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): DataStreamTrailerReceived;
|
|
2721
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): DataStreamTrailerReceived;
|
|
2722
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): DataStreamTrailerReceived;
|
|
2723
|
-
static equals(a: DataStreamTrailerReceived | PlainMessage<DataStreamTrailerReceived> | undefined, b: DataStreamTrailerReceived | PlainMessage<DataStreamTrailerReceived> | undefined): boolean;
|
|
2724
|
-
}
|
|
2725
|
-
/**
|
|
2726
|
-
* @generated from message livekit.proto.SendStreamHeaderRequest
|
|
2727
|
-
*/
|
|
2728
|
-
declare class SendStreamHeaderRequest extends Message<SendStreamHeaderRequest> {
|
|
2729
|
-
/**
|
|
2730
|
-
* @generated from field: required uint64 local_participant_handle = 1;
|
|
2731
|
-
*/
|
|
2732
|
-
localParticipantHandle?: bigint;
|
|
2733
|
-
/**
|
|
2734
|
-
* @generated from field: required livekit.proto.DataStream.Header header = 2;
|
|
2735
|
-
*/
|
|
2736
|
-
header?: DataStream_Header;
|
|
2737
|
-
/**
|
|
2738
|
-
* @generated from field: repeated string destination_identities = 3;
|
|
2739
|
-
*/
|
|
2740
|
-
destinationIdentities: string[];
|
|
2741
|
-
/**
|
|
2742
|
-
* @generated from field: required string sender_identity = 4;
|
|
2743
|
-
*/
|
|
2744
|
-
senderIdentity?: string;
|
|
2745
|
-
constructor(data?: PartialMessage<SendStreamHeaderRequest>);
|
|
2746
|
-
static readonly runtime: typeof proto2;
|
|
2747
|
-
static readonly typeName = "livekit.proto.SendStreamHeaderRequest";
|
|
2748
|
-
static readonly fields: FieldList;
|
|
2749
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): SendStreamHeaderRequest;
|
|
2750
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): SendStreamHeaderRequest;
|
|
2751
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): SendStreamHeaderRequest;
|
|
2752
|
-
static equals(a: SendStreamHeaderRequest | PlainMessage<SendStreamHeaderRequest> | undefined, b: SendStreamHeaderRequest | PlainMessage<SendStreamHeaderRequest> | undefined): boolean;
|
|
2753
|
-
}
|
|
2754
|
-
/**
|
|
2755
|
-
* @generated from message livekit.proto.SendStreamChunkRequest
|
|
2756
|
-
*/
|
|
2757
|
-
declare class SendStreamChunkRequest extends Message<SendStreamChunkRequest> {
|
|
2758
|
-
/**
|
|
2759
|
-
* @generated from field: required uint64 local_participant_handle = 1;
|
|
2760
|
-
*/
|
|
2761
|
-
localParticipantHandle?: bigint;
|
|
2762
|
-
/**
|
|
2763
|
-
* @generated from field: required livekit.proto.DataStream.Chunk chunk = 2;
|
|
2764
|
-
*/
|
|
2765
|
-
chunk?: DataStream_Chunk;
|
|
2766
|
-
/**
|
|
2767
|
-
* @generated from field: repeated string destination_identities = 3;
|
|
2768
|
-
*/
|
|
2769
|
-
destinationIdentities: string[];
|
|
2770
|
-
/**
|
|
2771
|
-
* @generated from field: required string sender_identity = 4;
|
|
2772
|
-
*/
|
|
2773
|
-
senderIdentity?: string;
|
|
2774
|
-
constructor(data?: PartialMessage<SendStreamChunkRequest>);
|
|
2775
|
-
static readonly runtime: typeof proto2;
|
|
2776
|
-
static readonly typeName = "livekit.proto.SendStreamChunkRequest";
|
|
2777
|
-
static readonly fields: FieldList;
|
|
2778
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): SendStreamChunkRequest;
|
|
2779
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): SendStreamChunkRequest;
|
|
2780
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): SendStreamChunkRequest;
|
|
2781
|
-
static equals(a: SendStreamChunkRequest | PlainMessage<SendStreamChunkRequest> | undefined, b: SendStreamChunkRequest | PlainMessage<SendStreamChunkRequest> | undefined): boolean;
|
|
2782
|
-
}
|
|
2783
|
-
/**
|
|
2784
|
-
* @generated from message livekit.proto.SendStreamTrailerRequest
|
|
2785
|
-
*/
|
|
2786
|
-
declare class SendStreamTrailerRequest extends Message<SendStreamTrailerRequest> {
|
|
2787
|
-
/**
|
|
2788
|
-
* @generated from field: required uint64 local_participant_handle = 1;
|
|
2789
|
-
*/
|
|
2790
|
-
localParticipantHandle?: bigint;
|
|
2791
|
-
/**
|
|
2792
|
-
* @generated from field: required livekit.proto.DataStream.Trailer trailer = 2;
|
|
2793
|
-
*/
|
|
2794
|
-
trailer?: DataStream_Trailer;
|
|
2795
|
-
/**
|
|
2796
|
-
* @generated from field: repeated string destination_identities = 3;
|
|
2797
|
-
*/
|
|
2798
|
-
destinationIdentities: string[];
|
|
2799
|
-
/**
|
|
2800
|
-
* @generated from field: required string sender_identity = 4;
|
|
2801
|
-
*/
|
|
2802
|
-
senderIdentity?: string;
|
|
2803
|
-
constructor(data?: PartialMessage<SendStreamTrailerRequest>);
|
|
2804
|
-
static readonly runtime: typeof proto2;
|
|
2805
|
-
static readonly typeName = "livekit.proto.SendStreamTrailerRequest";
|
|
2806
|
-
static readonly fields: FieldList;
|
|
2807
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): SendStreamTrailerRequest;
|
|
2808
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): SendStreamTrailerRequest;
|
|
2809
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): SendStreamTrailerRequest;
|
|
2810
|
-
static equals(a: SendStreamTrailerRequest | PlainMessage<SendStreamTrailerRequest> | undefined, b: SendStreamTrailerRequest | PlainMessage<SendStreamTrailerRequest> | undefined): boolean;
|
|
2811
|
-
}
|
|
2812
|
-
/**
|
|
2813
|
-
* @generated from message livekit.proto.SendStreamHeaderResponse
|
|
2814
|
-
*/
|
|
2815
|
-
declare class SendStreamHeaderResponse extends Message<SendStreamHeaderResponse> {
|
|
2816
|
-
/**
|
|
2817
|
-
* @generated from field: required uint64 async_id = 1;
|
|
2818
|
-
*/
|
|
2819
|
-
asyncId?: bigint;
|
|
2820
|
-
constructor(data?: PartialMessage<SendStreamHeaderResponse>);
|
|
2821
|
-
static readonly runtime: typeof proto2;
|
|
2822
|
-
static readonly typeName = "livekit.proto.SendStreamHeaderResponse";
|
|
2823
|
-
static readonly fields: FieldList;
|
|
2824
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): SendStreamHeaderResponse;
|
|
2825
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): SendStreamHeaderResponse;
|
|
2826
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): SendStreamHeaderResponse;
|
|
2827
|
-
static equals(a: SendStreamHeaderResponse | PlainMessage<SendStreamHeaderResponse> | undefined, b: SendStreamHeaderResponse | PlainMessage<SendStreamHeaderResponse> | undefined): boolean;
|
|
2828
|
-
}
|
|
2829
|
-
/**
|
|
2830
|
-
* @generated from message livekit.proto.SendStreamChunkResponse
|
|
2831
|
-
*/
|
|
2832
|
-
declare class SendStreamChunkResponse extends Message<SendStreamChunkResponse> {
|
|
2833
|
-
/**
|
|
2834
|
-
* @generated from field: required uint64 async_id = 1;
|
|
2835
|
-
*/
|
|
2836
|
-
asyncId?: bigint;
|
|
2837
|
-
constructor(data?: PartialMessage<SendStreamChunkResponse>);
|
|
2838
|
-
static readonly runtime: typeof proto2;
|
|
2839
|
-
static readonly typeName = "livekit.proto.SendStreamChunkResponse";
|
|
2840
|
-
static readonly fields: FieldList;
|
|
2841
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): SendStreamChunkResponse;
|
|
2842
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): SendStreamChunkResponse;
|
|
2843
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): SendStreamChunkResponse;
|
|
2844
|
-
static equals(a: SendStreamChunkResponse | PlainMessage<SendStreamChunkResponse> | undefined, b: SendStreamChunkResponse | PlainMessage<SendStreamChunkResponse> | undefined): boolean;
|
|
2845
|
-
}
|
|
2846
|
-
/**
|
|
2847
|
-
* @generated from message livekit.proto.SendStreamTrailerResponse
|
|
2848
|
-
*/
|
|
2849
|
-
declare class SendStreamTrailerResponse extends Message<SendStreamTrailerResponse> {
|
|
2850
|
-
/**
|
|
2851
|
-
* @generated from field: required uint64 async_id = 1;
|
|
2852
|
-
*/
|
|
2853
|
-
asyncId?: bigint;
|
|
2854
|
-
constructor(data?: PartialMessage<SendStreamTrailerResponse>);
|
|
2855
|
-
static readonly runtime: typeof proto2;
|
|
2856
|
-
static readonly typeName = "livekit.proto.SendStreamTrailerResponse";
|
|
2857
|
-
static readonly fields: FieldList;
|
|
2858
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): SendStreamTrailerResponse;
|
|
2859
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): SendStreamTrailerResponse;
|
|
2860
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): SendStreamTrailerResponse;
|
|
2861
|
-
static equals(a: SendStreamTrailerResponse | PlainMessage<SendStreamTrailerResponse> | undefined, b: SendStreamTrailerResponse | PlainMessage<SendStreamTrailerResponse> | undefined): boolean;
|
|
2862
|
-
}
|
|
2863
|
-
/**
|
|
2864
|
-
* @generated from message livekit.proto.SendStreamHeaderCallback
|
|
2865
|
-
*/
|
|
2866
|
-
declare class SendStreamHeaderCallback extends Message<SendStreamHeaderCallback> {
|
|
2867
|
-
/**
|
|
2868
|
-
* @generated from field: required uint64 async_id = 1;
|
|
2869
|
-
*/
|
|
2870
|
-
asyncId?: bigint;
|
|
2871
|
-
/**
|
|
2872
|
-
* @generated from field: optional string error = 2;
|
|
2873
|
-
*/
|
|
2874
|
-
error?: string;
|
|
2875
|
-
constructor(data?: PartialMessage<SendStreamHeaderCallback>);
|
|
2876
|
-
static readonly runtime: typeof proto2;
|
|
2877
|
-
static readonly typeName = "livekit.proto.SendStreamHeaderCallback";
|
|
2878
|
-
static readonly fields: FieldList;
|
|
2879
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): SendStreamHeaderCallback;
|
|
2880
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): SendStreamHeaderCallback;
|
|
2881
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): SendStreamHeaderCallback;
|
|
2882
|
-
static equals(a: SendStreamHeaderCallback | PlainMessage<SendStreamHeaderCallback> | undefined, b: SendStreamHeaderCallback | PlainMessage<SendStreamHeaderCallback> | undefined): boolean;
|
|
2883
|
-
}
|
|
2884
|
-
/**
|
|
2885
|
-
* @generated from message livekit.proto.SendStreamChunkCallback
|
|
2886
|
-
*/
|
|
2887
|
-
declare class SendStreamChunkCallback extends Message<SendStreamChunkCallback> {
|
|
2888
|
-
/**
|
|
2889
|
-
* @generated from field: required uint64 async_id = 1;
|
|
2890
|
-
*/
|
|
2891
|
-
asyncId?: bigint;
|
|
2892
|
-
/**
|
|
2893
|
-
* @generated from field: optional string error = 2;
|
|
2894
|
-
*/
|
|
2895
|
-
error?: string;
|
|
2896
|
-
constructor(data?: PartialMessage<SendStreamChunkCallback>);
|
|
2897
|
-
static readonly runtime: typeof proto2;
|
|
2898
|
-
static readonly typeName = "livekit.proto.SendStreamChunkCallback";
|
|
2899
|
-
static readonly fields: FieldList;
|
|
2900
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): SendStreamChunkCallback;
|
|
2901
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): SendStreamChunkCallback;
|
|
2902
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): SendStreamChunkCallback;
|
|
2903
|
-
static equals(a: SendStreamChunkCallback | PlainMessage<SendStreamChunkCallback> | undefined, b: SendStreamChunkCallback | PlainMessage<SendStreamChunkCallback> | undefined): boolean;
|
|
2904
|
-
}
|
|
2905
|
-
/**
|
|
2906
|
-
* @generated from message livekit.proto.SendStreamTrailerCallback
|
|
2907
|
-
*/
|
|
2908
|
-
declare class SendStreamTrailerCallback extends Message<SendStreamTrailerCallback> {
|
|
2909
|
-
/**
|
|
2910
|
-
* @generated from field: required uint64 async_id = 1;
|
|
2911
|
-
*/
|
|
2912
|
-
asyncId?: bigint;
|
|
2913
|
-
/**
|
|
2914
|
-
* @generated from field: optional string error = 2;
|
|
2915
|
-
*/
|
|
2916
|
-
error?: string;
|
|
2917
|
-
constructor(data?: PartialMessage<SendStreamTrailerCallback>);
|
|
2918
|
-
static readonly runtime: typeof proto2;
|
|
2919
|
-
static readonly typeName = "livekit.proto.SendStreamTrailerCallback";
|
|
2920
|
-
static readonly fields: FieldList;
|
|
2921
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): SendStreamTrailerCallback;
|
|
2922
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): SendStreamTrailerCallback;
|
|
2923
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): SendStreamTrailerCallback;
|
|
2924
|
-
static equals(a: SendStreamTrailerCallback | PlainMessage<SendStreamTrailerCallback> | undefined, b: SendStreamTrailerCallback | PlainMessage<SendStreamTrailerCallback> | undefined): boolean;
|
|
2925
|
-
}
|
|
2926
|
-
/**
|
|
2927
|
-
* @generated from message livekit.proto.SetDataChannelBufferedAmountLowThresholdRequest
|
|
2928
|
-
*/
|
|
2929
|
-
declare class SetDataChannelBufferedAmountLowThresholdRequest extends Message<SetDataChannelBufferedAmountLowThresholdRequest> {
|
|
2930
|
-
/**
|
|
2931
|
-
* @generated from field: required uint64 local_participant_handle = 1;
|
|
2932
|
-
*/
|
|
2933
|
-
localParticipantHandle?: bigint;
|
|
2934
|
-
/**
|
|
2935
|
-
* @generated from field: required uint64 threshold = 2;
|
|
2936
|
-
*/
|
|
2937
|
-
threshold?: bigint;
|
|
2938
|
-
/**
|
|
2939
|
-
* @generated from field: required livekit.proto.DataPacketKind kind = 3;
|
|
2940
|
-
*/
|
|
2941
|
-
kind?: DataPacketKind;
|
|
2942
|
-
constructor(data?: PartialMessage<SetDataChannelBufferedAmountLowThresholdRequest>);
|
|
2943
|
-
static readonly runtime: typeof proto2;
|
|
2944
|
-
static readonly typeName = "livekit.proto.SetDataChannelBufferedAmountLowThresholdRequest";
|
|
2945
|
-
static readonly fields: FieldList;
|
|
2946
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): SetDataChannelBufferedAmountLowThresholdRequest;
|
|
2947
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): SetDataChannelBufferedAmountLowThresholdRequest;
|
|
2948
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): SetDataChannelBufferedAmountLowThresholdRequest;
|
|
2949
|
-
static equals(a: SetDataChannelBufferedAmountLowThresholdRequest | PlainMessage<SetDataChannelBufferedAmountLowThresholdRequest> | undefined, b: SetDataChannelBufferedAmountLowThresholdRequest | PlainMessage<SetDataChannelBufferedAmountLowThresholdRequest> | undefined): boolean;
|
|
2950
|
-
}
|
|
2951
|
-
/**
|
|
2952
|
-
* @generated from message livekit.proto.SetDataChannelBufferedAmountLowThresholdResponse
|
|
2953
|
-
*/
|
|
2954
|
-
declare class SetDataChannelBufferedAmountLowThresholdResponse extends Message<SetDataChannelBufferedAmountLowThresholdResponse> {
|
|
2955
|
-
constructor(data?: PartialMessage<SetDataChannelBufferedAmountLowThresholdResponse>);
|
|
2956
|
-
static readonly runtime: typeof proto2;
|
|
2957
|
-
static readonly typeName = "livekit.proto.SetDataChannelBufferedAmountLowThresholdResponse";
|
|
2958
|
-
static readonly fields: FieldList;
|
|
2959
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): SetDataChannelBufferedAmountLowThresholdResponse;
|
|
2960
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): SetDataChannelBufferedAmountLowThresholdResponse;
|
|
2961
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): SetDataChannelBufferedAmountLowThresholdResponse;
|
|
2962
|
-
static equals(a: SetDataChannelBufferedAmountLowThresholdResponse | PlainMessage<SetDataChannelBufferedAmountLowThresholdResponse> | undefined, b: SetDataChannelBufferedAmountLowThresholdResponse | PlainMessage<SetDataChannelBufferedAmountLowThresholdResponse> | undefined): boolean;
|
|
2963
|
-
}
|
|
2964
|
-
/**
|
|
2965
|
-
* @generated from message livekit.proto.DataChannelBufferedAmountLowThresholdChanged
|
|
2966
|
-
*/
|
|
2967
|
-
declare class DataChannelBufferedAmountLowThresholdChanged extends Message<DataChannelBufferedAmountLowThresholdChanged> {
|
|
2968
|
-
/**
|
|
2969
|
-
* @generated from field: required livekit.proto.DataPacketKind kind = 1;
|
|
2970
|
-
*/
|
|
2971
|
-
kind?: DataPacketKind;
|
|
2972
|
-
/**
|
|
2973
|
-
* @generated from field: required uint64 threshold = 2;
|
|
2974
|
-
*/
|
|
2975
|
-
threshold?: bigint;
|
|
2976
|
-
constructor(data?: PartialMessage<DataChannelBufferedAmountLowThresholdChanged>);
|
|
2977
|
-
static readonly runtime: typeof proto2;
|
|
2978
|
-
static readonly typeName = "livekit.proto.DataChannelBufferedAmountLowThresholdChanged";
|
|
2979
|
-
static readonly fields: FieldList;
|
|
2980
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): DataChannelBufferedAmountLowThresholdChanged;
|
|
2981
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): DataChannelBufferedAmountLowThresholdChanged;
|
|
2982
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): DataChannelBufferedAmountLowThresholdChanged;
|
|
2983
|
-
static equals(a: DataChannelBufferedAmountLowThresholdChanged | PlainMessage<DataChannelBufferedAmountLowThresholdChanged> | undefined, b: DataChannelBufferedAmountLowThresholdChanged | PlainMessage<DataChannelBufferedAmountLowThresholdChanged> | undefined): boolean;
|
|
2984
|
-
}
|
|
2985
|
-
/**
|
|
2986
|
-
* @generated from message livekit.proto.ByteStreamOpened
|
|
2987
|
-
*/
|
|
2988
|
-
declare class ByteStreamOpened extends Message<ByteStreamOpened> {
|
|
2989
|
-
/**
|
|
2990
|
-
* @generated from field: required livekit.proto.OwnedByteStreamReader reader = 1;
|
|
2991
|
-
*/
|
|
2992
|
-
reader?: OwnedByteStreamReader;
|
|
2993
|
-
/**
|
|
2994
|
-
* @generated from field: required string participant_identity = 2;
|
|
2995
|
-
*/
|
|
2996
|
-
participantIdentity?: string;
|
|
2997
|
-
constructor(data?: PartialMessage<ByteStreamOpened>);
|
|
2998
|
-
static readonly runtime: typeof proto2;
|
|
2999
|
-
static readonly typeName = "livekit.proto.ByteStreamOpened";
|
|
3000
|
-
static readonly fields: FieldList;
|
|
3001
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): ByteStreamOpened;
|
|
3002
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): ByteStreamOpened;
|
|
3003
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): ByteStreamOpened;
|
|
3004
|
-
static equals(a: ByteStreamOpened | PlainMessage<ByteStreamOpened> | undefined, b: ByteStreamOpened | PlainMessage<ByteStreamOpened> | undefined): boolean;
|
|
3005
|
-
}
|
|
3006
|
-
/**
|
|
3007
|
-
* @generated from message livekit.proto.TextStreamOpened
|
|
3008
|
-
*/
|
|
3009
|
-
declare class TextStreamOpened extends Message<TextStreamOpened> {
|
|
3010
|
-
/**
|
|
3011
|
-
* @generated from field: required livekit.proto.OwnedTextStreamReader reader = 1;
|
|
3012
|
-
*/
|
|
3013
|
-
reader?: OwnedTextStreamReader;
|
|
3014
|
-
/**
|
|
3015
|
-
* @generated from field: required string participant_identity = 2;
|
|
3016
|
-
*/
|
|
3017
|
-
participantIdentity?: string;
|
|
3018
|
-
constructor(data?: PartialMessage<TextStreamOpened>);
|
|
3019
|
-
static readonly runtime: typeof proto2;
|
|
3020
|
-
static readonly typeName = "livekit.proto.TextStreamOpened";
|
|
3021
|
-
static readonly fields: FieldList;
|
|
3022
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): TextStreamOpened;
|
|
3023
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): TextStreamOpened;
|
|
3024
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): TextStreamOpened;
|
|
3025
|
-
static equals(a: TextStreamOpened | PlainMessage<TextStreamOpened> | undefined, b: TextStreamOpened | PlainMessage<TextStreamOpened> | undefined): boolean;
|
|
3026
|
-
}
|
|
3027
|
-
|
|
3028
|
-
export { ActiveSpeakersChanged, AttributesEntry, AudioEncoding, BufferInfo, ByteStreamOpened, ChatMessage, ChatMessageReceived, ConnectCallback, ConnectCallback_ParticipantWithTracks, ConnectCallback_Result, ConnectRequest, ConnectResponse, Connected, ConnectionQuality, ConnectionQualityChanged, ConnectionState, ConnectionStateChanged, ContinualGatheringPolicy, DataChannelBufferedAmountLowThresholdChanged, DataPacketKind, DataPacketReceived, DataStream, DataStreamChunkReceived, DataStreamHeaderReceived, DataStreamTrailerReceived, DataStream_ByteHeader, DataStream_Chunk, DataStream_Header, DataStream_OperationType, DataStream_TextHeader, DataStream_Trailer, DisconnectCallback, DisconnectRequest, DisconnectResponse, Disconnected, E2eeStateChanged, EditChatMessageRequest, GetSessionStatsCallback, GetSessionStatsCallback_Result, GetSessionStatsRequest, GetSessionStatsResponse, IceServer, IceTransportType, LocalTrackPublished, LocalTrackSubscribed, LocalTrackUnpublished, OwnedBuffer, OwnedRoom, ParticipantAttributesChanged, ParticipantConnected, ParticipantDisconnected, ParticipantEncryptionStatusChanged, ParticipantMetadataChanged, ParticipantNameChanged, ParticipantsUpdated, PublishDataCallback, PublishDataRequest, PublishDataResponse, PublishSipDtmfCallback, PublishSipDtmfRequest, PublishSipDtmfResponse, PublishTrackCallback, PublishTrackRequest, PublishTrackResponse, PublishTranscriptionCallback, PublishTranscriptionRequest, PublishTranscriptionResponse, Reconnected, Reconnecting, RoomEOS, RoomEvent, RoomInfo, RoomMetadataChanged, RoomOptions, RoomSidChanged, RtcConfig, SendChatMessageCallback, SendChatMessageRequest, SendChatMessageResponse, SendStreamChunkCallback, SendStreamChunkRequest, SendStreamChunkResponse, SendStreamHeaderCallback, SendStreamHeaderRequest, SendStreamHeaderResponse, SendStreamTrailerCallback, SendStreamTrailerRequest, SendStreamTrailerResponse, SetDataChannelBufferedAmountLowThresholdRequest, SetDataChannelBufferedAmountLowThresholdResponse, SetLocalAttributesCallback, SetLocalAttributesRequest, SetLocalAttributesResponse, SetLocalMetadataCallback, SetLocalMetadataRequest, SetLocalMetadataResponse, SetLocalNameCallback, SetLocalNameRequest, SetLocalNameResponse, SetSubscribedRequest, SetSubscribedResponse, SipDTMF, TextStreamOpened, TokenRefreshed, TrackMuted, TrackPublishOptions, TrackPublished, TrackSubscribed, TrackSubscriptionFailed, TrackUnmuted, TrackUnpublished, TrackUnsubscribed, TranscriptionReceived, TranscriptionSegment, UnpublishTrackCallback, UnpublishTrackRequest, UnpublishTrackResponse, UserPacket, VideoEncoding };
|