livekit-client 2.18.2 → 2.18.3
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.
|
@@ -3869,6 +3869,9 @@ const DisconnectReason = /* @__PURE__ */proto3.makeEnum("livekit.DisconnectReaso
|
|
|
3869
3869
|
}, {
|
|
3870
3870
|
no: 15,
|
|
3871
3871
|
name: "MEDIA_FAILURE"
|
|
3872
|
+
}, {
|
|
3873
|
+
no: 16,
|
|
3874
|
+
name: "AGENT_ERROR"
|
|
3872
3875
|
}]);
|
|
3873
3876
|
const ReconnectReason = /* @__PURE__ */proto3.makeEnum("livekit.ReconnectReason", [{
|
|
3874
3877
|
no: 0,
|
|
@@ -3918,6 +3921,13 @@ const AudioTrackFeature = /* @__PURE__ */proto3.makeEnum("livekit.AudioTrackFeat
|
|
|
3918
3921
|
no: 6,
|
|
3919
3922
|
name: "TF_PRECONNECT_BUFFER"
|
|
3920
3923
|
}]);
|
|
3924
|
+
const PacketTrailerFeature = /* @__PURE__ */proto3.makeEnum("livekit.PacketTrailerFeature", [{
|
|
3925
|
+
no: 0,
|
|
3926
|
+
name: "PTF_USER_TIMESTAMP"
|
|
3927
|
+
}, {
|
|
3928
|
+
no: 1,
|
|
3929
|
+
name: "PTF_FRAME_ID"
|
|
3930
|
+
}]);
|
|
3921
3931
|
const Room$1 = /* @__PURE__ */proto3.makeMessageType("livekit.Room", () => [{
|
|
3922
3932
|
no: 1,
|
|
3923
3933
|
name: "sid",
|
|
@@ -4069,6 +4079,12 @@ const ParticipantPermission = /* @__PURE__ */proto3.makeMessageType("livekit.Par
|
|
|
4069
4079
|
kind: "scalar",
|
|
4070
4080
|
T: 8
|
|
4071
4081
|
/* ScalarType.BOOL */
|
|
4082
|
+
}, {
|
|
4083
|
+
no: 13,
|
|
4084
|
+
name: "can_manage_agent_session",
|
|
4085
|
+
kind: "scalar",
|
|
4086
|
+
T: 8
|
|
4087
|
+
/* ScalarType.BOOL */
|
|
4072
4088
|
}]);
|
|
4073
4089
|
const ParticipantInfo = /* @__PURE__ */proto3.makeMessageType("livekit.ParticipantInfo", () => [{
|
|
4074
4090
|
no: 1,
|
|
@@ -4172,6 +4188,12 @@ const ParticipantInfo = /* @__PURE__ */proto3.makeMessageType("livekit.Participa
|
|
|
4172
4188
|
kind: "message",
|
|
4173
4189
|
T: DataTrackInfo$1,
|
|
4174
4190
|
repeated: true
|
|
4191
|
+
}, {
|
|
4192
|
+
no: 20,
|
|
4193
|
+
name: "client_protocol",
|
|
4194
|
+
kind: "scalar",
|
|
4195
|
+
T: 5
|
|
4196
|
+
/* ScalarType.INT32 */
|
|
4175
4197
|
}]);
|
|
4176
4198
|
const ParticipantInfo_State = /* @__PURE__ */proto3.makeEnum("livekit.ParticipantInfo.State", [{
|
|
4177
4199
|
no: 0,
|
|
@@ -4385,6 +4407,12 @@ const TrackInfo = /* @__PURE__ */proto3.makeMessageType("livekit.TrackInfo", ()
|
|
|
4385
4407
|
name: "backup_codec_policy",
|
|
4386
4408
|
kind: "enum",
|
|
4387
4409
|
T: proto3.getEnumType(BackupCodecPolicy$1)
|
|
4410
|
+
}, {
|
|
4411
|
+
no: 21,
|
|
4412
|
+
name: "packet_trailer_features",
|
|
4413
|
+
kind: "enum",
|
|
4414
|
+
T: proto3.getEnumType(PacketTrailerFeature),
|
|
4415
|
+
repeated: true
|
|
4388
4416
|
}]);
|
|
4389
4417
|
const DataTrackInfo$1 = /* @__PURE__ */proto3.makeMessageType("livekit.DataTrackInfo", () => [{
|
|
4390
4418
|
no: 1,
|
|
@@ -4889,6 +4917,12 @@ const RpcRequest = /* @__PURE__ */proto3.makeMessageType("livekit.RpcRequest", (
|
|
|
4889
4917
|
kind: "scalar",
|
|
4890
4918
|
T: 13
|
|
4891
4919
|
/* ScalarType.UINT32 */
|
|
4920
|
+
}, {
|
|
4921
|
+
no: 6,
|
|
4922
|
+
name: "compressed_payload",
|
|
4923
|
+
kind: "scalar",
|
|
4924
|
+
T: 12
|
|
4925
|
+
/* ScalarType.BYTES */
|
|
4892
4926
|
}]);
|
|
4893
4927
|
const RpcAck = /* @__PURE__ */proto3.makeMessageType("livekit.RpcAck", () => [{
|
|
4894
4928
|
no: 1,
|
|
@@ -4915,6 +4949,12 @@ const RpcResponse = /* @__PURE__ */proto3.makeMessageType("livekit.RpcResponse",
|
|
|
4915
4949
|
kind: "message",
|
|
4916
4950
|
T: RpcError$1,
|
|
4917
4951
|
oneof: "value"
|
|
4952
|
+
}, {
|
|
4953
|
+
no: 4,
|
|
4954
|
+
name: "compressed_payload",
|
|
4955
|
+
kind: "scalar",
|
|
4956
|
+
T: 12,
|
|
4957
|
+
oneof: "value"
|
|
4918
4958
|
}]);
|
|
4919
4959
|
const RpcError$1 = /* @__PURE__ */proto3.makeMessageType("livekit.RpcError", () => [{
|
|
4920
4960
|
no: 1,
|
|
@@ -5062,6 +5102,12 @@ const ClientInfo = /* @__PURE__ */proto3.makeMessageType("livekit.ClientInfo", (
|
|
|
5062
5102
|
kind: "scalar",
|
|
5063
5103
|
T: 9
|
|
5064
5104
|
/* ScalarType.STRING */
|
|
5105
|
+
}, {
|
|
5106
|
+
no: 12,
|
|
5107
|
+
name: "client_protocol",
|
|
5108
|
+
kind: "scalar",
|
|
5109
|
+
T: 5
|
|
5110
|
+
/* ScalarType.INT32 */
|
|
5065
5111
|
}]);
|
|
5066
5112
|
const ClientInfo_SDK = /* @__PURE__ */proto3.makeEnum("livekit.ClientInfo.SDK", [{
|
|
5067
5113
|
no: 0,
|
|
@@ -5383,6 +5429,13 @@ const SubscribedAudioCodec = /* @__PURE__ */proto3.makeMessageType("livekit.Subs
|
|
|
5383
5429
|
T: 8
|
|
5384
5430
|
/* ScalarType.BOOL */
|
|
5385
5431
|
}]);
|
|
5432
|
+
const JobRestartPolicy = /* @__PURE__ */proto3.makeEnum("livekit.JobRestartPolicy", [{
|
|
5433
|
+
no: 0,
|
|
5434
|
+
name: "JRP_ON_FAILURE"
|
|
5435
|
+
}, {
|
|
5436
|
+
no: 1,
|
|
5437
|
+
name: "JRP_NEVER"
|
|
5438
|
+
}]);
|
|
5386
5439
|
const RoomAgentDispatch = /* @__PURE__ */proto3.makeMessageType("livekit.RoomAgentDispatch", () => [{
|
|
5387
5440
|
no: 1,
|
|
5388
5441
|
name: "agent_name",
|
|
@@ -5395,6 +5448,11 @@ const RoomAgentDispatch = /* @__PURE__ */proto3.makeMessageType("livekit.RoomAge
|
|
|
5395
5448
|
kind: "scalar",
|
|
5396
5449
|
T: 9
|
|
5397
5450
|
/* ScalarType.STRING */
|
|
5451
|
+
}, {
|
|
5452
|
+
no: 3,
|
|
5453
|
+
name: "restart_policy",
|
|
5454
|
+
kind: "enum",
|
|
5455
|
+
T: proto3.getEnumType(JobRestartPolicy)
|
|
5398
5456
|
}]);
|
|
5399
5457
|
const SignalTarget = /* @__PURE__ */proto3.makeEnum("livekit.SignalTarget", [{
|
|
5400
5458
|
no: 0,
|
|
@@ -5832,6 +5890,12 @@ const AddTrackRequest = /* @__PURE__ */proto3.makeMessageType("livekit.AddTrackR
|
|
|
5832
5890
|
kind: "enum",
|
|
5833
5891
|
T: proto3.getEnumType(AudioTrackFeature),
|
|
5834
5892
|
repeated: true
|
|
5893
|
+
}, {
|
|
5894
|
+
no: 18,
|
|
5895
|
+
name: "packet_trailer_features",
|
|
5896
|
+
kind: "enum",
|
|
5897
|
+
T: proto3.getEnumType(PacketTrailerFeature),
|
|
5898
|
+
repeated: true
|
|
5835
5899
|
}]);
|
|
5836
5900
|
const PublishDataTrackRequest = /* @__PURE__ */proto3.makeMessageType("livekit.PublishDataTrackRequest", () => [{
|
|
5837
5901
|
no: 1,
|
|
@@ -6936,6 +7000,31 @@ const MediaSectionsRequirement = /* @__PURE__ */proto3.makeMessageType("livekit.
|
|
|
6936
7000
|
T: 13
|
|
6937
7001
|
/* ScalarType.UINT32 */
|
|
6938
7002
|
}]);
|
|
7003
|
+
const EncodingOptionsPreset = /* @__PURE__ */proto3.makeEnum("livekit.EncodingOptionsPreset", [{
|
|
7004
|
+
no: 0,
|
|
7005
|
+
name: "H264_720P_30"
|
|
7006
|
+
}, {
|
|
7007
|
+
no: 1,
|
|
7008
|
+
name: "H264_720P_60"
|
|
7009
|
+
}, {
|
|
7010
|
+
no: 2,
|
|
7011
|
+
name: "H264_1080P_30"
|
|
7012
|
+
}, {
|
|
7013
|
+
no: 3,
|
|
7014
|
+
name: "H264_1080P_60"
|
|
7015
|
+
}, {
|
|
7016
|
+
no: 4,
|
|
7017
|
+
name: "PORTRAIT_H264_720P_30"
|
|
7018
|
+
}, {
|
|
7019
|
+
no: 5,
|
|
7020
|
+
name: "PORTRAIT_H264_720P_60"
|
|
7021
|
+
}, {
|
|
7022
|
+
no: 6,
|
|
7023
|
+
name: "PORTRAIT_H264_1080P_30"
|
|
7024
|
+
}, {
|
|
7025
|
+
no: 7,
|
|
7026
|
+
name: "PORTRAIT_H264_1080P_60"
|
|
7027
|
+
}]);
|
|
6939
7028
|
const EncodedFileType = /* @__PURE__ */proto3.makeEnum("livekit.EncodedFileType", [{
|
|
6940
7029
|
no: 0,
|
|
6941
7030
|
name: "DEFAULT_FILETYPE"
|
|
@@ -6949,6 +7038,19 @@ const EncodedFileType = /* @__PURE__ */proto3.makeEnum("livekit.EncodedFileType"
|
|
|
6949
7038
|
no: 3,
|
|
6950
7039
|
name: "MP3"
|
|
6951
7040
|
}]);
|
|
7041
|
+
const StreamProtocol = /* @__PURE__ */proto3.makeEnum("livekit.StreamProtocol", [{
|
|
7042
|
+
no: 0,
|
|
7043
|
+
name: "DEFAULT_PROTOCOL"
|
|
7044
|
+
}, {
|
|
7045
|
+
no: 1,
|
|
7046
|
+
name: "RTMP"
|
|
7047
|
+
}, {
|
|
7048
|
+
no: 2,
|
|
7049
|
+
name: "SRT"
|
|
7050
|
+
}, {
|
|
7051
|
+
no: 3,
|
|
7052
|
+
name: "WEBSOCKET"
|
|
7053
|
+
}]);
|
|
6952
7054
|
const SegmentedFileProtocol = /* @__PURE__ */proto3.makeEnum("livekit.SegmentedFileProtocol", [{
|
|
6953
7055
|
no: 0,
|
|
6954
7056
|
name: "DEFAULT_SEGMENTED_FILE_PROTOCOL"
|
|
@@ -6973,16 +7075,6 @@ const ImageFileSuffix = /* @__PURE__ */proto3.makeEnum("livekit.ImageFileSuffix"
|
|
|
6973
7075
|
no: 2,
|
|
6974
7076
|
name: "IMAGE_SUFFIX_NONE_OVERWRITE"
|
|
6975
7077
|
}]);
|
|
6976
|
-
const StreamProtocol = /* @__PURE__ */proto3.makeEnum("livekit.StreamProtocol", [{
|
|
6977
|
-
no: 0,
|
|
6978
|
-
name: "DEFAULT_PROTOCOL"
|
|
6979
|
-
}, {
|
|
6980
|
-
no: 1,
|
|
6981
|
-
name: "RTMP"
|
|
6982
|
-
}, {
|
|
6983
|
-
no: 2,
|
|
6984
|
-
name: "SRT"
|
|
6985
|
-
}]);
|
|
6986
7078
|
const AudioMixing = /* @__PURE__ */proto3.makeEnum("livekit.AudioMixing", [{
|
|
6987
7079
|
no: 0,
|
|
6988
7080
|
name: "DEFAULT_MIXING"
|
|
@@ -6993,168 +7085,88 @@ const AudioMixing = /* @__PURE__ */proto3.makeEnum("livekit.AudioMixing", [{
|
|
|
6993
7085
|
no: 2,
|
|
6994
7086
|
name: "DUAL_CHANNEL_ALTERNATE"
|
|
6995
7087
|
}]);
|
|
6996
|
-
const
|
|
6997
|
-
no: 0,
|
|
6998
|
-
name: "H264_720P_30"
|
|
6999
|
-
}, {
|
|
7000
|
-
no: 1,
|
|
7001
|
-
name: "H264_720P_60"
|
|
7002
|
-
}, {
|
|
7003
|
-
no: 2,
|
|
7004
|
-
name: "H264_1080P_30"
|
|
7005
|
-
}, {
|
|
7006
|
-
no: 3,
|
|
7007
|
-
name: "H264_1080P_60"
|
|
7008
|
-
}, {
|
|
7009
|
-
no: 4,
|
|
7010
|
-
name: "PORTRAIT_H264_720P_30"
|
|
7011
|
-
}, {
|
|
7012
|
-
no: 5,
|
|
7013
|
-
name: "PORTRAIT_H264_720P_60"
|
|
7014
|
-
}, {
|
|
7015
|
-
no: 6,
|
|
7016
|
-
name: "PORTRAIT_H264_1080P_30"
|
|
7017
|
-
}, {
|
|
7018
|
-
no: 7,
|
|
7019
|
-
name: "PORTRAIT_H264_1080P_60"
|
|
7020
|
-
}]);
|
|
7021
|
-
const RoomCompositeEgressRequest = /* @__PURE__ */proto3.makeMessageType("livekit.RoomCompositeEgressRequest", () => [{
|
|
7088
|
+
const EncodingOptions = /* @__PURE__ */proto3.makeMessageType("livekit.EncodingOptions", () => [{
|
|
7022
7089
|
no: 1,
|
|
7023
|
-
name: "
|
|
7090
|
+
name: "width",
|
|
7024
7091
|
kind: "scalar",
|
|
7025
|
-
T:
|
|
7026
|
-
/* ScalarType.
|
|
7092
|
+
T: 5
|
|
7093
|
+
/* ScalarType.INT32 */
|
|
7027
7094
|
}, {
|
|
7028
7095
|
no: 2,
|
|
7029
|
-
name: "
|
|
7096
|
+
name: "height",
|
|
7030
7097
|
kind: "scalar",
|
|
7031
|
-
T:
|
|
7032
|
-
/* ScalarType.
|
|
7098
|
+
T: 5
|
|
7099
|
+
/* ScalarType.INT32 */
|
|
7033
7100
|
}, {
|
|
7034
7101
|
no: 3,
|
|
7035
|
-
name: "
|
|
7102
|
+
name: "depth",
|
|
7036
7103
|
kind: "scalar",
|
|
7037
|
-
T:
|
|
7038
|
-
/* ScalarType.
|
|
7039
|
-
}, {
|
|
7040
|
-
no: 15,
|
|
7041
|
-
name: "audio_mixing",
|
|
7042
|
-
kind: "enum",
|
|
7043
|
-
T: proto3.getEnumType(AudioMixing)
|
|
7104
|
+
T: 5
|
|
7105
|
+
/* ScalarType.INT32 */
|
|
7044
7106
|
}, {
|
|
7045
7107
|
no: 4,
|
|
7046
|
-
name: "
|
|
7108
|
+
name: "framerate",
|
|
7047
7109
|
kind: "scalar",
|
|
7048
|
-
T:
|
|
7049
|
-
/* ScalarType.
|
|
7110
|
+
T: 5
|
|
7111
|
+
/* ScalarType.INT32 */
|
|
7050
7112
|
}, {
|
|
7051
7113
|
no: 5,
|
|
7052
|
-
name: "
|
|
7053
|
-
kind: "
|
|
7054
|
-
T:
|
|
7055
|
-
/* ScalarType.STRING */
|
|
7114
|
+
name: "audio_codec",
|
|
7115
|
+
kind: "enum",
|
|
7116
|
+
T: proto3.getEnumType(AudioCodec)
|
|
7056
7117
|
}, {
|
|
7057
7118
|
no: 6,
|
|
7058
|
-
name: "
|
|
7059
|
-
kind: "
|
|
7060
|
-
T:
|
|
7061
|
-
|
|
7119
|
+
name: "audio_bitrate",
|
|
7120
|
+
kind: "scalar",
|
|
7121
|
+
T: 5
|
|
7122
|
+
/* ScalarType.INT32 */
|
|
7062
7123
|
}, {
|
|
7063
7124
|
no: 7,
|
|
7064
|
-
name: "
|
|
7065
|
-
kind: "
|
|
7066
|
-
T:
|
|
7067
|
-
|
|
7068
|
-
}, {
|
|
7069
|
-
no: 10,
|
|
7070
|
-
name: "segments",
|
|
7071
|
-
kind: "message",
|
|
7072
|
-
T: SegmentedFileOutput,
|
|
7073
|
-
oneof: "output"
|
|
7125
|
+
name: "audio_frequency",
|
|
7126
|
+
kind: "scalar",
|
|
7127
|
+
T: 5
|
|
7128
|
+
/* ScalarType.INT32 */
|
|
7074
7129
|
}, {
|
|
7075
7130
|
no: 8,
|
|
7076
|
-
name: "
|
|
7131
|
+
name: "video_codec",
|
|
7077
7132
|
kind: "enum",
|
|
7078
|
-
T: proto3.getEnumType(
|
|
7079
|
-
oneof: "options"
|
|
7133
|
+
T: proto3.getEnumType(VideoCodec)
|
|
7080
7134
|
}, {
|
|
7081
7135
|
no: 9,
|
|
7082
|
-
name: "
|
|
7083
|
-
kind: "
|
|
7084
|
-
T:
|
|
7085
|
-
|
|
7136
|
+
name: "video_bitrate",
|
|
7137
|
+
kind: "scalar",
|
|
7138
|
+
T: 5
|
|
7139
|
+
/* ScalarType.INT32 */
|
|
7140
|
+
}, {
|
|
7141
|
+
no: 10,
|
|
7142
|
+
name: "key_frame_interval",
|
|
7143
|
+
kind: "scalar",
|
|
7144
|
+
T: 1
|
|
7145
|
+
/* ScalarType.DOUBLE */
|
|
7086
7146
|
}, {
|
|
7087
7147
|
no: 11,
|
|
7088
|
-
name: "
|
|
7089
|
-
kind: "
|
|
7090
|
-
T:
|
|
7091
|
-
|
|
7148
|
+
name: "audio_quality",
|
|
7149
|
+
kind: "scalar",
|
|
7150
|
+
T: 5
|
|
7151
|
+
/* ScalarType.INT32 */
|
|
7092
7152
|
}, {
|
|
7093
7153
|
no: 12,
|
|
7094
|
-
name: "
|
|
7095
|
-
kind: "
|
|
7096
|
-
T:
|
|
7097
|
-
|
|
7098
|
-
}, {
|
|
7099
|
-
no: 13,
|
|
7100
|
-
name: "segment_outputs",
|
|
7101
|
-
kind: "message",
|
|
7102
|
-
T: SegmentedFileOutput,
|
|
7103
|
-
repeated: true
|
|
7104
|
-
}, {
|
|
7105
|
-
no: 14,
|
|
7106
|
-
name: "image_outputs",
|
|
7107
|
-
kind: "message",
|
|
7108
|
-
T: ImageOutput,
|
|
7109
|
-
repeated: true
|
|
7110
|
-
}, {
|
|
7111
|
-
no: 16,
|
|
7112
|
-
name: "webhooks",
|
|
7113
|
-
kind: "message",
|
|
7114
|
-
T: WebhookConfig,
|
|
7115
|
-
repeated: true
|
|
7154
|
+
name: "video_quality",
|
|
7155
|
+
kind: "scalar",
|
|
7156
|
+
T: 5
|
|
7157
|
+
/* ScalarType.INT32 */
|
|
7116
7158
|
}]);
|
|
7117
|
-
const
|
|
7159
|
+
const StreamOutput = /* @__PURE__ */proto3.makeMessageType("livekit.StreamOutput", () => [{
|
|
7118
7160
|
no: 1,
|
|
7119
|
-
name: "
|
|
7161
|
+
name: "protocol",
|
|
7120
7162
|
kind: "enum",
|
|
7121
|
-
T: proto3.getEnumType(
|
|
7163
|
+
T: proto3.getEnumType(StreamProtocol)
|
|
7122
7164
|
}, {
|
|
7123
7165
|
no: 2,
|
|
7124
|
-
name: "
|
|
7125
|
-
kind: "scalar",
|
|
7126
|
-
T: 9
|
|
7127
|
-
/* ScalarType.STRING */
|
|
7128
|
-
}, {
|
|
7129
|
-
no: 6,
|
|
7130
|
-
name: "disable_manifest",
|
|
7166
|
+
name: "urls",
|
|
7131
7167
|
kind: "scalar",
|
|
7132
|
-
T:
|
|
7133
|
-
|
|
7134
|
-
}, {
|
|
7135
|
-
no: 3,
|
|
7136
|
-
name: "s3",
|
|
7137
|
-
kind: "message",
|
|
7138
|
-
T: S3Upload,
|
|
7139
|
-
oneof: "output"
|
|
7140
|
-
}, {
|
|
7141
|
-
no: 4,
|
|
7142
|
-
name: "gcp",
|
|
7143
|
-
kind: "message",
|
|
7144
|
-
T: GCPUpload,
|
|
7145
|
-
oneof: "output"
|
|
7146
|
-
}, {
|
|
7147
|
-
no: 5,
|
|
7148
|
-
name: "azure",
|
|
7149
|
-
kind: "message",
|
|
7150
|
-
T: AzureBlobUpload,
|
|
7151
|
-
oneof: "output"
|
|
7152
|
-
}, {
|
|
7153
|
-
no: 7,
|
|
7154
|
-
name: "aliOSS",
|
|
7155
|
-
kind: "message",
|
|
7156
|
-
T: AliOSSUpload,
|
|
7157
|
-
oneof: "output"
|
|
7168
|
+
T: 9,
|
|
7169
|
+
repeated: true
|
|
7158
7170
|
}]);
|
|
7159
7171
|
const SegmentedFileOutput = /* @__PURE__ */proto3.makeMessageType("livekit.SegmentedFileOutput", () => [{
|
|
7160
7172
|
no: 1,
|
|
@@ -7455,146 +7467,201 @@ const ProxyConfig = /* @__PURE__ */proto3.makeMessageType("livekit.ProxyConfig",
|
|
|
7455
7467
|
T: 9
|
|
7456
7468
|
/* ScalarType.STRING */
|
|
7457
7469
|
}]);
|
|
7458
|
-
const
|
|
7470
|
+
const AutoParticipantEgress = /* @__PURE__ */proto3.makeMessageType("livekit.AutoParticipantEgress", () => [{
|
|
7459
7471
|
no: 1,
|
|
7460
|
-
name: "
|
|
7472
|
+
name: "preset",
|
|
7461
7473
|
kind: "enum",
|
|
7462
|
-
T: proto3.getEnumType(
|
|
7474
|
+
T: proto3.getEnumType(EncodingOptionsPreset),
|
|
7475
|
+
oneof: "options"
|
|
7463
7476
|
}, {
|
|
7464
7477
|
no: 2,
|
|
7465
|
-
name: "
|
|
7466
|
-
kind: "
|
|
7467
|
-
T:
|
|
7478
|
+
name: "advanced",
|
|
7479
|
+
kind: "message",
|
|
7480
|
+
T: EncodingOptions,
|
|
7481
|
+
oneof: "options"
|
|
7482
|
+
}, {
|
|
7483
|
+
no: 3,
|
|
7484
|
+
name: "file_outputs",
|
|
7485
|
+
kind: "message",
|
|
7486
|
+
T: EncodedFileOutput,
|
|
7487
|
+
repeated: true
|
|
7488
|
+
}, {
|
|
7489
|
+
no: 4,
|
|
7490
|
+
name: "segment_outputs",
|
|
7491
|
+
kind: "message",
|
|
7492
|
+
T: SegmentedFileOutput,
|
|
7468
7493
|
repeated: true
|
|
7469
7494
|
}]);
|
|
7470
|
-
const
|
|
7495
|
+
const AutoTrackEgress = /* @__PURE__ */proto3.makeMessageType("livekit.AutoTrackEgress", () => [{
|
|
7471
7496
|
no: 1,
|
|
7472
|
-
name: "
|
|
7497
|
+
name: "filepath",
|
|
7473
7498
|
kind: "scalar",
|
|
7474
|
-
T:
|
|
7475
|
-
/* ScalarType.
|
|
7499
|
+
T: 9
|
|
7500
|
+
/* ScalarType.STRING */
|
|
7476
7501
|
}, {
|
|
7477
|
-
no:
|
|
7478
|
-
name: "
|
|
7502
|
+
no: 5,
|
|
7503
|
+
name: "disable_manifest",
|
|
7479
7504
|
kind: "scalar",
|
|
7480
|
-
T:
|
|
7481
|
-
/* ScalarType.
|
|
7505
|
+
T: 8
|
|
7506
|
+
/* ScalarType.BOOL */
|
|
7507
|
+
}, {
|
|
7508
|
+
no: 2,
|
|
7509
|
+
name: "s3",
|
|
7510
|
+
kind: "message",
|
|
7511
|
+
T: S3Upload,
|
|
7512
|
+
oneof: "output"
|
|
7482
7513
|
}, {
|
|
7483
7514
|
no: 3,
|
|
7484
|
-
name: "
|
|
7485
|
-
kind: "
|
|
7486
|
-
T:
|
|
7487
|
-
|
|
7515
|
+
name: "gcp",
|
|
7516
|
+
kind: "message",
|
|
7517
|
+
T: GCPUpload,
|
|
7518
|
+
oneof: "output"
|
|
7488
7519
|
}, {
|
|
7489
7520
|
no: 4,
|
|
7490
|
-
name: "
|
|
7491
|
-
kind: "
|
|
7492
|
-
T:
|
|
7493
|
-
|
|
7494
|
-
}, {
|
|
7495
|
-
no: 5,
|
|
7496
|
-
name: "audio_codec",
|
|
7497
|
-
kind: "enum",
|
|
7498
|
-
T: proto3.getEnumType(AudioCodec)
|
|
7521
|
+
name: "azure",
|
|
7522
|
+
kind: "message",
|
|
7523
|
+
T: AzureBlobUpload,
|
|
7524
|
+
oneof: "output"
|
|
7499
7525
|
}, {
|
|
7500
7526
|
no: 6,
|
|
7501
|
-
name: "
|
|
7527
|
+
name: "aliOSS",
|
|
7528
|
+
kind: "message",
|
|
7529
|
+
T: AliOSSUpload,
|
|
7530
|
+
oneof: "output"
|
|
7531
|
+
}]);
|
|
7532
|
+
const RoomCompositeEgressRequest = /* @__PURE__ */proto3.makeMessageType("livekit.RoomCompositeEgressRequest", () => [{
|
|
7533
|
+
no: 1,
|
|
7534
|
+
name: "room_name",
|
|
7502
7535
|
kind: "scalar",
|
|
7503
|
-
T:
|
|
7504
|
-
/* ScalarType.
|
|
7536
|
+
T: 9
|
|
7537
|
+
/* ScalarType.STRING */
|
|
7505
7538
|
}, {
|
|
7506
|
-
no:
|
|
7507
|
-
name: "
|
|
7539
|
+
no: 2,
|
|
7540
|
+
name: "layout",
|
|
7508
7541
|
kind: "scalar",
|
|
7509
|
-
T:
|
|
7510
|
-
/* ScalarType.
|
|
7542
|
+
T: 9
|
|
7543
|
+
/* ScalarType.STRING */
|
|
7511
7544
|
}, {
|
|
7512
|
-
no:
|
|
7513
|
-
name: "
|
|
7545
|
+
no: 3,
|
|
7546
|
+
name: "audio_only",
|
|
7514
7547
|
kind: "scalar",
|
|
7515
|
-
T:
|
|
7516
|
-
/* ScalarType.
|
|
7548
|
+
T: 8
|
|
7549
|
+
/* ScalarType.BOOL */
|
|
7517
7550
|
}, {
|
|
7518
|
-
no:
|
|
7519
|
-
name: "
|
|
7551
|
+
no: 15,
|
|
7552
|
+
name: "audio_mixing",
|
|
7520
7553
|
kind: "enum",
|
|
7521
|
-
T: proto3.getEnumType(
|
|
7554
|
+
T: proto3.getEnumType(AudioMixing)
|
|
7522
7555
|
}, {
|
|
7523
|
-
no:
|
|
7524
|
-
name: "
|
|
7556
|
+
no: 4,
|
|
7557
|
+
name: "video_only",
|
|
7525
7558
|
kind: "scalar",
|
|
7526
|
-
T:
|
|
7527
|
-
/* ScalarType.
|
|
7559
|
+
T: 8
|
|
7560
|
+
/* ScalarType.BOOL */
|
|
7528
7561
|
}, {
|
|
7529
|
-
no:
|
|
7530
|
-
name: "
|
|
7562
|
+
no: 5,
|
|
7563
|
+
name: "custom_base_url",
|
|
7531
7564
|
kind: "scalar",
|
|
7532
|
-
T:
|
|
7533
|
-
/* ScalarType.
|
|
7565
|
+
T: 9
|
|
7566
|
+
/* ScalarType.STRING */
|
|
7567
|
+
}, {
|
|
7568
|
+
no: 6,
|
|
7569
|
+
name: "file",
|
|
7570
|
+
kind: "message",
|
|
7571
|
+
T: EncodedFileOutput,
|
|
7572
|
+
oneof: "output"
|
|
7573
|
+
}, {
|
|
7574
|
+
no: 7,
|
|
7575
|
+
name: "stream",
|
|
7576
|
+
kind: "message",
|
|
7577
|
+
T: StreamOutput,
|
|
7578
|
+
oneof: "output"
|
|
7534
7579
|
}, {
|
|
7535
7580
|
no: 10,
|
|
7536
|
-
name: "
|
|
7537
|
-
kind: "
|
|
7538
|
-
T:
|
|
7539
|
-
|
|
7540
|
-
}
|
|
7541
|
-
|
|
7542
|
-
no: 1,
|
|
7581
|
+
name: "segments",
|
|
7582
|
+
kind: "message",
|
|
7583
|
+
T: SegmentedFileOutput,
|
|
7584
|
+
oneof: "output"
|
|
7585
|
+
}, {
|
|
7586
|
+
no: 8,
|
|
7543
7587
|
name: "preset",
|
|
7544
7588
|
kind: "enum",
|
|
7545
7589
|
T: proto3.getEnumType(EncodingOptionsPreset),
|
|
7546
7590
|
oneof: "options"
|
|
7547
7591
|
}, {
|
|
7548
|
-
no:
|
|
7592
|
+
no: 9,
|
|
7549
7593
|
name: "advanced",
|
|
7550
7594
|
kind: "message",
|
|
7551
7595
|
T: EncodingOptions,
|
|
7552
7596
|
oneof: "options"
|
|
7553
7597
|
}, {
|
|
7554
|
-
no:
|
|
7598
|
+
no: 11,
|
|
7555
7599
|
name: "file_outputs",
|
|
7556
7600
|
kind: "message",
|
|
7557
7601
|
T: EncodedFileOutput,
|
|
7558
7602
|
repeated: true
|
|
7559
7603
|
}, {
|
|
7560
|
-
no:
|
|
7604
|
+
no: 12,
|
|
7605
|
+
name: "stream_outputs",
|
|
7606
|
+
kind: "message",
|
|
7607
|
+
T: StreamOutput,
|
|
7608
|
+
repeated: true
|
|
7609
|
+
}, {
|
|
7610
|
+
no: 13,
|
|
7561
7611
|
name: "segment_outputs",
|
|
7562
7612
|
kind: "message",
|
|
7563
7613
|
T: SegmentedFileOutput,
|
|
7564
7614
|
repeated: true
|
|
7615
|
+
}, {
|
|
7616
|
+
no: 14,
|
|
7617
|
+
name: "image_outputs",
|
|
7618
|
+
kind: "message",
|
|
7619
|
+
T: ImageOutput,
|
|
7620
|
+
repeated: true
|
|
7621
|
+
}, {
|
|
7622
|
+
no: 16,
|
|
7623
|
+
name: "webhooks",
|
|
7624
|
+
kind: "message",
|
|
7625
|
+
T: WebhookConfig,
|
|
7626
|
+
repeated: true
|
|
7565
7627
|
}]);
|
|
7566
|
-
const
|
|
7628
|
+
const EncodedFileOutput = /* @__PURE__ */proto3.makeMessageType("livekit.EncodedFileOutput", () => [{
|
|
7567
7629
|
no: 1,
|
|
7630
|
+
name: "file_type",
|
|
7631
|
+
kind: "enum",
|
|
7632
|
+
T: proto3.getEnumType(EncodedFileType)
|
|
7633
|
+
}, {
|
|
7634
|
+
no: 2,
|
|
7568
7635
|
name: "filepath",
|
|
7569
7636
|
kind: "scalar",
|
|
7570
7637
|
T: 9
|
|
7571
7638
|
/* ScalarType.STRING */
|
|
7572
7639
|
}, {
|
|
7573
|
-
no:
|
|
7640
|
+
no: 6,
|
|
7574
7641
|
name: "disable_manifest",
|
|
7575
7642
|
kind: "scalar",
|
|
7576
7643
|
T: 8
|
|
7577
7644
|
/* ScalarType.BOOL */
|
|
7578
7645
|
}, {
|
|
7579
|
-
no:
|
|
7646
|
+
no: 3,
|
|
7580
7647
|
name: "s3",
|
|
7581
7648
|
kind: "message",
|
|
7582
7649
|
T: S3Upload,
|
|
7583
7650
|
oneof: "output"
|
|
7584
7651
|
}, {
|
|
7585
|
-
no:
|
|
7652
|
+
no: 4,
|
|
7586
7653
|
name: "gcp",
|
|
7587
7654
|
kind: "message",
|
|
7588
7655
|
T: GCPUpload,
|
|
7589
7656
|
oneof: "output"
|
|
7590
7657
|
}, {
|
|
7591
|
-
no:
|
|
7658
|
+
no: 5,
|
|
7592
7659
|
name: "azure",
|
|
7593
7660
|
kind: "message",
|
|
7594
7661
|
T: AzureBlobUpload,
|
|
7595
7662
|
oneof: "output"
|
|
7596
7663
|
}, {
|
|
7597
|
-
no:
|
|
7664
|
+
no: 7,
|
|
7598
7665
|
name: "aliOSS",
|
|
7599
7666
|
kind: "message",
|
|
7600
7667
|
T: AliOSSUpload,
|
|
@@ -7675,6 +7742,16 @@ const RoomConfiguration = /* @__PURE__ */proto3.makeMessageType("livekit.RoomCon
|
|
|
7675
7742
|
kind: "message",
|
|
7676
7743
|
T: RoomAgentDispatch,
|
|
7677
7744
|
repeated: true
|
|
7745
|
+
}, {
|
|
7746
|
+
no: 12,
|
|
7747
|
+
name: "tags",
|
|
7748
|
+
kind: "map",
|
|
7749
|
+
K: 9,
|
|
7750
|
+
V: {
|
|
7751
|
+
kind: "scalar",
|
|
7752
|
+
T: 9
|
|
7753
|
+
/* ScalarType.STRING */
|
|
7754
|
+
}
|
|
7678
7755
|
}]);
|
|
7679
7756
|
const TokenSourceRequest = /* @__PURE__ */proto3.makeMessageType("livekit.TokenSourceRequest", () => [{
|
|
7680
7757
|
no: 1,
|
|
@@ -11629,7 +11706,7 @@ function getMatch(exp, ua) {
|
|
|
11629
11706
|
}
|
|
11630
11707
|
function getOSVersion(ua) {
|
|
11631
11708
|
return ua.includes('mac os') ? getMatch(/\(.+?(\d+_\d+(:?_\d+)?)/, ua, 1).replace(/_/g, '.') : undefined;
|
|
11632
|
-
}var version$1 = "2.18.
|
|
11709
|
+
}var version$1 = "2.18.3";const version = version$1;
|
|
11633
11710
|
const protocolVersion = 16;/** Base error that all LiveKit specific custom errors inherit from. */
|
|
11634
11711
|
class LivekitError extends Error {
|
|
11635
11712
|
constructor(code, message, options) {
|
|
@@ -31332,7 +31409,9 @@ function decodeTokenPayload(token) {
|
|
|
31332
31409
|
} = payload,
|
|
31333
31410
|
rest = __rest(payload, ["roomConfig"]);
|
|
31334
31411
|
const mappedPayload = Object.assign(Object.assign({}, rest), {
|
|
31335
|
-
roomConfig: payload.roomConfig ? RoomConfiguration.fromJson(payload.roomConfig
|
|
31412
|
+
roomConfig: payload.roomConfig ? RoomConfiguration.fromJson(payload.roomConfig, {
|
|
31413
|
+
ignoreUnknownFields: true
|
|
31414
|
+
}) : undefined
|
|
31336
31415
|
});
|
|
31337
31416
|
return mappedPayload;
|
|
31338
31417
|
}
|