@livekit/rtc-node 0.5.1 → 0.6.1
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/README.md +5 -2
- package/dist/audio_frame.d.ts.map +1 -1
- package/dist/audio_frame.js +5 -0
- package/dist/audio_frame.js.map +1 -1
- package/dist/audio_source.d.ts +1 -1
- package/dist/audio_source.d.ts.map +1 -1
- package/dist/audio_source.js +2 -1
- package/dist/audio_source.js.map +1 -1
- package/dist/audio_stream.d.ts.map +1 -1
- package/dist/ffi_client.d.ts.map +1 -1
- package/dist/napi/native.d.ts +1 -1
- package/dist/participant.d.ts +5 -2
- package/dist/participant.d.ts.map +1 -1
- package/dist/participant.js +40 -16
- package/dist/participant.js.map +1 -1
- package/dist/proto/audio_frame_pb.d.ts +4 -0
- package/dist/proto/audio_frame_pb.d.ts.map +1 -1
- package/dist/proto/audio_frame_pb.js +1 -0
- package/dist/proto/audio_frame_pb.js.map +1 -1
- package/dist/proto/ffi_pb.d.ts +105 -51
- package/dist/proto/ffi_pb.d.ts.map +1 -1
- package/dist/proto/ffi_pb.js +48 -39
- package/dist/proto/ffi_pb.js.map +1 -1
- package/dist/proto/participant_pb.d.ts +6 -0
- package/dist/proto/participant_pb.d.ts.map +1 -1
- package/dist/proto/participant_pb.js +5 -0
- package/dist/proto/participant_pb.js.map +1 -1
- package/dist/proto/room_pb.d.ts +501 -110
- package/dist/proto/room_pb.d.ts.map +1 -1
- package/dist/proto/room_pb.js +672 -128
- package/dist/proto/room_pb.js.map +1 -1
- package/dist/room.d.ts +5 -2
- package/dist/room.d.ts.map +1 -1
- package/dist/room.js +40 -24
- package/dist/room.js.map +1 -1
- package/dist/video_stream.d.ts.map +1 -1
- package/package.json +6 -6
- package/src/audio_frame.ts +5 -0
- package/src/audio_source.ts +2 -1
- package/src/napi/native.d.ts +1 -1
- package/src/participant.ts +65 -28
- package/src/proto/audio_frame_pb.ts +7 -1
- package/src/proto/e2ee_pb.ts +1 -1
- package/src/proto/ffi_pb.ts +153 -90
- package/src/proto/handle_pb.ts +1 -1
- package/src/proto/participant_pb.ts +7 -1
- package/src/proto/room_pb.ts +900 -168
- package/src/proto/stats_pb.ts +1 -1
- package/src/proto/track_pb.ts +1 -1
- package/src/proto/video_frame_pb.ts +1 -1
- package/src/room.ts +55 -26
package/dist/proto/room_pb.js
CHANGED
|
@@ -589,15 +589,18 @@ export class PublishDataRequest extends Message {
|
|
|
589
589
|
*/
|
|
590
590
|
this.dataLen = protoInt64.zero;
|
|
591
591
|
/**
|
|
592
|
-
* @generated from field:
|
|
592
|
+
* @generated from field: bool reliable = 4;
|
|
593
593
|
*/
|
|
594
|
-
this.
|
|
594
|
+
this.reliable = false;
|
|
595
595
|
/**
|
|
596
|
-
*
|
|
597
|
-
*
|
|
598
|
-
* @generated from field: repeated string destination_sids = 5;
|
|
596
|
+
* @generated from field: repeated string destination_sids = 5 [deprecated = true];
|
|
597
|
+
* @deprecated
|
|
599
598
|
*/
|
|
600
599
|
this.destinationSids = [];
|
|
600
|
+
/**
|
|
601
|
+
* @generated from field: repeated string destination_identities = 7;
|
|
602
|
+
*/
|
|
603
|
+
this.destinationIdentities = [];
|
|
601
604
|
proto3.util.initPartial(data, this);
|
|
602
605
|
}
|
|
603
606
|
static fromBinary(bytes, options) {
|
|
@@ -619,9 +622,10 @@ PublishDataRequest.fields = proto3.util.newFieldList(() => [
|
|
|
619
622
|
{ no: 1, name: "local_participant_handle", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
|
|
620
623
|
{ no: 2, name: "data_ptr", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
|
|
621
624
|
{ no: 3, name: "data_len", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
|
|
622
|
-
{ no: 4, name: "
|
|
625
|
+
{ no: 4, name: "reliable", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
|
|
623
626
|
{ no: 5, name: "destination_sids", kind: "scalar", T: 9 /* ScalarType.STRING */, repeated: true },
|
|
624
627
|
{ no: 6, name: "topic", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
|
|
628
|
+
{ no: 7, name: "destination_identities", kind: "scalar", T: 9 /* ScalarType.STRING */, repeated: true },
|
|
625
629
|
]);
|
|
626
630
|
/**
|
|
627
631
|
* @generated from message livekit.proto.PublishDataResponse
|
|
@@ -684,12 +688,228 @@ PublishDataCallback.fields = proto3.util.newFieldList(() => [
|
|
|
684
688
|
{ no: 1, name: "async_id", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
|
|
685
689
|
{ no: 2, name: "error", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
|
|
686
690
|
]);
|
|
691
|
+
/**
|
|
692
|
+
* Publish transcription messages to room
|
|
693
|
+
*
|
|
694
|
+
* @generated from message livekit.proto.PublishTranscriptionRequest
|
|
695
|
+
*/
|
|
696
|
+
export class PublishTranscriptionRequest extends Message {
|
|
697
|
+
constructor(data) {
|
|
698
|
+
super();
|
|
699
|
+
/**
|
|
700
|
+
* @generated from field: uint64 local_participant_handle = 1;
|
|
701
|
+
*/
|
|
702
|
+
this.localParticipantHandle = protoInt64.zero;
|
|
703
|
+
/**
|
|
704
|
+
* @generated from field: string participant_identity = 2;
|
|
705
|
+
*/
|
|
706
|
+
this.participantIdentity = "";
|
|
707
|
+
/**
|
|
708
|
+
* @generated from field: string track_id = 3;
|
|
709
|
+
*/
|
|
710
|
+
this.trackId = "";
|
|
711
|
+
/**
|
|
712
|
+
* @generated from field: repeated livekit.proto.TranscriptionSegment segments = 4;
|
|
713
|
+
*/
|
|
714
|
+
this.segments = [];
|
|
715
|
+
proto3.util.initPartial(data, this);
|
|
716
|
+
}
|
|
717
|
+
static fromBinary(bytes, options) {
|
|
718
|
+
return new PublishTranscriptionRequest().fromBinary(bytes, options);
|
|
719
|
+
}
|
|
720
|
+
static fromJson(jsonValue, options) {
|
|
721
|
+
return new PublishTranscriptionRequest().fromJson(jsonValue, options);
|
|
722
|
+
}
|
|
723
|
+
static fromJsonString(jsonString, options) {
|
|
724
|
+
return new PublishTranscriptionRequest().fromJsonString(jsonString, options);
|
|
725
|
+
}
|
|
726
|
+
static equals(a, b) {
|
|
727
|
+
return proto3.util.equals(PublishTranscriptionRequest, a, b);
|
|
728
|
+
}
|
|
729
|
+
}
|
|
730
|
+
PublishTranscriptionRequest.runtime = proto3;
|
|
731
|
+
PublishTranscriptionRequest.typeName = "livekit.proto.PublishTranscriptionRequest";
|
|
732
|
+
PublishTranscriptionRequest.fields = proto3.util.newFieldList(() => [
|
|
733
|
+
{ no: 1, name: "local_participant_handle", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
|
|
734
|
+
{ no: 2, name: "participant_identity", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
735
|
+
{ no: 3, name: "track_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
736
|
+
{ no: 4, name: "segments", kind: "message", T: TranscriptionSegment, repeated: true },
|
|
737
|
+
]);
|
|
738
|
+
/**
|
|
739
|
+
* @generated from message livekit.proto.PublishTranscriptionResponse
|
|
740
|
+
*/
|
|
741
|
+
export class PublishTranscriptionResponse extends Message {
|
|
742
|
+
constructor(data) {
|
|
743
|
+
super();
|
|
744
|
+
/**
|
|
745
|
+
* @generated from field: uint64 async_id = 1;
|
|
746
|
+
*/
|
|
747
|
+
this.asyncId = protoInt64.zero;
|
|
748
|
+
proto3.util.initPartial(data, this);
|
|
749
|
+
}
|
|
750
|
+
static fromBinary(bytes, options) {
|
|
751
|
+
return new PublishTranscriptionResponse().fromBinary(bytes, options);
|
|
752
|
+
}
|
|
753
|
+
static fromJson(jsonValue, options) {
|
|
754
|
+
return new PublishTranscriptionResponse().fromJson(jsonValue, options);
|
|
755
|
+
}
|
|
756
|
+
static fromJsonString(jsonString, options) {
|
|
757
|
+
return new PublishTranscriptionResponse().fromJsonString(jsonString, options);
|
|
758
|
+
}
|
|
759
|
+
static equals(a, b) {
|
|
760
|
+
return proto3.util.equals(PublishTranscriptionResponse, a, b);
|
|
761
|
+
}
|
|
762
|
+
}
|
|
763
|
+
PublishTranscriptionResponse.runtime = proto3;
|
|
764
|
+
PublishTranscriptionResponse.typeName = "livekit.proto.PublishTranscriptionResponse";
|
|
765
|
+
PublishTranscriptionResponse.fields = proto3.util.newFieldList(() => [
|
|
766
|
+
{ no: 1, name: "async_id", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
|
|
767
|
+
]);
|
|
768
|
+
/**
|
|
769
|
+
* @generated from message livekit.proto.PublishTranscriptionCallback
|
|
770
|
+
*/
|
|
771
|
+
export class PublishTranscriptionCallback extends Message {
|
|
772
|
+
constructor(data) {
|
|
773
|
+
super();
|
|
774
|
+
/**
|
|
775
|
+
* @generated from field: uint64 async_id = 1;
|
|
776
|
+
*/
|
|
777
|
+
this.asyncId = protoInt64.zero;
|
|
778
|
+
proto3.util.initPartial(data, this);
|
|
779
|
+
}
|
|
780
|
+
static fromBinary(bytes, options) {
|
|
781
|
+
return new PublishTranscriptionCallback().fromBinary(bytes, options);
|
|
782
|
+
}
|
|
783
|
+
static fromJson(jsonValue, options) {
|
|
784
|
+
return new PublishTranscriptionCallback().fromJson(jsonValue, options);
|
|
785
|
+
}
|
|
786
|
+
static fromJsonString(jsonString, options) {
|
|
787
|
+
return new PublishTranscriptionCallback().fromJsonString(jsonString, options);
|
|
788
|
+
}
|
|
789
|
+
static equals(a, b) {
|
|
790
|
+
return proto3.util.equals(PublishTranscriptionCallback, a, b);
|
|
791
|
+
}
|
|
792
|
+
}
|
|
793
|
+
PublishTranscriptionCallback.runtime = proto3;
|
|
794
|
+
PublishTranscriptionCallback.typeName = "livekit.proto.PublishTranscriptionCallback";
|
|
795
|
+
PublishTranscriptionCallback.fields = proto3.util.newFieldList(() => [
|
|
796
|
+
{ no: 1, name: "async_id", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
|
|
797
|
+
{ no: 2, name: "error", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
|
|
798
|
+
]);
|
|
799
|
+
/**
|
|
800
|
+
* Publish Sip DTMF messages to other participants
|
|
801
|
+
*
|
|
802
|
+
* @generated from message livekit.proto.PublishSipDtmfRequest
|
|
803
|
+
*/
|
|
804
|
+
export class PublishSipDtmfRequest extends Message {
|
|
805
|
+
constructor(data) {
|
|
806
|
+
super();
|
|
807
|
+
/**
|
|
808
|
+
* @generated from field: uint64 local_participant_handle = 1;
|
|
809
|
+
*/
|
|
810
|
+
this.localParticipantHandle = protoInt64.zero;
|
|
811
|
+
/**
|
|
812
|
+
* @generated from field: uint32 code = 2;
|
|
813
|
+
*/
|
|
814
|
+
this.code = 0;
|
|
815
|
+
/**
|
|
816
|
+
* @generated from field: string digit = 3;
|
|
817
|
+
*/
|
|
818
|
+
this.digit = "";
|
|
819
|
+
/**
|
|
820
|
+
* @generated from field: repeated string destination_identities = 4;
|
|
821
|
+
*/
|
|
822
|
+
this.destinationIdentities = [];
|
|
823
|
+
proto3.util.initPartial(data, this);
|
|
824
|
+
}
|
|
825
|
+
static fromBinary(bytes, options) {
|
|
826
|
+
return new PublishSipDtmfRequest().fromBinary(bytes, options);
|
|
827
|
+
}
|
|
828
|
+
static fromJson(jsonValue, options) {
|
|
829
|
+
return new PublishSipDtmfRequest().fromJson(jsonValue, options);
|
|
830
|
+
}
|
|
831
|
+
static fromJsonString(jsonString, options) {
|
|
832
|
+
return new PublishSipDtmfRequest().fromJsonString(jsonString, options);
|
|
833
|
+
}
|
|
834
|
+
static equals(a, b) {
|
|
835
|
+
return proto3.util.equals(PublishSipDtmfRequest, a, b);
|
|
836
|
+
}
|
|
837
|
+
}
|
|
838
|
+
PublishSipDtmfRequest.runtime = proto3;
|
|
839
|
+
PublishSipDtmfRequest.typeName = "livekit.proto.PublishSipDtmfRequest";
|
|
840
|
+
PublishSipDtmfRequest.fields = proto3.util.newFieldList(() => [
|
|
841
|
+
{ no: 1, name: "local_participant_handle", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
|
|
842
|
+
{ no: 2, name: "code", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
|
|
843
|
+
{ no: 3, name: "digit", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
844
|
+
{ no: 4, name: "destination_identities", kind: "scalar", T: 9 /* ScalarType.STRING */, repeated: true },
|
|
845
|
+
]);
|
|
846
|
+
/**
|
|
847
|
+
* @generated from message livekit.proto.PublishSipDtmfResponse
|
|
848
|
+
*/
|
|
849
|
+
export class PublishSipDtmfResponse extends Message {
|
|
850
|
+
constructor(data) {
|
|
851
|
+
super();
|
|
852
|
+
/**
|
|
853
|
+
* @generated from field: uint64 async_id = 1;
|
|
854
|
+
*/
|
|
855
|
+
this.asyncId = protoInt64.zero;
|
|
856
|
+
proto3.util.initPartial(data, this);
|
|
857
|
+
}
|
|
858
|
+
static fromBinary(bytes, options) {
|
|
859
|
+
return new PublishSipDtmfResponse().fromBinary(bytes, options);
|
|
860
|
+
}
|
|
861
|
+
static fromJson(jsonValue, options) {
|
|
862
|
+
return new PublishSipDtmfResponse().fromJson(jsonValue, options);
|
|
863
|
+
}
|
|
864
|
+
static fromJsonString(jsonString, options) {
|
|
865
|
+
return new PublishSipDtmfResponse().fromJsonString(jsonString, options);
|
|
866
|
+
}
|
|
867
|
+
static equals(a, b) {
|
|
868
|
+
return proto3.util.equals(PublishSipDtmfResponse, a, b);
|
|
869
|
+
}
|
|
870
|
+
}
|
|
871
|
+
PublishSipDtmfResponse.runtime = proto3;
|
|
872
|
+
PublishSipDtmfResponse.typeName = "livekit.proto.PublishSipDtmfResponse";
|
|
873
|
+
PublishSipDtmfResponse.fields = proto3.util.newFieldList(() => [
|
|
874
|
+
{ no: 1, name: "async_id", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
|
|
875
|
+
]);
|
|
876
|
+
/**
|
|
877
|
+
* @generated from message livekit.proto.PublishSipDtmfCallback
|
|
878
|
+
*/
|
|
879
|
+
export class PublishSipDtmfCallback extends Message {
|
|
880
|
+
constructor(data) {
|
|
881
|
+
super();
|
|
882
|
+
/**
|
|
883
|
+
* @generated from field: uint64 async_id = 1;
|
|
884
|
+
*/
|
|
885
|
+
this.asyncId = protoInt64.zero;
|
|
886
|
+
proto3.util.initPartial(data, this);
|
|
887
|
+
}
|
|
888
|
+
static fromBinary(bytes, options) {
|
|
889
|
+
return new PublishSipDtmfCallback().fromBinary(bytes, options);
|
|
890
|
+
}
|
|
891
|
+
static fromJson(jsonValue, options) {
|
|
892
|
+
return new PublishSipDtmfCallback().fromJson(jsonValue, options);
|
|
893
|
+
}
|
|
894
|
+
static fromJsonString(jsonString, options) {
|
|
895
|
+
return new PublishSipDtmfCallback().fromJsonString(jsonString, options);
|
|
896
|
+
}
|
|
897
|
+
static equals(a, b) {
|
|
898
|
+
return proto3.util.equals(PublishSipDtmfCallback, a, b);
|
|
899
|
+
}
|
|
900
|
+
}
|
|
901
|
+
PublishSipDtmfCallback.runtime = proto3;
|
|
902
|
+
PublishSipDtmfCallback.typeName = "livekit.proto.PublishSipDtmfCallback";
|
|
903
|
+
PublishSipDtmfCallback.fields = proto3.util.newFieldList(() => [
|
|
904
|
+
{ no: 1, name: "async_id", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
|
|
905
|
+
{ no: 2, name: "error", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
|
|
906
|
+
]);
|
|
687
907
|
/**
|
|
688
908
|
* Change the local participant's metadata
|
|
689
909
|
*
|
|
690
|
-
* @generated from message livekit.proto.
|
|
910
|
+
* @generated from message livekit.proto.SetLocalMetadataRequest
|
|
691
911
|
*/
|
|
692
|
-
export class
|
|
912
|
+
export class SetLocalMetadataRequest extends Message {
|
|
693
913
|
constructor(data) {
|
|
694
914
|
super();
|
|
695
915
|
/**
|
|
@@ -703,28 +923,126 @@ export class UpdateLocalMetadataRequest extends Message {
|
|
|
703
923
|
proto3.util.initPartial(data, this);
|
|
704
924
|
}
|
|
705
925
|
static fromBinary(bytes, options) {
|
|
706
|
-
return new
|
|
926
|
+
return new SetLocalMetadataRequest().fromBinary(bytes, options);
|
|
707
927
|
}
|
|
708
928
|
static fromJson(jsonValue, options) {
|
|
709
|
-
return new
|
|
929
|
+
return new SetLocalMetadataRequest().fromJson(jsonValue, options);
|
|
710
930
|
}
|
|
711
931
|
static fromJsonString(jsonString, options) {
|
|
712
|
-
return new
|
|
932
|
+
return new SetLocalMetadataRequest().fromJsonString(jsonString, options);
|
|
713
933
|
}
|
|
714
934
|
static equals(a, b) {
|
|
715
|
-
return proto3.util.equals(
|
|
935
|
+
return proto3.util.equals(SetLocalMetadataRequest, a, b);
|
|
716
936
|
}
|
|
717
937
|
}
|
|
718
|
-
|
|
719
|
-
|
|
720
|
-
|
|
938
|
+
SetLocalMetadataRequest.runtime = proto3;
|
|
939
|
+
SetLocalMetadataRequest.typeName = "livekit.proto.SetLocalMetadataRequest";
|
|
940
|
+
SetLocalMetadataRequest.fields = proto3.util.newFieldList(() => [
|
|
721
941
|
{ no: 1, name: "local_participant_handle", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
|
|
722
942
|
{ no: 2, name: "metadata", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
723
943
|
]);
|
|
724
944
|
/**
|
|
725
|
-
* @generated from message livekit.proto.
|
|
945
|
+
* @generated from message livekit.proto.SetLocalMetadataResponse
|
|
946
|
+
*/
|
|
947
|
+
export class SetLocalMetadataResponse extends Message {
|
|
948
|
+
constructor(data) {
|
|
949
|
+
super();
|
|
950
|
+
/**
|
|
951
|
+
* @generated from field: uint64 async_id = 1;
|
|
952
|
+
*/
|
|
953
|
+
this.asyncId = protoInt64.zero;
|
|
954
|
+
proto3.util.initPartial(data, this);
|
|
955
|
+
}
|
|
956
|
+
static fromBinary(bytes, options) {
|
|
957
|
+
return new SetLocalMetadataResponse().fromBinary(bytes, options);
|
|
958
|
+
}
|
|
959
|
+
static fromJson(jsonValue, options) {
|
|
960
|
+
return new SetLocalMetadataResponse().fromJson(jsonValue, options);
|
|
961
|
+
}
|
|
962
|
+
static fromJsonString(jsonString, options) {
|
|
963
|
+
return new SetLocalMetadataResponse().fromJsonString(jsonString, options);
|
|
964
|
+
}
|
|
965
|
+
static equals(a, b) {
|
|
966
|
+
return proto3.util.equals(SetLocalMetadataResponse, a, b);
|
|
967
|
+
}
|
|
968
|
+
}
|
|
969
|
+
SetLocalMetadataResponse.runtime = proto3;
|
|
970
|
+
SetLocalMetadataResponse.typeName = "livekit.proto.SetLocalMetadataResponse";
|
|
971
|
+
SetLocalMetadataResponse.fields = proto3.util.newFieldList(() => [
|
|
972
|
+
{ no: 1, name: "async_id", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
|
|
973
|
+
]);
|
|
974
|
+
/**
|
|
975
|
+
* @generated from message livekit.proto.SetLocalMetadataCallback
|
|
976
|
+
*/
|
|
977
|
+
export class SetLocalMetadataCallback extends Message {
|
|
978
|
+
constructor(data) {
|
|
979
|
+
super();
|
|
980
|
+
/**
|
|
981
|
+
* @generated from field: uint64 async_id = 1;
|
|
982
|
+
*/
|
|
983
|
+
this.asyncId = protoInt64.zero;
|
|
984
|
+
proto3.util.initPartial(data, this);
|
|
985
|
+
}
|
|
986
|
+
static fromBinary(bytes, options) {
|
|
987
|
+
return new SetLocalMetadataCallback().fromBinary(bytes, options);
|
|
988
|
+
}
|
|
989
|
+
static fromJson(jsonValue, options) {
|
|
990
|
+
return new SetLocalMetadataCallback().fromJson(jsonValue, options);
|
|
991
|
+
}
|
|
992
|
+
static fromJsonString(jsonString, options) {
|
|
993
|
+
return new SetLocalMetadataCallback().fromJsonString(jsonString, options);
|
|
994
|
+
}
|
|
995
|
+
static equals(a, b) {
|
|
996
|
+
return proto3.util.equals(SetLocalMetadataCallback, a, b);
|
|
997
|
+
}
|
|
998
|
+
}
|
|
999
|
+
SetLocalMetadataCallback.runtime = proto3;
|
|
1000
|
+
SetLocalMetadataCallback.typeName = "livekit.proto.SetLocalMetadataCallback";
|
|
1001
|
+
SetLocalMetadataCallback.fields = proto3.util.newFieldList(() => [
|
|
1002
|
+
{ no: 1, name: "async_id", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
|
|
1003
|
+
{ no: 2, name: "error", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
|
|
1004
|
+
]);
|
|
1005
|
+
/**
|
|
1006
|
+
* Change the local participant's attributes
|
|
1007
|
+
*
|
|
1008
|
+
* @generated from message livekit.proto.SetLocalAttributesRequest
|
|
1009
|
+
*/
|
|
1010
|
+
export class SetLocalAttributesRequest extends Message {
|
|
1011
|
+
constructor(data) {
|
|
1012
|
+
super();
|
|
1013
|
+
/**
|
|
1014
|
+
* @generated from field: uint64 local_participant_handle = 1;
|
|
1015
|
+
*/
|
|
1016
|
+
this.localParticipantHandle = protoInt64.zero;
|
|
1017
|
+
/**
|
|
1018
|
+
* @generated from field: map<string, string> attributes = 2;
|
|
1019
|
+
*/
|
|
1020
|
+
this.attributes = {};
|
|
1021
|
+
proto3.util.initPartial(data, this);
|
|
1022
|
+
}
|
|
1023
|
+
static fromBinary(bytes, options) {
|
|
1024
|
+
return new SetLocalAttributesRequest().fromBinary(bytes, options);
|
|
1025
|
+
}
|
|
1026
|
+
static fromJson(jsonValue, options) {
|
|
1027
|
+
return new SetLocalAttributesRequest().fromJson(jsonValue, options);
|
|
1028
|
+
}
|
|
1029
|
+
static fromJsonString(jsonString, options) {
|
|
1030
|
+
return new SetLocalAttributesRequest().fromJsonString(jsonString, options);
|
|
1031
|
+
}
|
|
1032
|
+
static equals(a, b) {
|
|
1033
|
+
return proto3.util.equals(SetLocalAttributesRequest, a, b);
|
|
1034
|
+
}
|
|
1035
|
+
}
|
|
1036
|
+
SetLocalAttributesRequest.runtime = proto3;
|
|
1037
|
+
SetLocalAttributesRequest.typeName = "livekit.proto.SetLocalAttributesRequest";
|
|
1038
|
+
SetLocalAttributesRequest.fields = proto3.util.newFieldList(() => [
|
|
1039
|
+
{ no: 1, name: "local_participant_handle", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
|
|
1040
|
+
{ no: 2, name: "attributes", kind: "map", K: 9 /* ScalarType.STRING */, V: { kind: "scalar", T: 9 /* ScalarType.STRING */ } },
|
|
1041
|
+
]);
|
|
1042
|
+
/**
|
|
1043
|
+
* @generated from message livekit.proto.SetLocalAttributesResponse
|
|
726
1044
|
*/
|
|
727
|
-
export class
|
|
1045
|
+
export class SetLocalAttributesResponse extends Message {
|
|
728
1046
|
constructor(data) {
|
|
729
1047
|
super();
|
|
730
1048
|
/**
|
|
@@ -734,27 +1052,27 @@ export class UpdateLocalMetadataResponse extends Message {
|
|
|
734
1052
|
proto3.util.initPartial(data, this);
|
|
735
1053
|
}
|
|
736
1054
|
static fromBinary(bytes, options) {
|
|
737
|
-
return new
|
|
1055
|
+
return new SetLocalAttributesResponse().fromBinary(bytes, options);
|
|
738
1056
|
}
|
|
739
1057
|
static fromJson(jsonValue, options) {
|
|
740
|
-
return new
|
|
1058
|
+
return new SetLocalAttributesResponse().fromJson(jsonValue, options);
|
|
741
1059
|
}
|
|
742
1060
|
static fromJsonString(jsonString, options) {
|
|
743
|
-
return new
|
|
1061
|
+
return new SetLocalAttributesResponse().fromJsonString(jsonString, options);
|
|
744
1062
|
}
|
|
745
1063
|
static equals(a, b) {
|
|
746
|
-
return proto3.util.equals(
|
|
1064
|
+
return proto3.util.equals(SetLocalAttributesResponse, a, b);
|
|
747
1065
|
}
|
|
748
1066
|
}
|
|
749
|
-
|
|
750
|
-
|
|
751
|
-
|
|
1067
|
+
SetLocalAttributesResponse.runtime = proto3;
|
|
1068
|
+
SetLocalAttributesResponse.typeName = "livekit.proto.SetLocalAttributesResponse";
|
|
1069
|
+
SetLocalAttributesResponse.fields = proto3.util.newFieldList(() => [
|
|
752
1070
|
{ no: 1, name: "async_id", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
|
|
753
1071
|
]);
|
|
754
1072
|
/**
|
|
755
|
-
* @generated from message livekit.proto.
|
|
1073
|
+
* @generated from message livekit.proto.SetLocalAttributesCallback
|
|
756
1074
|
*/
|
|
757
|
-
export class
|
|
1075
|
+
export class SetLocalAttributesCallback extends Message {
|
|
758
1076
|
constructor(data) {
|
|
759
1077
|
super();
|
|
760
1078
|
/**
|
|
@@ -764,29 +1082,30 @@ export class UpdateLocalMetadataCallback extends Message {
|
|
|
764
1082
|
proto3.util.initPartial(data, this);
|
|
765
1083
|
}
|
|
766
1084
|
static fromBinary(bytes, options) {
|
|
767
|
-
return new
|
|
1085
|
+
return new SetLocalAttributesCallback().fromBinary(bytes, options);
|
|
768
1086
|
}
|
|
769
1087
|
static fromJson(jsonValue, options) {
|
|
770
|
-
return new
|
|
1088
|
+
return new SetLocalAttributesCallback().fromJson(jsonValue, options);
|
|
771
1089
|
}
|
|
772
1090
|
static fromJsonString(jsonString, options) {
|
|
773
|
-
return new
|
|
1091
|
+
return new SetLocalAttributesCallback().fromJsonString(jsonString, options);
|
|
774
1092
|
}
|
|
775
1093
|
static equals(a, b) {
|
|
776
|
-
return proto3.util.equals(
|
|
1094
|
+
return proto3.util.equals(SetLocalAttributesCallback, a, b);
|
|
777
1095
|
}
|
|
778
1096
|
}
|
|
779
|
-
|
|
780
|
-
|
|
781
|
-
|
|
1097
|
+
SetLocalAttributesCallback.runtime = proto3;
|
|
1098
|
+
SetLocalAttributesCallback.typeName = "livekit.proto.SetLocalAttributesCallback";
|
|
1099
|
+
SetLocalAttributesCallback.fields = proto3.util.newFieldList(() => [
|
|
782
1100
|
{ no: 1, name: "async_id", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
|
|
1101
|
+
{ no: 2, name: "error", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
|
|
783
1102
|
]);
|
|
784
1103
|
/**
|
|
785
1104
|
* Change the local participant's name
|
|
786
1105
|
*
|
|
787
|
-
* @generated from message livekit.proto.
|
|
1106
|
+
* @generated from message livekit.proto.SetLocalNameRequest
|
|
788
1107
|
*/
|
|
789
|
-
export class
|
|
1108
|
+
export class SetLocalNameRequest extends Message {
|
|
790
1109
|
constructor(data) {
|
|
791
1110
|
super();
|
|
792
1111
|
/**
|
|
@@ -800,28 +1119,28 @@ export class UpdateLocalNameRequest extends Message {
|
|
|
800
1119
|
proto3.util.initPartial(data, this);
|
|
801
1120
|
}
|
|
802
1121
|
static fromBinary(bytes, options) {
|
|
803
|
-
return new
|
|
1122
|
+
return new SetLocalNameRequest().fromBinary(bytes, options);
|
|
804
1123
|
}
|
|
805
1124
|
static fromJson(jsonValue, options) {
|
|
806
|
-
return new
|
|
1125
|
+
return new SetLocalNameRequest().fromJson(jsonValue, options);
|
|
807
1126
|
}
|
|
808
1127
|
static fromJsonString(jsonString, options) {
|
|
809
|
-
return new
|
|
1128
|
+
return new SetLocalNameRequest().fromJsonString(jsonString, options);
|
|
810
1129
|
}
|
|
811
1130
|
static equals(a, b) {
|
|
812
|
-
return proto3.util.equals(
|
|
1131
|
+
return proto3.util.equals(SetLocalNameRequest, a, b);
|
|
813
1132
|
}
|
|
814
1133
|
}
|
|
815
|
-
|
|
816
|
-
|
|
817
|
-
|
|
1134
|
+
SetLocalNameRequest.runtime = proto3;
|
|
1135
|
+
SetLocalNameRequest.typeName = "livekit.proto.SetLocalNameRequest";
|
|
1136
|
+
SetLocalNameRequest.fields = proto3.util.newFieldList(() => [
|
|
818
1137
|
{ no: 1, name: "local_participant_handle", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
|
|
819
1138
|
{ no: 2, name: "name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
820
1139
|
]);
|
|
821
1140
|
/**
|
|
822
|
-
* @generated from message livekit.proto.
|
|
1141
|
+
* @generated from message livekit.proto.SetLocalNameResponse
|
|
823
1142
|
*/
|
|
824
|
-
export class
|
|
1143
|
+
export class SetLocalNameResponse extends Message {
|
|
825
1144
|
constructor(data) {
|
|
826
1145
|
super();
|
|
827
1146
|
/**
|
|
@@ -831,27 +1150,27 @@ export class UpdateLocalNameResponse extends Message {
|
|
|
831
1150
|
proto3.util.initPartial(data, this);
|
|
832
1151
|
}
|
|
833
1152
|
static fromBinary(bytes, options) {
|
|
834
|
-
return new
|
|
1153
|
+
return new SetLocalNameResponse().fromBinary(bytes, options);
|
|
835
1154
|
}
|
|
836
1155
|
static fromJson(jsonValue, options) {
|
|
837
|
-
return new
|
|
1156
|
+
return new SetLocalNameResponse().fromJson(jsonValue, options);
|
|
838
1157
|
}
|
|
839
1158
|
static fromJsonString(jsonString, options) {
|
|
840
|
-
return new
|
|
1159
|
+
return new SetLocalNameResponse().fromJsonString(jsonString, options);
|
|
841
1160
|
}
|
|
842
1161
|
static equals(a, b) {
|
|
843
|
-
return proto3.util.equals(
|
|
1162
|
+
return proto3.util.equals(SetLocalNameResponse, a, b);
|
|
844
1163
|
}
|
|
845
1164
|
}
|
|
846
|
-
|
|
847
|
-
|
|
848
|
-
|
|
1165
|
+
SetLocalNameResponse.runtime = proto3;
|
|
1166
|
+
SetLocalNameResponse.typeName = "livekit.proto.SetLocalNameResponse";
|
|
1167
|
+
SetLocalNameResponse.fields = proto3.util.newFieldList(() => [
|
|
849
1168
|
{ no: 1, name: "async_id", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
|
|
850
1169
|
]);
|
|
851
1170
|
/**
|
|
852
|
-
* @generated from message livekit.proto.
|
|
1171
|
+
* @generated from message livekit.proto.SetLocalNameCallback
|
|
853
1172
|
*/
|
|
854
|
-
export class
|
|
1173
|
+
export class SetLocalNameCallback extends Message {
|
|
855
1174
|
constructor(data) {
|
|
856
1175
|
super();
|
|
857
1176
|
/**
|
|
@@ -861,22 +1180,23 @@ export class UpdateLocalNameCallback extends Message {
|
|
|
861
1180
|
proto3.util.initPartial(data, this);
|
|
862
1181
|
}
|
|
863
1182
|
static fromBinary(bytes, options) {
|
|
864
|
-
return new
|
|
1183
|
+
return new SetLocalNameCallback().fromBinary(bytes, options);
|
|
865
1184
|
}
|
|
866
1185
|
static fromJson(jsonValue, options) {
|
|
867
|
-
return new
|
|
1186
|
+
return new SetLocalNameCallback().fromJson(jsonValue, options);
|
|
868
1187
|
}
|
|
869
1188
|
static fromJsonString(jsonString, options) {
|
|
870
|
-
return new
|
|
1189
|
+
return new SetLocalNameCallback().fromJsonString(jsonString, options);
|
|
871
1190
|
}
|
|
872
1191
|
static equals(a, b) {
|
|
873
|
-
return proto3.util.equals(
|
|
1192
|
+
return proto3.util.equals(SetLocalNameCallback, a, b);
|
|
874
1193
|
}
|
|
875
1194
|
}
|
|
876
|
-
|
|
877
|
-
|
|
878
|
-
|
|
1195
|
+
SetLocalNameCallback.runtime = proto3;
|
|
1196
|
+
SetLocalNameCallback.typeName = "livekit.proto.SetLocalNameCallback";
|
|
1197
|
+
SetLocalNameCallback.fields = proto3.util.newFieldList(() => [
|
|
879
1198
|
{ no: 1, name: "async_id", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
|
|
1199
|
+
{ no: 2, name: "error", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
|
|
880
1200
|
]);
|
|
881
1201
|
/**
|
|
882
1202
|
* Change the "desire" to subs2ribe to a track
|
|
@@ -1278,6 +1598,61 @@ RoomOptions.fields = proto3.util.newFieldList(() => [
|
|
|
1278
1598
|
{ no: 5, name: "rtc_config", kind: "message", T: RtcConfig, opt: true },
|
|
1279
1599
|
{ no: 6, name: "join_retries", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
|
|
1280
1600
|
]);
|
|
1601
|
+
/**
|
|
1602
|
+
* @generated from message livekit.proto.TranscriptionSegment
|
|
1603
|
+
*/
|
|
1604
|
+
export class TranscriptionSegment extends Message {
|
|
1605
|
+
constructor(data) {
|
|
1606
|
+
super();
|
|
1607
|
+
/**
|
|
1608
|
+
* @generated from field: string id = 1;
|
|
1609
|
+
*/
|
|
1610
|
+
this.id = "";
|
|
1611
|
+
/**
|
|
1612
|
+
* @generated from field: string text = 2;
|
|
1613
|
+
*/
|
|
1614
|
+
this.text = "";
|
|
1615
|
+
/**
|
|
1616
|
+
* @generated from field: uint64 start_time = 3;
|
|
1617
|
+
*/
|
|
1618
|
+
this.startTime = protoInt64.zero;
|
|
1619
|
+
/**
|
|
1620
|
+
* @generated from field: uint64 end_time = 4;
|
|
1621
|
+
*/
|
|
1622
|
+
this.endTime = protoInt64.zero;
|
|
1623
|
+
/**
|
|
1624
|
+
* @generated from field: bool final = 5;
|
|
1625
|
+
*/
|
|
1626
|
+
this.final = false;
|
|
1627
|
+
/**
|
|
1628
|
+
* @generated from field: string language = 6;
|
|
1629
|
+
*/
|
|
1630
|
+
this.language = "";
|
|
1631
|
+
proto3.util.initPartial(data, this);
|
|
1632
|
+
}
|
|
1633
|
+
static fromBinary(bytes, options) {
|
|
1634
|
+
return new TranscriptionSegment().fromBinary(bytes, options);
|
|
1635
|
+
}
|
|
1636
|
+
static fromJson(jsonValue, options) {
|
|
1637
|
+
return new TranscriptionSegment().fromJson(jsonValue, options);
|
|
1638
|
+
}
|
|
1639
|
+
static fromJsonString(jsonString, options) {
|
|
1640
|
+
return new TranscriptionSegment().fromJsonString(jsonString, options);
|
|
1641
|
+
}
|
|
1642
|
+
static equals(a, b) {
|
|
1643
|
+
return proto3.util.equals(TranscriptionSegment, a, b);
|
|
1644
|
+
}
|
|
1645
|
+
}
|
|
1646
|
+
TranscriptionSegment.runtime = proto3;
|
|
1647
|
+
TranscriptionSegment.typeName = "livekit.proto.TranscriptionSegment";
|
|
1648
|
+
TranscriptionSegment.fields = proto3.util.newFieldList(() => [
|
|
1649
|
+
{ no: 1, name: "id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
1650
|
+
{ no: 2, name: "text", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
1651
|
+
{ no: 3, name: "start_time", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
|
|
1652
|
+
{ no: 4, name: "end_time", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
|
|
1653
|
+
{ no: 5, name: "final", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
|
|
1654
|
+
{ no: 6, name: "language", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
1655
|
+
]);
|
|
1281
1656
|
/**
|
|
1282
1657
|
* @generated from message livekit.proto.BufferInfo
|
|
1283
1658
|
*/
|
|
@@ -1386,16 +1761,19 @@ RoomEvent.fields = proto3.util.newFieldList(() => [
|
|
|
1386
1761
|
{ no: 12, name: "track_unmuted", kind: "message", T: TrackUnmuted, oneof: "message" },
|
|
1387
1762
|
{ no: 13, name: "active_speakers_changed", kind: "message", T: ActiveSpeakersChanged, oneof: "message" },
|
|
1388
1763
|
{ no: 14, name: "room_metadata_changed", kind: "message", T: RoomMetadataChanged, oneof: "message" },
|
|
1389
|
-
{ no: 15, name: "
|
|
1390
|
-
{ no: 16, name: "
|
|
1391
|
-
{ no: 17, name: "
|
|
1392
|
-
{ no: 18, name: "
|
|
1393
|
-
{ no: 19, name: "
|
|
1394
|
-
{ no:
|
|
1395
|
-
{ no: 22, name: "
|
|
1396
|
-
{ no: 23, name: "
|
|
1397
|
-
{ no: 24, name: "
|
|
1398
|
-
{ no: 25, name: "
|
|
1764
|
+
{ no: 15, name: "room_sid_changed", kind: "message", T: RoomSidChanged, oneof: "message" },
|
|
1765
|
+
{ no: 16, name: "participant_metadata_changed", kind: "message", T: ParticipantMetadataChanged, oneof: "message" },
|
|
1766
|
+
{ no: 17, name: "participant_name_changed", kind: "message", T: ParticipantNameChanged, oneof: "message" },
|
|
1767
|
+
{ no: 18, name: "participant_attributes_changed", kind: "message", T: ParticipantAttributesChanged, oneof: "message" },
|
|
1768
|
+
{ no: 19, name: "connection_quality_changed", kind: "message", T: ConnectionQualityChanged, oneof: "message" },
|
|
1769
|
+
{ no: 20, name: "connection_state_changed", kind: "message", T: ConnectionStateChanged, oneof: "message" },
|
|
1770
|
+
{ no: 22, name: "disconnected", kind: "message", T: Disconnected, oneof: "message" },
|
|
1771
|
+
{ no: 23, name: "reconnecting", kind: "message", T: Reconnecting, oneof: "message" },
|
|
1772
|
+
{ no: 24, name: "reconnected", kind: "message", T: Reconnected, oneof: "message" },
|
|
1773
|
+
{ no: 25, name: "e2ee_state_changed", kind: "message", T: E2eeStateChanged, oneof: "message" },
|
|
1774
|
+
{ no: 26, name: "eos", kind: "message", T: RoomEOS, oneof: "message" },
|
|
1775
|
+
{ no: 27, name: "data_packet_received", kind: "message", T: DataPacketReceived, oneof: "message" },
|
|
1776
|
+
{ no: 28, name: "transcription_received", kind: "message", T: TranscriptionReceived, oneof: "message" },
|
|
1399
1777
|
]);
|
|
1400
1778
|
/**
|
|
1401
1779
|
* @generated from message livekit.proto.RoomInfo
|
|
@@ -1403,10 +1781,6 @@ RoomEvent.fields = proto3.util.newFieldList(() => [
|
|
|
1403
1781
|
export class RoomInfo extends Message {
|
|
1404
1782
|
constructor(data) {
|
|
1405
1783
|
super();
|
|
1406
|
-
/**
|
|
1407
|
-
* @generated from field: string sid = 1;
|
|
1408
|
-
*/
|
|
1409
|
-
this.sid = "";
|
|
1410
1784
|
/**
|
|
1411
1785
|
* @generated from field: string name = 2;
|
|
1412
1786
|
*/
|
|
@@ -1433,7 +1807,7 @@ export class RoomInfo extends Message {
|
|
|
1433
1807
|
RoomInfo.runtime = proto3;
|
|
1434
1808
|
RoomInfo.typeName = "livekit.proto.RoomInfo";
|
|
1435
1809
|
RoomInfo.fields = proto3.util.newFieldList(() => [
|
|
1436
|
-
{ no: 1, name: "sid", kind: "scalar", T: 9 /* ScalarType.STRING
|
|
1810
|
+
{ no: 1, name: "sid", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
|
|
1437
1811
|
{ no: 2, name: "name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
1438
1812
|
{ no: 3, name: "metadata", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
1439
1813
|
]);
|
|
@@ -1497,9 +1871,9 @@ export class ParticipantDisconnected extends Message {
|
|
|
1497
1871
|
constructor(data) {
|
|
1498
1872
|
super();
|
|
1499
1873
|
/**
|
|
1500
|
-
* @generated from field: string
|
|
1874
|
+
* @generated from field: string participant_identity = 1;
|
|
1501
1875
|
*/
|
|
1502
|
-
this.
|
|
1876
|
+
this.participantIdentity = "";
|
|
1503
1877
|
proto3.util.initPartial(data, this);
|
|
1504
1878
|
}
|
|
1505
1879
|
static fromBinary(bytes, options) {
|
|
@@ -1518,7 +1892,7 @@ export class ParticipantDisconnected extends Message {
|
|
|
1518
1892
|
ParticipantDisconnected.runtime = proto3;
|
|
1519
1893
|
ParticipantDisconnected.typeName = "livekit.proto.ParticipantDisconnected";
|
|
1520
1894
|
ParticipantDisconnected.fields = proto3.util.newFieldList(() => [
|
|
1521
|
-
{ no: 1, name: "
|
|
1895
|
+
{ no: 1, name: "participant_identity", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
1522
1896
|
]);
|
|
1523
1897
|
/**
|
|
1524
1898
|
* @generated from message livekit.proto.LocalTrackPublished
|
|
@@ -1590,9 +1964,9 @@ export class TrackPublished extends Message {
|
|
|
1590
1964
|
constructor(data) {
|
|
1591
1965
|
super();
|
|
1592
1966
|
/**
|
|
1593
|
-
* @generated from field: string
|
|
1967
|
+
* @generated from field: string participant_identity = 1;
|
|
1594
1968
|
*/
|
|
1595
|
-
this.
|
|
1969
|
+
this.participantIdentity = "";
|
|
1596
1970
|
proto3.util.initPartial(data, this);
|
|
1597
1971
|
}
|
|
1598
1972
|
static fromBinary(bytes, options) {
|
|
@@ -1611,7 +1985,7 @@ export class TrackPublished extends Message {
|
|
|
1611
1985
|
TrackPublished.runtime = proto3;
|
|
1612
1986
|
TrackPublished.typeName = "livekit.proto.TrackPublished";
|
|
1613
1987
|
TrackPublished.fields = proto3.util.newFieldList(() => [
|
|
1614
|
-
{ no: 1, name: "
|
|
1988
|
+
{ no: 1, name: "participant_identity", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
1615
1989
|
{ no: 2, name: "publication", kind: "message", T: OwnedTrackPublication },
|
|
1616
1990
|
]);
|
|
1617
1991
|
/**
|
|
@@ -1621,9 +1995,9 @@ export class TrackUnpublished extends Message {
|
|
|
1621
1995
|
constructor(data) {
|
|
1622
1996
|
super();
|
|
1623
1997
|
/**
|
|
1624
|
-
* @generated from field: string
|
|
1998
|
+
* @generated from field: string participant_identity = 1;
|
|
1625
1999
|
*/
|
|
1626
|
-
this.
|
|
2000
|
+
this.participantIdentity = "";
|
|
1627
2001
|
/**
|
|
1628
2002
|
* @generated from field: string publication_sid = 2;
|
|
1629
2003
|
*/
|
|
@@ -1646,7 +2020,7 @@ export class TrackUnpublished extends Message {
|
|
|
1646
2020
|
TrackUnpublished.runtime = proto3;
|
|
1647
2021
|
TrackUnpublished.typeName = "livekit.proto.TrackUnpublished";
|
|
1648
2022
|
TrackUnpublished.fields = proto3.util.newFieldList(() => [
|
|
1649
|
-
{ no: 1, name: "
|
|
2023
|
+
{ no: 1, name: "participant_identity", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
1650
2024
|
{ no: 2, name: "publication_sid", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
1651
2025
|
]);
|
|
1652
2026
|
/**
|
|
@@ -1659,9 +2033,9 @@ export class TrackSubscribed extends Message {
|
|
|
1659
2033
|
constructor(data) {
|
|
1660
2034
|
super();
|
|
1661
2035
|
/**
|
|
1662
|
-
* @generated from field: string
|
|
2036
|
+
* @generated from field: string participant_identity = 1;
|
|
1663
2037
|
*/
|
|
1664
|
-
this.
|
|
2038
|
+
this.participantIdentity = "";
|
|
1665
2039
|
proto3.util.initPartial(data, this);
|
|
1666
2040
|
}
|
|
1667
2041
|
static fromBinary(bytes, options) {
|
|
@@ -1680,7 +2054,7 @@ export class TrackSubscribed extends Message {
|
|
|
1680
2054
|
TrackSubscribed.runtime = proto3;
|
|
1681
2055
|
TrackSubscribed.typeName = "livekit.proto.TrackSubscribed";
|
|
1682
2056
|
TrackSubscribed.fields = proto3.util.newFieldList(() => [
|
|
1683
|
-
{ no: 1, name: "
|
|
2057
|
+
{ no: 1, name: "participant_identity", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
1684
2058
|
{ no: 2, name: "track", kind: "message", T: OwnedTrack },
|
|
1685
2059
|
]);
|
|
1686
2060
|
/**
|
|
@@ -1692,9 +2066,9 @@ export class TrackUnsubscribed extends Message {
|
|
|
1692
2066
|
/**
|
|
1693
2067
|
* The FFI language can dispose/remove the VideoSink here
|
|
1694
2068
|
*
|
|
1695
|
-
* @generated from field: string
|
|
2069
|
+
* @generated from field: string participant_identity = 1;
|
|
1696
2070
|
*/
|
|
1697
|
-
this.
|
|
2071
|
+
this.participantIdentity = "";
|
|
1698
2072
|
/**
|
|
1699
2073
|
* @generated from field: string track_sid = 2;
|
|
1700
2074
|
*/
|
|
@@ -1717,7 +2091,7 @@ export class TrackUnsubscribed extends Message {
|
|
|
1717
2091
|
TrackUnsubscribed.runtime = proto3;
|
|
1718
2092
|
TrackUnsubscribed.typeName = "livekit.proto.TrackUnsubscribed";
|
|
1719
2093
|
TrackUnsubscribed.fields = proto3.util.newFieldList(() => [
|
|
1720
|
-
{ no: 1, name: "
|
|
2094
|
+
{ no: 1, name: "participant_identity", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
1721
2095
|
{ no: 2, name: "track_sid", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
1722
2096
|
]);
|
|
1723
2097
|
/**
|
|
@@ -1727,9 +2101,9 @@ export class TrackSubscriptionFailed extends Message {
|
|
|
1727
2101
|
constructor(data) {
|
|
1728
2102
|
super();
|
|
1729
2103
|
/**
|
|
1730
|
-
* @generated from field: string
|
|
2104
|
+
* @generated from field: string participant_identity = 1;
|
|
1731
2105
|
*/
|
|
1732
|
-
this.
|
|
2106
|
+
this.participantIdentity = "";
|
|
1733
2107
|
/**
|
|
1734
2108
|
* @generated from field: string track_sid = 2;
|
|
1735
2109
|
*/
|
|
@@ -1756,7 +2130,7 @@ export class TrackSubscriptionFailed extends Message {
|
|
|
1756
2130
|
TrackSubscriptionFailed.runtime = proto3;
|
|
1757
2131
|
TrackSubscriptionFailed.typeName = "livekit.proto.TrackSubscriptionFailed";
|
|
1758
2132
|
TrackSubscriptionFailed.fields = proto3.util.newFieldList(() => [
|
|
1759
|
-
{ no: 1, name: "
|
|
2133
|
+
{ no: 1, name: "participant_identity", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
1760
2134
|
{ no: 2, name: "track_sid", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
1761
2135
|
{ no: 3, name: "error", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
1762
2136
|
]);
|
|
@@ -1767,9 +2141,9 @@ export class TrackMuted extends Message {
|
|
|
1767
2141
|
constructor(data) {
|
|
1768
2142
|
super();
|
|
1769
2143
|
/**
|
|
1770
|
-
* @generated from field: string
|
|
2144
|
+
* @generated from field: string participant_identity = 1;
|
|
1771
2145
|
*/
|
|
1772
|
-
this.
|
|
2146
|
+
this.participantIdentity = "";
|
|
1773
2147
|
/**
|
|
1774
2148
|
* @generated from field: string track_sid = 2;
|
|
1775
2149
|
*/
|
|
@@ -1792,7 +2166,7 @@ export class TrackMuted extends Message {
|
|
|
1792
2166
|
TrackMuted.runtime = proto3;
|
|
1793
2167
|
TrackMuted.typeName = "livekit.proto.TrackMuted";
|
|
1794
2168
|
TrackMuted.fields = proto3.util.newFieldList(() => [
|
|
1795
|
-
{ no: 1, name: "
|
|
2169
|
+
{ no: 1, name: "participant_identity", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
1796
2170
|
{ no: 2, name: "track_sid", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
1797
2171
|
]);
|
|
1798
2172
|
/**
|
|
@@ -1802,9 +2176,9 @@ export class TrackUnmuted extends Message {
|
|
|
1802
2176
|
constructor(data) {
|
|
1803
2177
|
super();
|
|
1804
2178
|
/**
|
|
1805
|
-
* @generated from field: string
|
|
2179
|
+
* @generated from field: string participant_identity = 1;
|
|
1806
2180
|
*/
|
|
1807
|
-
this.
|
|
2181
|
+
this.participantIdentity = "";
|
|
1808
2182
|
/**
|
|
1809
2183
|
* @generated from field: string track_sid = 2;
|
|
1810
2184
|
*/
|
|
@@ -1827,7 +2201,7 @@ export class TrackUnmuted extends Message {
|
|
|
1827
2201
|
TrackUnmuted.runtime = proto3;
|
|
1828
2202
|
TrackUnmuted.typeName = "livekit.proto.TrackUnmuted";
|
|
1829
2203
|
TrackUnmuted.fields = proto3.util.newFieldList(() => [
|
|
1830
|
-
{ no: 1, name: "
|
|
2204
|
+
{ no: 1, name: "participant_identity", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
1831
2205
|
{ no: 2, name: "track_sid", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
1832
2206
|
]);
|
|
1833
2207
|
/**
|
|
@@ -1839,9 +2213,9 @@ export class E2eeStateChanged extends Message {
|
|
|
1839
2213
|
/**
|
|
1840
2214
|
* Using sid instead of identity for ffi communication
|
|
1841
2215
|
*
|
|
1842
|
-
* @generated from field: string
|
|
2216
|
+
* @generated from field: string participant_identity = 1;
|
|
1843
2217
|
*/
|
|
1844
|
-
this.
|
|
2218
|
+
this.participantIdentity = "";
|
|
1845
2219
|
/**
|
|
1846
2220
|
* @generated from field: livekit.proto.EncryptionState state = 2;
|
|
1847
2221
|
*/
|
|
@@ -1864,7 +2238,7 @@ export class E2eeStateChanged extends Message {
|
|
|
1864
2238
|
E2eeStateChanged.runtime = proto3;
|
|
1865
2239
|
E2eeStateChanged.typeName = "livekit.proto.E2eeStateChanged";
|
|
1866
2240
|
E2eeStateChanged.fields = proto3.util.newFieldList(() => [
|
|
1867
|
-
{ no: 1, name: "
|
|
2241
|
+
{ no: 1, name: "participant_identity", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
1868
2242
|
{ no: 2, name: "state", kind: "enum", T: proto3.getEnumType(EncryptionState) },
|
|
1869
2243
|
]);
|
|
1870
2244
|
/**
|
|
@@ -1874,9 +2248,9 @@ export class ActiveSpeakersChanged extends Message {
|
|
|
1874
2248
|
constructor(data) {
|
|
1875
2249
|
super();
|
|
1876
2250
|
/**
|
|
1877
|
-
* @generated from field: repeated string
|
|
2251
|
+
* @generated from field: repeated string participant_identities = 1;
|
|
1878
2252
|
*/
|
|
1879
|
-
this.
|
|
2253
|
+
this.participantIdentities = [];
|
|
1880
2254
|
proto3.util.initPartial(data, this);
|
|
1881
2255
|
}
|
|
1882
2256
|
static fromBinary(bytes, options) {
|
|
@@ -1895,7 +2269,7 @@ export class ActiveSpeakersChanged extends Message {
|
|
|
1895
2269
|
ActiveSpeakersChanged.runtime = proto3;
|
|
1896
2270
|
ActiveSpeakersChanged.typeName = "livekit.proto.ActiveSpeakersChanged";
|
|
1897
2271
|
ActiveSpeakersChanged.fields = proto3.util.newFieldList(() => [
|
|
1898
|
-
{ no: 1, name: "
|
|
2272
|
+
{ no: 1, name: "participant_identities", kind: "scalar", T: 9 /* ScalarType.STRING */, repeated: true },
|
|
1899
2273
|
]);
|
|
1900
2274
|
/**
|
|
1901
2275
|
* @generated from message livekit.proto.RoomMetadataChanged
|
|
@@ -1927,6 +2301,36 @@ RoomMetadataChanged.typeName = "livekit.proto.RoomMetadataChanged";
|
|
|
1927
2301
|
RoomMetadataChanged.fields = proto3.util.newFieldList(() => [
|
|
1928
2302
|
{ no: 1, name: "metadata", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
1929
2303
|
]);
|
|
2304
|
+
/**
|
|
2305
|
+
* @generated from message livekit.proto.RoomSidChanged
|
|
2306
|
+
*/
|
|
2307
|
+
export class RoomSidChanged extends Message {
|
|
2308
|
+
constructor(data) {
|
|
2309
|
+
super();
|
|
2310
|
+
/**
|
|
2311
|
+
* @generated from field: string sid = 1;
|
|
2312
|
+
*/
|
|
2313
|
+
this.sid = "";
|
|
2314
|
+
proto3.util.initPartial(data, this);
|
|
2315
|
+
}
|
|
2316
|
+
static fromBinary(bytes, options) {
|
|
2317
|
+
return new RoomSidChanged().fromBinary(bytes, options);
|
|
2318
|
+
}
|
|
2319
|
+
static fromJson(jsonValue, options) {
|
|
2320
|
+
return new RoomSidChanged().fromJson(jsonValue, options);
|
|
2321
|
+
}
|
|
2322
|
+
static fromJsonString(jsonString, options) {
|
|
2323
|
+
return new RoomSidChanged().fromJsonString(jsonString, options);
|
|
2324
|
+
}
|
|
2325
|
+
static equals(a, b) {
|
|
2326
|
+
return proto3.util.equals(RoomSidChanged, a, b);
|
|
2327
|
+
}
|
|
2328
|
+
}
|
|
2329
|
+
RoomSidChanged.runtime = proto3;
|
|
2330
|
+
RoomSidChanged.typeName = "livekit.proto.RoomSidChanged";
|
|
2331
|
+
RoomSidChanged.fields = proto3.util.newFieldList(() => [
|
|
2332
|
+
{ no: 1, name: "sid", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
2333
|
+
]);
|
|
1930
2334
|
/**
|
|
1931
2335
|
* @generated from message livekit.proto.ParticipantMetadataChanged
|
|
1932
2336
|
*/
|
|
@@ -1934,9 +2338,9 @@ export class ParticipantMetadataChanged extends Message {
|
|
|
1934
2338
|
constructor(data) {
|
|
1935
2339
|
super();
|
|
1936
2340
|
/**
|
|
1937
|
-
* @generated from field: string
|
|
2341
|
+
* @generated from field: string participant_identity = 1;
|
|
1938
2342
|
*/
|
|
1939
|
-
this.
|
|
2343
|
+
this.participantIdentity = "";
|
|
1940
2344
|
/**
|
|
1941
2345
|
* @generated from field: string metadata = 2;
|
|
1942
2346
|
*/
|
|
@@ -1959,9 +2363,49 @@ export class ParticipantMetadataChanged extends Message {
|
|
|
1959
2363
|
ParticipantMetadataChanged.runtime = proto3;
|
|
1960
2364
|
ParticipantMetadataChanged.typeName = "livekit.proto.ParticipantMetadataChanged";
|
|
1961
2365
|
ParticipantMetadataChanged.fields = proto3.util.newFieldList(() => [
|
|
1962
|
-
{ no: 1, name: "
|
|
2366
|
+
{ no: 1, name: "participant_identity", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
1963
2367
|
{ no: 2, name: "metadata", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
1964
2368
|
]);
|
|
2369
|
+
/**
|
|
2370
|
+
* @generated from message livekit.proto.ParticipantAttributesChanged
|
|
2371
|
+
*/
|
|
2372
|
+
export class ParticipantAttributesChanged extends Message {
|
|
2373
|
+
constructor(data) {
|
|
2374
|
+
super();
|
|
2375
|
+
/**
|
|
2376
|
+
* @generated from field: string participant_identity = 1;
|
|
2377
|
+
*/
|
|
2378
|
+
this.participantIdentity = "";
|
|
2379
|
+
/**
|
|
2380
|
+
* @generated from field: map<string, string> attributes = 2;
|
|
2381
|
+
*/
|
|
2382
|
+
this.attributes = {};
|
|
2383
|
+
/**
|
|
2384
|
+
* @generated from field: map<string, string> changed_attributes = 3;
|
|
2385
|
+
*/
|
|
2386
|
+
this.changedAttributes = {};
|
|
2387
|
+
proto3.util.initPartial(data, this);
|
|
2388
|
+
}
|
|
2389
|
+
static fromBinary(bytes, options) {
|
|
2390
|
+
return new ParticipantAttributesChanged().fromBinary(bytes, options);
|
|
2391
|
+
}
|
|
2392
|
+
static fromJson(jsonValue, options) {
|
|
2393
|
+
return new ParticipantAttributesChanged().fromJson(jsonValue, options);
|
|
2394
|
+
}
|
|
2395
|
+
static fromJsonString(jsonString, options) {
|
|
2396
|
+
return new ParticipantAttributesChanged().fromJsonString(jsonString, options);
|
|
2397
|
+
}
|
|
2398
|
+
static equals(a, b) {
|
|
2399
|
+
return proto3.util.equals(ParticipantAttributesChanged, a, b);
|
|
2400
|
+
}
|
|
2401
|
+
}
|
|
2402
|
+
ParticipantAttributesChanged.runtime = proto3;
|
|
2403
|
+
ParticipantAttributesChanged.typeName = "livekit.proto.ParticipantAttributesChanged";
|
|
2404
|
+
ParticipantAttributesChanged.fields = proto3.util.newFieldList(() => [
|
|
2405
|
+
{ no: 1, name: "participant_identity", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
2406
|
+
{ no: 2, name: "attributes", kind: "map", K: 9 /* ScalarType.STRING */, V: { kind: "scalar", T: 9 /* ScalarType.STRING */ } },
|
|
2407
|
+
{ no: 3, name: "changed_attributes", kind: "map", K: 9 /* ScalarType.STRING */, V: { kind: "scalar", T: 9 /* ScalarType.STRING */ } },
|
|
2408
|
+
]);
|
|
1965
2409
|
/**
|
|
1966
2410
|
* @generated from message livekit.proto.ParticipantNameChanged
|
|
1967
2411
|
*/
|
|
@@ -1969,9 +2413,9 @@ export class ParticipantNameChanged extends Message {
|
|
|
1969
2413
|
constructor(data) {
|
|
1970
2414
|
super();
|
|
1971
2415
|
/**
|
|
1972
|
-
* @generated from field: string
|
|
2416
|
+
* @generated from field: string participant_identity = 1;
|
|
1973
2417
|
*/
|
|
1974
|
-
this.
|
|
2418
|
+
this.participantIdentity = "";
|
|
1975
2419
|
/**
|
|
1976
2420
|
* @generated from field: string name = 2;
|
|
1977
2421
|
*/
|
|
@@ -1994,7 +2438,7 @@ export class ParticipantNameChanged extends Message {
|
|
|
1994
2438
|
ParticipantNameChanged.runtime = proto3;
|
|
1995
2439
|
ParticipantNameChanged.typeName = "livekit.proto.ParticipantNameChanged";
|
|
1996
2440
|
ParticipantNameChanged.fields = proto3.util.newFieldList(() => [
|
|
1997
|
-
{ no: 1, name: "
|
|
2441
|
+
{ no: 1, name: "participant_identity", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
1998
2442
|
{ no: 2, name: "name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
1999
2443
|
]);
|
|
2000
2444
|
/**
|
|
@@ -2004,9 +2448,9 @@ export class ConnectionQualityChanged extends Message {
|
|
|
2004
2448
|
constructor(data) {
|
|
2005
2449
|
super();
|
|
2006
2450
|
/**
|
|
2007
|
-
* @generated from field: string
|
|
2451
|
+
* @generated from field: string participant_identity = 1;
|
|
2008
2452
|
*/
|
|
2009
|
-
this.
|
|
2453
|
+
this.participantIdentity = "";
|
|
2010
2454
|
/**
|
|
2011
2455
|
* @generated from field: livekit.proto.ConnectionQuality quality = 2;
|
|
2012
2456
|
*/
|
|
@@ -2029,41 +2473,141 @@ export class ConnectionQualityChanged extends Message {
|
|
|
2029
2473
|
ConnectionQualityChanged.runtime = proto3;
|
|
2030
2474
|
ConnectionQualityChanged.typeName = "livekit.proto.ConnectionQualityChanged";
|
|
2031
2475
|
ConnectionQualityChanged.fields = proto3.util.newFieldList(() => [
|
|
2032
|
-
{ no: 1, name: "
|
|
2476
|
+
{ no: 1, name: "participant_identity", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
2033
2477
|
{ no: 2, name: "quality", kind: "enum", T: proto3.getEnumType(ConnectionQuality) },
|
|
2034
2478
|
]);
|
|
2035
2479
|
/**
|
|
2036
|
-
* @generated from message livekit.proto.
|
|
2480
|
+
* @generated from message livekit.proto.UserPacket
|
|
2037
2481
|
*/
|
|
2038
|
-
export class
|
|
2482
|
+
export class UserPacket extends Message {
|
|
2483
|
+
constructor(data) {
|
|
2484
|
+
super();
|
|
2485
|
+
proto3.util.initPartial(data, this);
|
|
2486
|
+
}
|
|
2487
|
+
static fromBinary(bytes, options) {
|
|
2488
|
+
return new UserPacket().fromBinary(bytes, options);
|
|
2489
|
+
}
|
|
2490
|
+
static fromJson(jsonValue, options) {
|
|
2491
|
+
return new UserPacket().fromJson(jsonValue, options);
|
|
2492
|
+
}
|
|
2493
|
+
static fromJsonString(jsonString, options) {
|
|
2494
|
+
return new UserPacket().fromJsonString(jsonString, options);
|
|
2495
|
+
}
|
|
2496
|
+
static equals(a, b) {
|
|
2497
|
+
return proto3.util.equals(UserPacket, a, b);
|
|
2498
|
+
}
|
|
2499
|
+
}
|
|
2500
|
+
UserPacket.runtime = proto3;
|
|
2501
|
+
UserPacket.typeName = "livekit.proto.UserPacket";
|
|
2502
|
+
UserPacket.fields = proto3.util.newFieldList(() => [
|
|
2503
|
+
{ no: 1, name: "data", kind: "message", T: OwnedBuffer },
|
|
2504
|
+
{ no: 2, name: "topic", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
|
|
2505
|
+
]);
|
|
2506
|
+
/**
|
|
2507
|
+
* @generated from message livekit.proto.SipDTMF
|
|
2508
|
+
*/
|
|
2509
|
+
export class SipDTMF extends Message {
|
|
2510
|
+
constructor(data) {
|
|
2511
|
+
super();
|
|
2512
|
+
/**
|
|
2513
|
+
* @generated from field: uint32 code = 1;
|
|
2514
|
+
*/
|
|
2515
|
+
this.code = 0;
|
|
2516
|
+
proto3.util.initPartial(data, this);
|
|
2517
|
+
}
|
|
2518
|
+
static fromBinary(bytes, options) {
|
|
2519
|
+
return new SipDTMF().fromBinary(bytes, options);
|
|
2520
|
+
}
|
|
2521
|
+
static fromJson(jsonValue, options) {
|
|
2522
|
+
return new SipDTMF().fromJson(jsonValue, options);
|
|
2523
|
+
}
|
|
2524
|
+
static fromJsonString(jsonString, options) {
|
|
2525
|
+
return new SipDTMF().fromJsonString(jsonString, options);
|
|
2526
|
+
}
|
|
2527
|
+
static equals(a, b) {
|
|
2528
|
+
return proto3.util.equals(SipDTMF, a, b);
|
|
2529
|
+
}
|
|
2530
|
+
}
|
|
2531
|
+
SipDTMF.runtime = proto3;
|
|
2532
|
+
SipDTMF.typeName = "livekit.proto.SipDTMF";
|
|
2533
|
+
SipDTMF.fields = proto3.util.newFieldList(() => [
|
|
2534
|
+
{ no: 1, name: "code", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
|
|
2535
|
+
{ no: 2, name: "digit", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
|
|
2536
|
+
]);
|
|
2537
|
+
/**
|
|
2538
|
+
* @generated from message livekit.proto.DataPacketReceived
|
|
2539
|
+
*/
|
|
2540
|
+
export class DataPacketReceived extends Message {
|
|
2039
2541
|
constructor(data) {
|
|
2040
2542
|
super();
|
|
2041
2543
|
/**
|
|
2042
|
-
* @generated from field: livekit.proto.DataPacketKind kind =
|
|
2544
|
+
* @generated from field: livekit.proto.DataPacketKind kind = 1;
|
|
2043
2545
|
*/
|
|
2044
2546
|
this.kind = DataPacketKind.KIND_LOSSY;
|
|
2547
|
+
/**
|
|
2548
|
+
* Can be empty if the data is sent a server SDK
|
|
2549
|
+
*
|
|
2550
|
+
* @generated from field: string participant_identity = 2;
|
|
2551
|
+
*/
|
|
2552
|
+
this.participantIdentity = "";
|
|
2553
|
+
/**
|
|
2554
|
+
* @generated from oneof livekit.proto.DataPacketReceived.value
|
|
2555
|
+
*/
|
|
2556
|
+
this.value = { case: undefined };
|
|
2045
2557
|
proto3.util.initPartial(data, this);
|
|
2046
2558
|
}
|
|
2047
2559
|
static fromBinary(bytes, options) {
|
|
2048
|
-
return new
|
|
2560
|
+
return new DataPacketReceived().fromBinary(bytes, options);
|
|
2049
2561
|
}
|
|
2050
2562
|
static fromJson(jsonValue, options) {
|
|
2051
|
-
return new
|
|
2563
|
+
return new DataPacketReceived().fromJson(jsonValue, options);
|
|
2052
2564
|
}
|
|
2053
2565
|
static fromJsonString(jsonString, options) {
|
|
2054
|
-
return new
|
|
2566
|
+
return new DataPacketReceived().fromJsonString(jsonString, options);
|
|
2055
2567
|
}
|
|
2056
2568
|
static equals(a, b) {
|
|
2057
|
-
return proto3.util.equals(
|
|
2569
|
+
return proto3.util.equals(DataPacketReceived, a, b);
|
|
2058
2570
|
}
|
|
2059
2571
|
}
|
|
2060
|
-
|
|
2061
|
-
|
|
2062
|
-
|
|
2063
|
-
{ no: 1, name: "
|
|
2064
|
-
{ no: 2, name: "
|
|
2065
|
-
{ no:
|
|
2066
|
-
{ no:
|
|
2572
|
+
DataPacketReceived.runtime = proto3;
|
|
2573
|
+
DataPacketReceived.typeName = "livekit.proto.DataPacketReceived";
|
|
2574
|
+
DataPacketReceived.fields = proto3.util.newFieldList(() => [
|
|
2575
|
+
{ no: 1, name: "kind", kind: "enum", T: proto3.getEnumType(DataPacketKind) },
|
|
2576
|
+
{ no: 2, name: "participant_identity", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
2577
|
+
{ no: 4, name: "user", kind: "message", T: UserPacket, oneof: "value" },
|
|
2578
|
+
{ no: 5, name: "sip_dtmf", kind: "message", T: SipDTMF, oneof: "value" },
|
|
2579
|
+
]);
|
|
2580
|
+
/**
|
|
2581
|
+
* @generated from message livekit.proto.TranscriptionReceived
|
|
2582
|
+
*/
|
|
2583
|
+
export class TranscriptionReceived extends Message {
|
|
2584
|
+
constructor(data) {
|
|
2585
|
+
super();
|
|
2586
|
+
/**
|
|
2587
|
+
* @generated from field: repeated livekit.proto.TranscriptionSegment segments = 3;
|
|
2588
|
+
*/
|
|
2589
|
+
this.segments = [];
|
|
2590
|
+
proto3.util.initPartial(data, this);
|
|
2591
|
+
}
|
|
2592
|
+
static fromBinary(bytes, options) {
|
|
2593
|
+
return new TranscriptionReceived().fromBinary(bytes, options);
|
|
2594
|
+
}
|
|
2595
|
+
static fromJson(jsonValue, options) {
|
|
2596
|
+
return new TranscriptionReceived().fromJson(jsonValue, options);
|
|
2597
|
+
}
|
|
2598
|
+
static fromJsonString(jsonString, options) {
|
|
2599
|
+
return new TranscriptionReceived().fromJsonString(jsonString, options);
|
|
2600
|
+
}
|
|
2601
|
+
static equals(a, b) {
|
|
2602
|
+
return proto3.util.equals(TranscriptionReceived, a, b);
|
|
2603
|
+
}
|
|
2604
|
+
}
|
|
2605
|
+
TranscriptionReceived.runtime = proto3;
|
|
2606
|
+
TranscriptionReceived.typeName = "livekit.proto.TranscriptionReceived";
|
|
2607
|
+
TranscriptionReceived.fields = proto3.util.newFieldList(() => [
|
|
2608
|
+
{ no: 1, name: "participant_identity", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
|
|
2609
|
+
{ no: 2, name: "track_sid", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
|
|
2610
|
+
{ no: 3, name: "segments", kind: "message", T: TranscriptionSegment, repeated: true },
|
|
2067
2611
|
]);
|
|
2068
2612
|
/**
|
|
2069
2613
|
* @generated from message livekit.proto.ConnectionStateChanged
|