@livekit/protocol 1.34.0 → 1.35.0
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/index.cjs +93 -5
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +123 -8
- package/dist/index.d.mts +123 -8
- package/dist/index.d.ts +123 -8
- package/dist/index.mjs +92 -6
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
- package/src/gen/livekit_models_pb.d.ts +7 -0
- package/src/gen/livekit_models_pb.js +1 -0
- package/src/gen/livekit_room_pb.d.ts +59 -0
- package/src/gen/livekit_room_pb.js +20 -0
- package/src/gen/livekit_sip_pb.d.ts +54 -6
- package/src/gen/livekit_sip_pb.js +12 -3
- package/src/gen/livekit_webhook_pb.d.ts +2 -1
- package/src/gen/version.js +1 -1
package/dist/index.mjs
CHANGED
|
@@ -583,7 +583,8 @@ const ParticipantInfo_Kind = /* @__PURE__ */ proto3.makeEnum(
|
|
|
583
583
|
{ no: 1, name: "INGRESS" },
|
|
584
584
|
{ no: 2, name: "EGRESS" },
|
|
585
585
|
{ no: 3, name: "SIP" },
|
|
586
|
-
{ no: 4, name: "AGENT" }
|
|
586
|
+
{ no: 4, name: "AGENT" },
|
|
587
|
+
{ no: 5, name: "FORWARDED" }
|
|
587
588
|
]
|
|
588
589
|
);
|
|
589
590
|
const Encryption = /* @__PURE__ */ proto3.makeMessageType(
|
|
@@ -4374,6 +4375,36 @@ const RoomConfiguration = /* @__PURE__ */ proto3.makeMessageType(
|
|
|
4374
4375
|
{ no: 10, name: "agents", kind: "message", T: RoomAgentDispatch, repeated: true }
|
|
4375
4376
|
]
|
|
4376
4377
|
);
|
|
4378
|
+
const ForwardParticipantRequest = /* @__PURE__ */ proto3.makeMessageType(
|
|
4379
|
+
"livekit.ForwardParticipantRequest",
|
|
4380
|
+
() => [
|
|
4381
|
+
{
|
|
4382
|
+
no: 1,
|
|
4383
|
+
name: "room",
|
|
4384
|
+
kind: "scalar",
|
|
4385
|
+
T: 9
|
|
4386
|
+
/* ScalarType.STRING */
|
|
4387
|
+
},
|
|
4388
|
+
{
|
|
4389
|
+
no: 2,
|
|
4390
|
+
name: "identity",
|
|
4391
|
+
kind: "scalar",
|
|
4392
|
+
T: 9
|
|
4393
|
+
/* ScalarType.STRING */
|
|
4394
|
+
},
|
|
4395
|
+
{
|
|
4396
|
+
no: 3,
|
|
4397
|
+
name: "destination_room",
|
|
4398
|
+
kind: "scalar",
|
|
4399
|
+
T: 9
|
|
4400
|
+
/* ScalarType.STRING */
|
|
4401
|
+
}
|
|
4402
|
+
]
|
|
4403
|
+
);
|
|
4404
|
+
const ForwardParticipantResponse = /* @__PURE__ */ proto3.makeMessageType(
|
|
4405
|
+
"livekit.ForwardParticipantResponse",
|
|
4406
|
+
[]
|
|
4407
|
+
);
|
|
4377
4408
|
|
|
4378
4409
|
const SignalTarget = /* @__PURE__ */ proto3.makeEnum(
|
|
4379
4410
|
"livekit.SignalTarget",
|
|
@@ -6162,6 +6193,20 @@ const SIPCallInfo = /* @__PURE__ */ proto3.makeMessageType(
|
|
|
6162
6193
|
T: 9
|
|
6163
6194
|
/* ScalarType.STRING */
|
|
6164
6195
|
},
|
|
6196
|
+
{
|
|
6197
|
+
no: 16,
|
|
6198
|
+
name: "dispatch_rule_id",
|
|
6199
|
+
kind: "scalar",
|
|
6200
|
+
T: 9
|
|
6201
|
+
/* ScalarType.STRING */
|
|
6202
|
+
},
|
|
6203
|
+
{
|
|
6204
|
+
no: 17,
|
|
6205
|
+
name: "region",
|
|
6206
|
+
kind: "scalar",
|
|
6207
|
+
T: 9
|
|
6208
|
+
/* ScalarType.STRING */
|
|
6209
|
+
},
|
|
6165
6210
|
{
|
|
6166
6211
|
no: 3,
|
|
6167
6212
|
name: "room_name",
|
|
@@ -6183,11 +6228,13 @@ const SIPCallInfo = /* @__PURE__ */ proto3.makeMessageType(
|
|
|
6183
6228
|
T: 9
|
|
6184
6229
|
/* ScalarType.STRING */
|
|
6185
6230
|
},
|
|
6231
|
+
{ no: 18, name: "participant_attributes", kind: "map", K: 9, V: {
|
|
6232
|
+
kind: "scalar",
|
|
6233
|
+
T: 9
|
|
6234
|
+
/* ScalarType.STRING */
|
|
6235
|
+
} },
|
|
6186
6236
|
{ no: 6, name: "from_uri", kind: "message", T: SIPUri },
|
|
6187
6237
|
{ no: 7, name: "to_uri", kind: "message", T: SIPUri },
|
|
6188
|
-
{ no: 14, name: "enabled_features", kind: "enum", T: proto3.getEnumType(SIPFeature), repeated: true },
|
|
6189
|
-
{ no: 15, name: "call_direction", kind: "enum", T: proto3.getEnumType(SIPCallDirection) },
|
|
6190
|
-
{ no: 8, name: "call_status", kind: "enum", T: proto3.getEnumType(SIPCallStatus) },
|
|
6191
6238
|
{
|
|
6192
6239
|
no: 9,
|
|
6193
6240
|
name: "created_at",
|
|
@@ -6209,6 +6256,30 @@ const SIPCallInfo = /* @__PURE__ */ proto3.makeMessageType(
|
|
|
6209
6256
|
T: 3
|
|
6210
6257
|
/* ScalarType.INT64 */
|
|
6211
6258
|
},
|
|
6259
|
+
{ no: 14, name: "enabled_features", kind: "enum", T: proto3.getEnumType(SIPFeature), repeated: true },
|
|
6260
|
+
{ no: 15, name: "call_direction", kind: "enum", T: proto3.getEnumType(SIPCallDirection) },
|
|
6261
|
+
{ no: 8, name: "call_status", kind: "enum", T: proto3.getEnumType(SIPCallStatus) },
|
|
6262
|
+
{
|
|
6263
|
+
no: 22,
|
|
6264
|
+
name: "created_at_ns",
|
|
6265
|
+
kind: "scalar",
|
|
6266
|
+
T: 3
|
|
6267
|
+
/* ScalarType.INT64 */
|
|
6268
|
+
},
|
|
6269
|
+
{
|
|
6270
|
+
no: 23,
|
|
6271
|
+
name: "started_at_ns",
|
|
6272
|
+
kind: "scalar",
|
|
6273
|
+
T: 3
|
|
6274
|
+
/* ScalarType.INT64 */
|
|
6275
|
+
},
|
|
6276
|
+
{
|
|
6277
|
+
no: 24,
|
|
6278
|
+
name: "ended_at_ns",
|
|
6279
|
+
kind: "scalar",
|
|
6280
|
+
T: 3
|
|
6281
|
+
/* ScalarType.INT64 */
|
|
6282
|
+
},
|
|
6212
6283
|
{ no: 12, name: "disconnect_reason", kind: "enum", T: proto3.getEnumType(DisconnectReason) },
|
|
6213
6284
|
{
|
|
6214
6285
|
no: 13,
|
|
@@ -6216,6 +6287,21 @@ const SIPCallInfo = /* @__PURE__ */ proto3.makeMessageType(
|
|
|
6216
6287
|
kind: "scalar",
|
|
6217
6288
|
T: 9
|
|
6218
6289
|
/* ScalarType.STRING */
|
|
6290
|
+
},
|
|
6291
|
+
{ no: 19, name: "call_status_code", kind: "message", T: SIPStatus },
|
|
6292
|
+
{
|
|
6293
|
+
no: 20,
|
|
6294
|
+
name: "audio_codec",
|
|
6295
|
+
kind: "scalar",
|
|
6296
|
+
T: 9
|
|
6297
|
+
/* ScalarType.STRING */
|
|
6298
|
+
},
|
|
6299
|
+
{
|
|
6300
|
+
no: 21,
|
|
6301
|
+
name: "media_encryption",
|
|
6302
|
+
kind: "scalar",
|
|
6303
|
+
T: 9
|
|
6304
|
+
/* ScalarType.STRING */
|
|
6219
6305
|
}
|
|
6220
6306
|
]
|
|
6221
6307
|
);
|
|
@@ -6293,7 +6379,7 @@ const WebhookEvent = /* @__PURE__ */ proto3.makeMessageType(
|
|
|
6293
6379
|
]
|
|
6294
6380
|
);
|
|
6295
6381
|
|
|
6296
|
-
const version = "1.
|
|
6382
|
+
const version = "1.35.0";
|
|
6297
6383
|
|
|
6298
|
-
export { ActiveSpeakerUpdate, AddTrackRequest, AgentDispatch, AgentDispatchState, AliOSSUpload, AudioCodec, AudioMixing, AudioTrackFeature, AutoParticipantEgress, AutoTrackEgress, AvailabilityRequest, AvailabilityResponse, AzureBlobUpload, BackupCodecPolicy, CandidateProtocol, ChatMessage, ClientConfigSetting, ClientConfiguration, ClientInfo, ClientInfo_SDK, Codec, ConnectionQuality, ConnectionQualityInfo, ConnectionQualityUpdate, CreateAgentDispatchRequest, CreateIngressRequest, CreateRoomRequest, CreateSIPDispatchRuleRequest, CreateSIPInboundTrunkRequest, CreateSIPOutboundTrunkRequest, CreateSIPParticipantRequest, CreateSIPTrunkRequest, DataChannelInfo, DataPacket, DataPacket_Kind, DataStream, DataStream_ByteHeader, DataStream_Chunk, DataStream_Header, DataStream_OperationType, DataStream_TextHeader, DataStream_Trailer, DeleteAgentDispatchRequest, DeleteIngressRequest, DeleteRoomRequest, DeleteRoomResponse, DeleteSIPDispatchRuleRequest, DeleteSIPTrunkRequest, DirectFileOutput, DisabledCodecs, DisconnectReason, EgressInfo, EgressSourceType, EgressStatus, EncodedFileOutput, EncodedFileType, EncodingOptions, EncodingOptionsPreset, Encryption, Encryption_Type, EventMetric, FileInfo, GCPUpload, GetSIPInboundTrunkRequest, GetSIPInboundTrunkResponse, GetSIPOutboundTrunkRequest, GetSIPOutboundTrunkResponse, ICEServer, ImageCodec, ImageFileSuffix, ImageOutput, ImagesInfo, IngressAudioEncodingOptions, IngressAudioEncodingPreset, IngressAudioOptions, IngressInfo, IngressInput, IngressState, IngressState_Status, IngressVideoEncodingOptions, IngressVideoEncodingPreset, IngressVideoOptions, InputAudioState, InputVideoState, Job, JobAssignment, JobState, JobStatus, JobTermination, JobType, JoinResponse, LeaveRequest, LeaveRequest_Action, ListAgentDispatchRequest, ListAgentDispatchResponse, ListEgressRequest, ListEgressResponse, ListIngressRequest, ListIngressResponse, ListParticipantsRequest, ListParticipantsResponse, ListRoomsRequest, ListRoomsResponse, ListSIPDispatchRuleRequest, ListSIPDispatchRuleResponse, ListSIPInboundTrunkRequest, ListSIPInboundTrunkResponse, ListSIPOutboundTrunkRequest, ListSIPOutboundTrunkResponse, ListSIPTrunkRequest, ListSIPTrunkResponse, MetricLabel, MetricSample, MetricsBatch, MigrateJobRequest, MuteRoomTrackRequest, MuteRoomTrackResponse, MuteTrackRequest, Pagination, ParticipantEgressRequest, ParticipantInfo, ParticipantInfo_Kind, ParticipantInfo_State, ParticipantPermission, ParticipantTracks, ParticipantUpdate, Ping, PlayoutDelay, Pong, ProxyConfig, RTCPSenderReportState, RTPDrift, RTPForwarderState, RTPMungerState, RTPStats, ReconnectReason, ReconnectResponse, RegionInfo, RegionSettings, RegisterWorkerRequest, RegisterWorkerResponse, RemoveParticipantResponse, RequestResponse, RequestResponse_Reason, Room, RoomAgent, RoomAgentDispatch, RoomCompositeEgressRequest, RoomConfiguration, RoomEgress, RoomParticipantIdentity, RoomUpdate, RpcAck, RpcError, RpcRequest, RpcResponse, S3Upload, SIPCallDirection, SIPCallInfo, SIPCallStatus, SIPDispatchRule, SIPDispatchRuleCallee, SIPDispatchRuleDirect, SIPDispatchRuleIndividual, SIPDispatchRuleInfo, SIPFeature, SIPHeaderOptions, SIPInboundTrunkInfo, SIPMediaEncryption, SIPOutboundConfig, SIPOutboundTrunkInfo, SIPParticipantInfo, SIPStatus, SIPStatusCode, SIPTransport, SIPTrunkInfo, SIPTrunkInfo_TrunkKind, SIPUri, SegmentedFileOutput, SegmentedFileProtocol, SegmentedFileSuffix, SegmentsInfo, SendDataRequest, SendDataResponse, ServerInfo, ServerInfo_Edition, ServerMessage, SessionDescription, SignalRequest, SignalResponse, SignalTarget, SimulateJobRequest, SimulateScenario, SimulcastCodec, SimulcastCodecInfo, SipDTMF, SpeakerInfo, SpeakersChanged, StopEgressRequest, StreamInfo, StreamInfoList, StreamInfo_Status, StreamOutput, StreamProtocol, StreamState, StreamStateInfo, StreamStateUpdate, SubscribedCodec, SubscribedQuality, SubscribedQualityUpdate, SubscriptionError, SubscriptionPermission, SubscriptionPermissionUpdate, SubscriptionResponse, SyncState, TimeSeriesMetric, TimedVersion, TrackCompositeEgressRequest, TrackEgressRequest, TrackInfo, TrackPermission, TrackPublishedResponse, TrackSource, TrackSubscribed, TrackType, TrackUnpublishedResponse, Transcription, TranscriptionSegment, TransferSIPParticipantRequest, TrickleRequest, UpdateIngressRequest, UpdateJobStatus, UpdateLayoutRequest, UpdateLocalAudioTrack, UpdateLocalVideoTrack, UpdateParticipantMetadata, UpdateParticipantRequest, UpdateRoomMetadataRequest, UpdateStreamRequest, UpdateSubscription, UpdateSubscriptionsRequest, UpdateSubscriptionsResponse, UpdateTrackSettings, UpdateVideoLayers, UpdateWorkerStatus, UserPacket, VP8MungerState, VideoCodec, VideoConfiguration, VideoLayer, VideoQuality, WebEgressRequest, WebhookEvent, WorkerMessage, WorkerPing, WorkerPong, WorkerStatus, version };
|
|
6384
|
+
export { ActiveSpeakerUpdate, AddTrackRequest, AgentDispatch, AgentDispatchState, AliOSSUpload, AudioCodec, AudioMixing, AudioTrackFeature, AutoParticipantEgress, AutoTrackEgress, AvailabilityRequest, AvailabilityResponse, AzureBlobUpload, BackupCodecPolicy, CandidateProtocol, ChatMessage, ClientConfigSetting, ClientConfiguration, ClientInfo, ClientInfo_SDK, Codec, ConnectionQuality, ConnectionQualityInfo, ConnectionQualityUpdate, CreateAgentDispatchRequest, CreateIngressRequest, CreateRoomRequest, CreateSIPDispatchRuleRequest, CreateSIPInboundTrunkRequest, CreateSIPOutboundTrunkRequest, CreateSIPParticipantRequest, CreateSIPTrunkRequest, DataChannelInfo, DataPacket, DataPacket_Kind, DataStream, DataStream_ByteHeader, DataStream_Chunk, DataStream_Header, DataStream_OperationType, DataStream_TextHeader, DataStream_Trailer, DeleteAgentDispatchRequest, DeleteIngressRequest, DeleteRoomRequest, DeleteRoomResponse, DeleteSIPDispatchRuleRequest, DeleteSIPTrunkRequest, DirectFileOutput, DisabledCodecs, DisconnectReason, EgressInfo, EgressSourceType, EgressStatus, EncodedFileOutput, EncodedFileType, EncodingOptions, EncodingOptionsPreset, Encryption, Encryption_Type, EventMetric, FileInfo, ForwardParticipantRequest, ForwardParticipantResponse, GCPUpload, GetSIPInboundTrunkRequest, GetSIPInboundTrunkResponse, GetSIPOutboundTrunkRequest, GetSIPOutboundTrunkResponse, ICEServer, ImageCodec, ImageFileSuffix, ImageOutput, ImagesInfo, IngressAudioEncodingOptions, IngressAudioEncodingPreset, IngressAudioOptions, IngressInfo, IngressInput, IngressState, IngressState_Status, IngressVideoEncodingOptions, IngressVideoEncodingPreset, IngressVideoOptions, InputAudioState, InputVideoState, Job, JobAssignment, JobState, JobStatus, JobTermination, JobType, JoinResponse, LeaveRequest, LeaveRequest_Action, ListAgentDispatchRequest, ListAgentDispatchResponse, ListEgressRequest, ListEgressResponse, ListIngressRequest, ListIngressResponse, ListParticipantsRequest, ListParticipantsResponse, ListRoomsRequest, ListRoomsResponse, ListSIPDispatchRuleRequest, ListSIPDispatchRuleResponse, ListSIPInboundTrunkRequest, ListSIPInboundTrunkResponse, ListSIPOutboundTrunkRequest, ListSIPOutboundTrunkResponse, ListSIPTrunkRequest, ListSIPTrunkResponse, MetricLabel, MetricSample, MetricsBatch, MigrateJobRequest, MuteRoomTrackRequest, MuteRoomTrackResponse, MuteTrackRequest, Pagination, ParticipantEgressRequest, ParticipantInfo, ParticipantInfo_Kind, ParticipantInfo_State, ParticipantPermission, ParticipantTracks, ParticipantUpdate, Ping, PlayoutDelay, Pong, ProxyConfig, RTCPSenderReportState, RTPDrift, RTPForwarderState, RTPMungerState, RTPStats, ReconnectReason, ReconnectResponse, RegionInfo, RegionSettings, RegisterWorkerRequest, RegisterWorkerResponse, RemoveParticipantResponse, RequestResponse, RequestResponse_Reason, Room, RoomAgent, RoomAgentDispatch, RoomCompositeEgressRequest, RoomConfiguration, RoomEgress, RoomParticipantIdentity, RoomUpdate, RpcAck, RpcError, RpcRequest, RpcResponse, S3Upload, SIPCallDirection, SIPCallInfo, SIPCallStatus, SIPDispatchRule, SIPDispatchRuleCallee, SIPDispatchRuleDirect, SIPDispatchRuleIndividual, SIPDispatchRuleInfo, SIPFeature, SIPHeaderOptions, SIPInboundTrunkInfo, SIPMediaEncryption, SIPOutboundConfig, SIPOutboundTrunkInfo, SIPParticipantInfo, SIPStatus, SIPStatusCode, SIPTransport, SIPTrunkInfo, SIPTrunkInfo_TrunkKind, SIPUri, SegmentedFileOutput, SegmentedFileProtocol, SegmentedFileSuffix, SegmentsInfo, SendDataRequest, SendDataResponse, ServerInfo, ServerInfo_Edition, ServerMessage, SessionDescription, SignalRequest, SignalResponse, SignalTarget, SimulateJobRequest, SimulateScenario, SimulcastCodec, SimulcastCodecInfo, SipDTMF, SpeakerInfo, SpeakersChanged, StopEgressRequest, StreamInfo, StreamInfoList, StreamInfo_Status, StreamOutput, StreamProtocol, StreamState, StreamStateInfo, StreamStateUpdate, SubscribedCodec, SubscribedQuality, SubscribedQualityUpdate, SubscriptionError, SubscriptionPermission, SubscriptionPermissionUpdate, SubscriptionResponse, SyncState, TimeSeriesMetric, TimedVersion, TrackCompositeEgressRequest, TrackEgressRequest, TrackInfo, TrackPermission, TrackPublishedResponse, TrackSource, TrackSubscribed, TrackType, TrackUnpublishedResponse, Transcription, TranscriptionSegment, TransferSIPParticipantRequest, TrickleRequest, UpdateIngressRequest, UpdateJobStatus, UpdateLayoutRequest, UpdateLocalAudioTrack, UpdateLocalVideoTrack, UpdateParticipantMetadata, UpdateParticipantRequest, UpdateRoomMetadataRequest, UpdateStreamRequest, UpdateSubscription, UpdateSubscriptionsRequest, UpdateSubscriptionsResponse, UpdateTrackSettings, UpdateVideoLayers, UpdateWorkerStatus, UserPacket, VP8MungerState, VideoCodec, VideoConfiguration, VideoLayer, VideoQuality, WebEgressRequest, WebhookEvent, WorkerMessage, WorkerPing, WorkerPong, WorkerStatus, version };
|
|
6299
6385
|
//# sourceMappingURL=index.mjs.map
|