@livekit/protocol 1.37.1 → 1.38.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 +51 -2
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +111 -1
- package/dist/index.d.mts +111 -1
- package/dist/index.d.ts +111 -1
- package/dist/index.mjs +49 -3
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
- package/src/gen/livekit_room_pb.d.ts +59 -0
- package/src/gen/livekit_room_pb.js +20 -0
- package/src/gen/livekit_rtc_pb.d.ts +51 -0
- package/src/gen/livekit_rtc_pb.js +14 -0
- package/src/gen/version.js +1 -1
package/package.json
CHANGED
|
@@ -838,3 +838,62 @@ export declare class ForwardParticipantResponse extends Message<ForwardParticipa
|
|
|
838
838
|
static equals(a: ForwardParticipantResponse | PlainMessage<ForwardParticipantResponse> | undefined, b: ForwardParticipantResponse | PlainMessage<ForwardParticipantResponse> | undefined): boolean;
|
|
839
839
|
}
|
|
840
840
|
|
|
841
|
+
/**
|
|
842
|
+
* @generated from message livekit.MoveParticipantRequest
|
|
843
|
+
*/
|
|
844
|
+
export declare class MoveParticipantRequest extends Message<MoveParticipantRequest> {
|
|
845
|
+
/**
|
|
846
|
+
* room to move participant from
|
|
847
|
+
*
|
|
848
|
+
* @generated from field: string room = 1;
|
|
849
|
+
*/
|
|
850
|
+
room: string;
|
|
851
|
+
|
|
852
|
+
/**
|
|
853
|
+
* identity of the participant to move to
|
|
854
|
+
*
|
|
855
|
+
* @generated from field: string identity = 2;
|
|
856
|
+
*/
|
|
857
|
+
identity: string;
|
|
858
|
+
|
|
859
|
+
/**
|
|
860
|
+
* room to move participant to
|
|
861
|
+
*
|
|
862
|
+
* @generated from field: string destination_room = 3;
|
|
863
|
+
*/
|
|
864
|
+
destinationRoom: string;
|
|
865
|
+
|
|
866
|
+
constructor(data?: PartialMessage<MoveParticipantRequest>);
|
|
867
|
+
|
|
868
|
+
static readonly runtime: typeof proto3;
|
|
869
|
+
static readonly typeName = "livekit.MoveParticipantRequest";
|
|
870
|
+
static readonly fields: FieldList;
|
|
871
|
+
|
|
872
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): MoveParticipantRequest;
|
|
873
|
+
|
|
874
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): MoveParticipantRequest;
|
|
875
|
+
|
|
876
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): MoveParticipantRequest;
|
|
877
|
+
|
|
878
|
+
static equals(a: MoveParticipantRequest | PlainMessage<MoveParticipantRequest> | undefined, b: MoveParticipantRequest | PlainMessage<MoveParticipantRequest> | undefined): boolean;
|
|
879
|
+
}
|
|
880
|
+
|
|
881
|
+
/**
|
|
882
|
+
* @generated from message livekit.MoveParticipantResponse
|
|
883
|
+
*/
|
|
884
|
+
export declare class MoveParticipantResponse extends Message<MoveParticipantResponse> {
|
|
885
|
+
constructor(data?: PartialMessage<MoveParticipantResponse>);
|
|
886
|
+
|
|
887
|
+
static readonly runtime: typeof proto3;
|
|
888
|
+
static readonly typeName = "livekit.MoveParticipantResponse";
|
|
889
|
+
static readonly fields: FieldList;
|
|
890
|
+
|
|
891
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): MoveParticipantResponse;
|
|
892
|
+
|
|
893
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): MoveParticipantResponse;
|
|
894
|
+
|
|
895
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): MoveParticipantResponse;
|
|
896
|
+
|
|
897
|
+
static equals(a: MoveParticipantResponse | PlainMessage<MoveParticipantResponse> | undefined, b: MoveParticipantResponse | PlainMessage<MoveParticipantResponse> | undefined): boolean;
|
|
898
|
+
}
|
|
899
|
+
|
|
@@ -278,3 +278,23 @@ export const ForwardParticipantResponse = /*@__PURE__*/ proto3.makeMessageType(
|
|
|
278
278
|
[],
|
|
279
279
|
);
|
|
280
280
|
|
|
281
|
+
/**
|
|
282
|
+
* @generated from message livekit.MoveParticipantRequest
|
|
283
|
+
*/
|
|
284
|
+
export const MoveParticipantRequest = /*@__PURE__*/ proto3.makeMessageType(
|
|
285
|
+
"livekit.MoveParticipantRequest",
|
|
286
|
+
() => [
|
|
287
|
+
{ no: 1, name: "room", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
288
|
+
{ no: 2, name: "identity", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
289
|
+
{ no: 3, name: "destination_room", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
290
|
+
],
|
|
291
|
+
);
|
|
292
|
+
|
|
293
|
+
/**
|
|
294
|
+
* @generated from message livekit.MoveParticipantResponse
|
|
295
|
+
*/
|
|
296
|
+
export const MoveParticipantResponse = /*@__PURE__*/ proto3.makeMessageType(
|
|
297
|
+
"livekit.MoveParticipantResponse",
|
|
298
|
+
[],
|
|
299
|
+
);
|
|
300
|
+
|
|
@@ -415,6 +415,14 @@ export declare class SignalResponse extends Message<SignalResponse> {
|
|
|
415
415
|
*/
|
|
416
416
|
value: TrackSubscribed;
|
|
417
417
|
case: "trackSubscribed";
|
|
418
|
+
} | {
|
|
419
|
+
/**
|
|
420
|
+
* notify to the participant when they have been moved to a new room
|
|
421
|
+
*
|
|
422
|
+
* @generated from field: livekit.RoomMovedResponse room_moved = 24;
|
|
423
|
+
*/
|
|
424
|
+
value: RoomMovedResponse;
|
|
425
|
+
case: "roomMoved";
|
|
418
426
|
} | { case: undefined; value?: undefined };
|
|
419
427
|
|
|
420
428
|
constructor(data?: PartialMessage<SignalResponse>);
|
|
@@ -1599,6 +1607,49 @@ export declare class SubscriptionPermissionUpdate extends Message<SubscriptionPe
|
|
|
1599
1607
|
static equals(a: SubscriptionPermissionUpdate | PlainMessage<SubscriptionPermissionUpdate> | undefined, b: SubscriptionPermissionUpdate | PlainMessage<SubscriptionPermissionUpdate> | undefined): boolean;
|
|
1600
1608
|
}
|
|
1601
1609
|
|
|
1610
|
+
/**
|
|
1611
|
+
* @generated from message livekit.RoomMovedResponse
|
|
1612
|
+
*/
|
|
1613
|
+
export declare class RoomMovedResponse extends Message<RoomMovedResponse> {
|
|
1614
|
+
/**
|
|
1615
|
+
* information about the new room
|
|
1616
|
+
*
|
|
1617
|
+
* @generated from field: livekit.Room room = 1;
|
|
1618
|
+
*/
|
|
1619
|
+
room?: Room;
|
|
1620
|
+
|
|
1621
|
+
/**
|
|
1622
|
+
* new reconnect token that can be used to reconnect to the new room
|
|
1623
|
+
*
|
|
1624
|
+
* @generated from field: string token = 2;
|
|
1625
|
+
*/
|
|
1626
|
+
token: string;
|
|
1627
|
+
|
|
1628
|
+
/**
|
|
1629
|
+
* @generated from field: livekit.ParticipantInfo participant = 3;
|
|
1630
|
+
*/
|
|
1631
|
+
participant?: ParticipantInfo;
|
|
1632
|
+
|
|
1633
|
+
/**
|
|
1634
|
+
* @generated from field: repeated livekit.ParticipantInfo other_participants = 4;
|
|
1635
|
+
*/
|
|
1636
|
+
otherParticipants: ParticipantInfo[];
|
|
1637
|
+
|
|
1638
|
+
constructor(data?: PartialMessage<RoomMovedResponse>);
|
|
1639
|
+
|
|
1640
|
+
static readonly runtime: typeof proto3;
|
|
1641
|
+
static readonly typeName = "livekit.RoomMovedResponse";
|
|
1642
|
+
static readonly fields: FieldList;
|
|
1643
|
+
|
|
1644
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): RoomMovedResponse;
|
|
1645
|
+
|
|
1646
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): RoomMovedResponse;
|
|
1647
|
+
|
|
1648
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): RoomMovedResponse;
|
|
1649
|
+
|
|
1650
|
+
static equals(a: RoomMovedResponse | PlainMessage<RoomMovedResponse> | undefined, b: RoomMovedResponse | PlainMessage<RoomMovedResponse> | undefined): boolean;
|
|
1651
|
+
}
|
|
1652
|
+
|
|
1602
1653
|
/**
|
|
1603
1654
|
* @generated from message livekit.SyncState
|
|
1604
1655
|
*/
|
|
@@ -108,6 +108,7 @@ export const SignalResponse = /*@__PURE__*/ proto3.makeMessageType(
|
|
|
108
108
|
{ no: 21, name: "subscription_response", kind: "message", T: SubscriptionResponse, oneof: "message" },
|
|
109
109
|
{ no: 22, name: "request_response", kind: "message", T: RequestResponse, oneof: "message" },
|
|
110
110
|
{ no: 23, name: "track_subscribed", kind: "message", T: TrackSubscribed, oneof: "message" },
|
|
111
|
+
{ no: 24, name: "room_moved", kind: "message", T: RoomMovedResponse, oneof: "message" },
|
|
111
112
|
],
|
|
112
113
|
);
|
|
113
114
|
|
|
@@ -499,6 +500,19 @@ export const SubscriptionPermissionUpdate = /*@__PURE__*/ proto3.makeMessageType
|
|
|
499
500
|
],
|
|
500
501
|
);
|
|
501
502
|
|
|
503
|
+
/**
|
|
504
|
+
* @generated from message livekit.RoomMovedResponse
|
|
505
|
+
*/
|
|
506
|
+
export const RoomMovedResponse = /*@__PURE__*/ proto3.makeMessageType(
|
|
507
|
+
"livekit.RoomMovedResponse",
|
|
508
|
+
() => [
|
|
509
|
+
{ no: 1, name: "room", kind: "message", T: Room },
|
|
510
|
+
{ no: 2, name: "token", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
511
|
+
{ no: 3, name: "participant", kind: "message", T: ParticipantInfo },
|
|
512
|
+
{ no: 4, name: "other_participants", kind: "message", T: ParticipantInfo, repeated: true },
|
|
513
|
+
],
|
|
514
|
+
);
|
|
515
|
+
|
|
502
516
|
/**
|
|
503
517
|
* @generated from message livekit.SyncState
|
|
504
518
|
*/
|
package/src/gen/version.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
// Generated by genversion.
|
|
2
|
-
export const version = '1.
|
|
2
|
+
export const version = '1.38.0';
|