@livekit/rtc-node 0.11.0 → 0.12.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.
Files changed (153) hide show
  1. package/dist/audio_frame.cjs +94 -0
  2. package/dist/audio_frame.cjs.map +1 -0
  3. package/dist/audio_frame.js +64 -67
  4. package/dist/audio_frame.js.map +1 -1
  5. package/dist/audio_resampler.cjs +153 -0
  6. package/dist/audio_resampler.cjs.map +1 -0
  7. package/dist/audio_resampler.js +129 -134
  8. package/dist/audio_resampler.js.map +1 -1
  9. package/dist/audio_source.cjs +116 -0
  10. package/dist/audio_source.cjs.map +1 -0
  11. package/dist/audio_source.js +92 -85
  12. package/dist/audio_source.js.map +1 -1
  13. package/dist/audio_stream.cjs +104 -0
  14. package/dist/audio_stream.cjs.map +1 -0
  15. package/dist/audio_stream.js +77 -78
  16. package/dist/audio_stream.js.map +1 -1
  17. package/dist/e2ee.cjs +268 -0
  18. package/dist/e2ee.cjs.map +1 -0
  19. package/dist/e2ee.d.ts.map +1 -1
  20. package/dist/e2ee.js +244 -221
  21. package/dist/e2ee.js.map +1 -1
  22. package/dist/ffi_client.cjs +101 -0
  23. package/dist/ffi_client.cjs.map +1 -0
  24. package/dist/ffi_client.js +73 -48
  25. package/dist/ffi_client.js.map +1 -1
  26. package/dist/index.cjs +188 -0
  27. package/dist/index.cjs.map +1 -0
  28. package/dist/index.js +130 -48
  29. package/dist/index.js.map +1 -1
  30. package/dist/napi/native.d.cjs +17 -0
  31. package/dist/napi/native.d.cjs.map +1 -0
  32. package/dist/napi/native.d.js +1 -0
  33. package/dist/napi/native.d.js.map +1 -0
  34. package/dist/napi/native.d.ts +5 -5
  35. package/dist/native.cjs +301 -0
  36. package/dist/native.d.ts +19 -0
  37. package/dist/native.js +15 -0
  38. package/dist/participant.cjs +388 -0
  39. package/dist/participant.cjs.map +1 -0
  40. package/dist/participant.js +363 -339
  41. package/dist/participant.js.map +1 -1
  42. package/dist/proto/audio_frame_pb.cjs +193 -0
  43. package/dist/proto/audio_frame_pb.cjs.map +1 -0
  44. package/dist/proto/audio_frame_pb.d.ts +8 -8
  45. package/dist/proto/audio_frame_pb.d.ts.map +1 -1
  46. package/dist/proto/audio_frame_pb.js +122 -322
  47. package/dist/proto/audio_frame_pb.js.map +1 -1
  48. package/dist/proto/e2ee_pb.cjs +131 -0
  49. package/dist/proto/e2ee_pb.cjs.map +1 -0
  50. package/dist/proto/e2ee_pb.js +76 -202
  51. package/dist/proto/e2ee_pb.js.map +1 -1
  52. package/dist/proto/ffi_pb.cjs +76 -0
  53. package/dist/proto/ffi_pb.cjs.map +1 -0
  54. package/dist/proto/ffi_pb.d.ts +6 -6
  55. package/dist/proto/ffi_pb.d.ts.map +1 -1
  56. package/dist/proto/ffi_pb.js +39 -98
  57. package/dist/proto/ffi_pb.js.map +1 -1
  58. package/dist/proto/handle_pb.cjs +33 -0
  59. package/dist/proto/handle_pb.cjs.map +1 -0
  60. package/dist/proto/handle_pb.js +6 -22
  61. package/dist/proto/handle_pb.js.map +1 -1
  62. package/dist/proto/participant_pb.cjs +50 -0
  63. package/dist/proto/participant_pb.cjs.map +1 -0
  64. package/dist/proto/participant_pb.d.ts +1 -1
  65. package/dist/proto/participant_pb.d.ts.map +1 -1
  66. package/dist/proto/participant_pb.js +20 -58
  67. package/dist/proto/participant_pb.js.map +1 -1
  68. package/dist/proto/room_pb.cjs +370 -0
  69. package/dist/proto/room_pb.cjs.map +1 -0
  70. package/dist/proto/room_pb.d.ts +16 -16
  71. package/dist/proto/room_pb.d.ts.map +1 -1
  72. package/dist/proto/room_pb.js +245 -638
  73. package/dist/proto/room_pb.js.map +1 -1
  74. package/dist/proto/rpc_pb.cjs +63 -0
  75. package/dist/proto/rpc_pb.cjs.map +1 -0
  76. package/dist/proto/rpc_pb.js +26 -72
  77. package/dist/proto/rpc_pb.js.map +1 -1
  78. package/dist/proto/stats_pb.cjs +256 -0
  79. package/dist/proto/stats_pb.cjs.map +1 -0
  80. package/dist/proto/stats_pb.js +175 -456
  81. package/dist/proto/stats_pb.js.map +1 -1
  82. package/dist/proto/track_pb.cjs +116 -0
  83. package/dist/proto/track_pb.cjs.map +1 -0
  84. package/dist/proto/track_pb.d.ts +3 -3
  85. package/dist/proto/track_pb.d.ts.map +1 -1
  86. package/dist/proto/track_pb.js +68 -174
  87. package/dist/proto/track_pb.js.map +1 -1
  88. package/dist/proto/video_frame_pb.cjs +161 -0
  89. package/dist/proto/video_frame_pb.cjs.map +1 -0
  90. package/dist/proto/video_frame_pb.d.ts +5 -5
  91. package/dist/proto/video_frame_pb.d.ts.map +1 -1
  92. package/dist/proto/video_frame_pb.js +103 -271
  93. package/dist/proto/video_frame_pb.js.map +1 -1
  94. package/dist/room.cjs +440 -0
  95. package/dist/room.cjs.map +1 -0
  96. package/dist/room.js +384 -373
  97. package/dist/room.js.map +1 -1
  98. package/dist/rpc.cjs +89 -0
  99. package/dist/rpc.cjs.map +1 -0
  100. package/dist/rpc.js +59 -63
  101. package/dist/rpc.js.map +1 -1
  102. package/dist/track.cjs +100 -0
  103. package/dist/track.cjs.map +1 -0
  104. package/dist/track.js +66 -62
  105. package/dist/track.js.map +1 -1
  106. package/dist/track_publication.cjs +106 -0
  107. package/dist/track_publication.cjs.map +1 -0
  108. package/dist/track_publication.js +76 -74
  109. package/dist/track_publication.js.map +1 -1
  110. package/dist/transcription.cjs +17 -0
  111. package/dist/transcription.cjs.map +1 -0
  112. package/dist/transcription.js +0 -1
  113. package/dist/transcription.js.map +1 -1
  114. package/dist/types.cjs +17 -0
  115. package/dist/types.cjs.map +1 -0
  116. package/dist/types.js +0 -1
  117. package/dist/types.js.map +1 -1
  118. package/dist/version.cjs +29 -0
  119. package/dist/version.cjs.map +1 -0
  120. package/dist/version.d.ts +1 -1
  121. package/dist/version.js +4 -1
  122. package/dist/version.js.map +1 -1
  123. package/dist/video_frame.cjs +242 -0
  124. package/dist/video_frame.cjs.map +1 -0
  125. package/dist/video_frame.js +212 -201
  126. package/dist/video_frame.js.map +1 -1
  127. package/dist/video_source.cjs +63 -0
  128. package/dist/video_source.cjs.map +1 -0
  129. package/dist/video_source.d.ts.map +1 -1
  130. package/dist/video_source.js +42 -37
  131. package/dist/video_source.js.map +1 -1
  132. package/dist/video_stream.cjs +103 -0
  133. package/dist/video_stream.cjs.map +1 -0
  134. package/dist/video_stream.js +76 -77
  135. package/dist/video_stream.js.map +1 -1
  136. package/package.json +18 -9
  137. package/src/audio_frame.ts +2 -2
  138. package/src/audio_source.ts +2 -2
  139. package/src/e2ee.ts +2 -2
  140. package/src/napi/native.d.ts +5 -5
  141. package/src/proto/audio_frame_pb.ts +12 -12
  142. package/src/proto/e2ee_pb.ts +1 -1
  143. package/src/proto/ffi_pb.ts +13 -13
  144. package/src/proto/handle_pb.ts +1 -1
  145. package/src/proto/participant_pb.ts +3 -3
  146. package/src/proto/room_pb.ts +24 -24
  147. package/src/proto/rpc_pb.ts +1 -1
  148. package/src/proto/stats_pb.ts +1 -1
  149. package/src/proto/track_pb.ts +7 -7
  150. package/src/proto/video_frame_pb.ts +9 -9
  151. package/src/version.ts +1 -1
  152. package/src/video_frame.ts +1 -1
  153. package/src/video_source.ts +5 -1
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../../src/proto/handle_pb.ts"],"sourcesContent":["// Copyright 2023 LiveKit, Inc.\n//\n// Licensed under the Apache License, Version 2.0 (the \"License\");\n// you may not use this file except in compliance with the License.\n// You may obtain a copy of the License at\n//\n// http://www.apache.org/licenses/LICENSE-2.0\n//\n// Unless required by applicable law or agreed to in writing, software\n// distributed under the License is distributed on an \"AS IS\" BASIS,\n// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n// See the License for the specific language governing permissions and\n// limitations under the License.\n\n// @generated by protoc-gen-es v2.2.0 with parameter \"target=ts,import_extension=js\"\n// @generated from file handle.proto (package livekit.proto, syntax proto2)\n/* eslint-disable */\n\nimport type { GenFile, GenMessage } from \"@bufbuild/protobuf/codegenv1\";\nimport { fileDesc, messageDesc } from \"@bufbuild/protobuf/codegenv1\";\nimport type { Message } from \"@bufbuild/protobuf\";\n\n/**\n * Describes the file handle.proto.\n */\nexport const file_handle: GenFile = /*@__PURE__*/\n fileDesc(\"CgxoYW5kbGUucHJvdG8SDWxpdmVraXQucHJvdG8iHAoORmZpT3duZWRIYW5kbGUSCgoCaWQYASACKARCEKoCDUxpdmVLaXQuUHJvdG8\");\n\n/**\n * # Safety\n * The foreign language is responsable for disposing handles\n * Forgetting to dispose the handle may lead to memory leaks\n *\n * Dropping a handle doesn't necessarily mean that the object is destroyed if it is still used\n * on the FfiServer (Atomic reference counting)\n *\n * When refering to a handle without owning it, we just use a uint32 without this message. \n * (the variable name is suffixed with \"_handle\")\n *\n * @generated from message livekit.proto.FfiOwnedHandle\n */\nexport type FfiOwnedHandle = Message<\"livekit.proto.FfiOwnedHandle\"> & {\n /**\n * @generated from field: required uint64 id = 1;\n */\n id: bigint;\n};\n\n/**\n * Describes the message livekit.proto.FfiOwnedHandle.\n * Use `create(FfiOwnedHandleSchema)` to create a new message.\n */\nexport const FfiOwnedHandleSchema: GenMessage<FfiOwnedHandle> = /*@__PURE__*/\n messageDesc(file_handle, 0);\n\n"],"mappings":";;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAmBA,uBAAsC;AAM/B,MAAM,cACX,+CAAS,yGAAyG;AA0B7G,MAAM,uBACX,kDAAY,aAAa,CAAC;","names":[]}
@@ -1,24 +1,8 @@
1
- // Copyright 2023 LiveKit, Inc.
2
- //
3
- // Licensed under the Apache License, Version 2.0 (the "License");
4
- // you may not use this file except in compliance with the License.
5
- // You may obtain a copy of the License at
6
- //
7
- // http://www.apache.org/licenses/LICENSE-2.0
8
- //
9
- // Unless required by applicable law or agreed to in writing, software
10
- // distributed under the License is distributed on an "AS IS" BASIS,
11
- // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12
- // See the License for the specific language governing permissions and
13
- // limitations under the License.
14
1
  import { fileDesc, messageDesc } from "@bufbuild/protobuf/codegenv1";
15
- /**
16
- * Describes the file handle.proto.
17
- */
18
- export const file_handle = /*@__PURE__*/ fileDesc("CgxoYW5kbGUucHJvdG8SDWxpdmVraXQucHJvdG8iHAoORmZpT3duZWRIYW5kbGUSCgoCaWQYASACKARCEKoCDUxpdmVLaXQuUHJvdG8");
19
- /**
20
- * Describes the message livekit.proto.FfiOwnedHandle.
21
- * Use `create(FfiOwnedHandleSchema)` to create a new message.
22
- */
23
- export const FfiOwnedHandleSchema = /*@__PURE__*/ messageDesc(file_handle, 0);
2
+ const file_handle = /* @__PURE__ */ fileDesc("CgxoYW5kbGUucHJvdG8SDWxpdmVraXQucHJvdG8iHAoORmZpT3duZWRIYW5kbGUSCgoCaWQYASACKARCEKoCDUxpdmVLaXQuUHJvdG8");
3
+ const FfiOwnedHandleSchema = /* @__PURE__ */ messageDesc(file_handle, 0);
4
+ export {
5
+ FfiOwnedHandleSchema,
6
+ file_handle
7
+ };
24
8
  //# sourceMappingURL=handle_pb.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"handle_pb.js","sourceRoot":"","sources":["../../src/proto/handle_pb.ts"],"names":[],"mappings":"AAAA,+BAA+B;AAC/B,EAAE;AACF,kEAAkE;AAClE,mEAAmE;AACnE,0CAA0C;AAC1C,EAAE;AACF,iDAAiD;AACjD,EAAE;AACF,sEAAsE;AACtE,oEAAoE;AACpE,2EAA2E;AAC3E,sEAAsE;AACtE,iCAAiC;AAOjC,OAAO,EAAE,QAAQ,EAAE,WAAW,EAAE,MAAM,8BAA8B,CAAC;AAGrE;;GAEG;AACH,MAAM,CAAC,MAAM,WAAW,GAAY,aAAa,CAC/C,QAAQ,CAAC,yGAAyG,CAAC,CAAC;AAsBtH;;;GAGG;AACH,MAAM,CAAC,MAAM,oBAAoB,GAA+B,aAAa,CAC3E,WAAW,CAAC,WAAW,EAAE,CAAC,CAAC,CAAC"}
1
+ {"version":3,"sources":["../../src/proto/handle_pb.ts"],"sourcesContent":["// Copyright 2023 LiveKit, Inc.\n//\n// Licensed under the Apache License, Version 2.0 (the \"License\");\n// you may not use this file except in compliance with the License.\n// You may obtain a copy of the License at\n//\n// http://www.apache.org/licenses/LICENSE-2.0\n//\n// Unless required by applicable law or agreed to in writing, software\n// distributed under the License is distributed on an \"AS IS\" BASIS,\n// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n// See the License for the specific language governing permissions and\n// limitations under the License.\n\n// @generated by protoc-gen-es v2.2.0 with parameter \"target=ts,import_extension=js\"\n// @generated from file handle.proto (package livekit.proto, syntax proto2)\n/* eslint-disable */\n\nimport type { GenFile, GenMessage } from \"@bufbuild/protobuf/codegenv1\";\nimport { fileDesc, messageDesc } from \"@bufbuild/protobuf/codegenv1\";\nimport type { Message } from \"@bufbuild/protobuf\";\n\n/**\n * Describes the file handle.proto.\n */\nexport const file_handle: GenFile = /*@__PURE__*/\n fileDesc(\"CgxoYW5kbGUucHJvdG8SDWxpdmVraXQucHJvdG8iHAoORmZpT3duZWRIYW5kbGUSCgoCaWQYASACKARCEKoCDUxpdmVLaXQuUHJvdG8\");\n\n/**\n * # Safety\n * The foreign language is responsable for disposing handles\n * Forgetting to dispose the handle may lead to memory leaks\n *\n * Dropping a handle doesn't necessarily mean that the object is destroyed if it is still used\n * on the FfiServer (Atomic reference counting)\n *\n * When refering to a handle without owning it, we just use a uint32 without this message. \n * (the variable name is suffixed with \"_handle\")\n *\n * @generated from message livekit.proto.FfiOwnedHandle\n */\nexport type FfiOwnedHandle = Message<\"livekit.proto.FfiOwnedHandle\"> & {\n /**\n * @generated from field: required uint64 id = 1;\n */\n id: bigint;\n};\n\n/**\n * Describes the message livekit.proto.FfiOwnedHandle.\n * Use `create(FfiOwnedHandleSchema)` to create a new message.\n */\nexport const FfiOwnedHandleSchema: GenMessage<FfiOwnedHandle> = /*@__PURE__*/\n messageDesc(file_handle, 0);\n\n"],"mappings":"AAmBA,SAAS,UAAU,mBAAmB;AAM/B,MAAM,cACX,yBAAS,yGAAyG;AA0B7G,MAAM,uBACX,4BAAY,aAAa,CAAC;","names":[]}
@@ -0,0 +1,50 @@
1
+ "use strict";
2
+ var __defProp = Object.defineProperty;
3
+ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
4
+ var __getOwnPropNames = Object.getOwnPropertyNames;
5
+ var __hasOwnProp = Object.prototype.hasOwnProperty;
6
+ var __export = (target, all) => {
7
+ for (var name in all)
8
+ __defProp(target, name, { get: all[name], enumerable: true });
9
+ };
10
+ var __copyProps = (to, from, except, desc) => {
11
+ if (from && typeof from === "object" || typeof from === "function") {
12
+ for (let key of __getOwnPropNames(from))
13
+ if (!__hasOwnProp.call(to, key) && key !== except)
14
+ __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
15
+ }
16
+ return to;
17
+ };
18
+ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
19
+ var participant_pb_exports = {};
20
+ __export(participant_pb_exports, {
21
+ OwnedParticipantSchema: () => OwnedParticipantSchema,
22
+ ParticipantInfoSchema: () => ParticipantInfoSchema,
23
+ ParticipantKind: () => ParticipantKind,
24
+ ParticipantKindSchema: () => ParticipantKindSchema,
25
+ file_participant: () => file_participant
26
+ });
27
+ module.exports = __toCommonJS(participant_pb_exports);
28
+ var import_codegenv1 = require("@bufbuild/protobuf/codegenv1");
29
+ var import_handle_pb = require("./handle_pb.cjs");
30
+ const file_participant = /* @__PURE__ */ (0, import_codegenv1.fileDesc)("ChFwYXJ0aWNpcGFudC5wcm90bxINbGl2ZWtpdC5wcm90byL1AQoPUGFydGljaXBhbnRJbmZvEgsKA3NpZBgBIAIoCRIMCgRuYW1lGAIgAigJEhAKCGlkZW50aXR5GAMgAigJEhAKCG1ldGFkYXRhGAQgAigJEkIKCmF0dHJpYnV0ZXMYBSADKAsyLi5saXZla2l0LnByb3RvLlBhcnRpY2lwYW50SW5mby5BdHRyaWJ1dGVzRW50cnkSLAoEa2luZBgGIAIoDjIeLmxpdmVraXQucHJvdG8uUGFydGljaXBhbnRLaW5kGjEKD0F0dHJpYnV0ZXNFbnRyeRILCgNrZXkYASABKAkSDQoFdmFsdWUYAiABKAk6AjgBIm8KEE93bmVkUGFydGljaXBhbnQSLQoGaGFuZGxlGAEgAigLMh0ubGl2ZWtpdC5wcm90by5GZmlPd25lZEhhbmRsZRIsCgRpbmZvGAIgAigLMh4ubGl2ZWtpdC5wcm90by5QYXJ0aWNpcGFudEluZm8qoQEKD1BhcnRpY2lwYW50S2luZBIdChlQQVJUSUNJUEFOVF9LSU5EX1NUQU5EQVJEEAASHAoYUEFSVElDSVBBTlRfS0lORF9JTkdSRVNTEAESGwoXUEFSVElDSVBBTlRfS0lORF9FR1JFU1MQAhIYChRQQVJUSUNJUEFOVF9LSU5EX1NJUBADEhoKFlBBUlRJQ0lQQU5UX0tJTkRfQUdFTlQQBEIQqgINTGl2ZUtpdC5Qcm90bw", [import_handle_pb.file_handle]);
31
+ const ParticipantInfoSchema = /* @__PURE__ */ (0, import_codegenv1.messageDesc)(file_participant, 0);
32
+ const OwnedParticipantSchema = /* @__PURE__ */ (0, import_codegenv1.messageDesc)(file_participant, 1);
33
+ var ParticipantKind = /* @__PURE__ */ ((ParticipantKind2) => {
34
+ ParticipantKind2[ParticipantKind2["STANDARD"] = 0] = "STANDARD";
35
+ ParticipantKind2[ParticipantKind2["INGRESS"] = 1] = "INGRESS";
36
+ ParticipantKind2[ParticipantKind2["EGRESS"] = 2] = "EGRESS";
37
+ ParticipantKind2[ParticipantKind2["SIP"] = 3] = "SIP";
38
+ ParticipantKind2[ParticipantKind2["AGENT"] = 4] = "AGENT";
39
+ return ParticipantKind2;
40
+ })(ParticipantKind || {});
41
+ const ParticipantKindSchema = /* @__PURE__ */ (0, import_codegenv1.enumDesc)(file_participant, 0);
42
+ // Annotate the CommonJS export names for ESM import in node:
43
+ 0 && (module.exports = {
44
+ OwnedParticipantSchema,
45
+ ParticipantInfoSchema,
46
+ ParticipantKind,
47
+ ParticipantKindSchema,
48
+ file_participant
49
+ });
50
+ //# sourceMappingURL=participant_pb.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../../src/proto/participant_pb.ts"],"sourcesContent":["// Copyright 2023 LiveKit, Inc.\n//\n// Licensed under the Apache License, Version 2.0 (the \"License\");\n// you may not use this file except in compliance with the License.\n// You may obtain a copy of the License at\n//\n// http://www.apache.org/licenses/LICENSE-2.0\n//\n// Unless required by applicable law or agreed to in writing, software\n// distributed under the License is distributed on an \"AS IS\" BASIS,\n// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n// See the License for the specific language governing permissions and\n// limitations under the License.\n\n// @generated by protoc-gen-es v2.2.0 with parameter \"target=ts,import_extension=js\"\n// @generated from file participant.proto (package livekit.proto, syntax proto2)\n/* eslint-disable */\n\nimport type { GenEnum, GenFile, GenMessage } from \"@bufbuild/protobuf/codegenv1\";\nimport { enumDesc, fileDesc, messageDesc } from \"@bufbuild/protobuf/codegenv1\";\nimport type { FfiOwnedHandle } from \"./handle_pb.js\";\nimport { file_handle } from \"./handle_pb.js\";\nimport type { Message } from \"@bufbuild/protobuf\";\n\n/**\n * Describes the file participant.proto.\n */\nexport const file_participant: GenFile = /*@__PURE__*/\n fileDesc(\"ChFwYXJ0aWNpcGFudC5wcm90bxINbGl2ZWtpdC5wcm90byL1AQoPUGFydGljaXBhbnRJbmZvEgsKA3NpZBgBIAIoCRIMCgRuYW1lGAIgAigJEhAKCGlkZW50aXR5GAMgAigJEhAKCG1ldGFkYXRhGAQgAigJEkIKCmF0dHJpYnV0ZXMYBSADKAsyLi5saXZla2l0LnByb3RvLlBhcnRpY2lwYW50SW5mby5BdHRyaWJ1dGVzRW50cnkSLAoEa2luZBgGIAIoDjIeLmxpdmVraXQucHJvdG8uUGFydGljaXBhbnRLaW5kGjEKD0F0dHJpYnV0ZXNFbnRyeRILCgNrZXkYASABKAkSDQoFdmFsdWUYAiABKAk6AjgBIm8KEE93bmVkUGFydGljaXBhbnQSLQoGaGFuZGxlGAEgAigLMh0ubGl2ZWtpdC5wcm90by5GZmlPd25lZEhhbmRsZRIsCgRpbmZvGAIgAigLMh4ubGl2ZWtpdC5wcm90by5QYXJ0aWNpcGFudEluZm8qoQEKD1BhcnRpY2lwYW50S2luZBIdChlQQVJUSUNJUEFOVF9LSU5EX1NUQU5EQVJEEAASHAoYUEFSVElDSVBBTlRfS0lORF9JTkdSRVNTEAESGwoXUEFSVElDSVBBTlRfS0lORF9FR1JFU1MQAhIYChRQQVJUSUNJUEFOVF9LSU5EX1NJUBADEhoKFlBBUlRJQ0lQQU5UX0tJTkRfQUdFTlQQBEIQqgINTGl2ZUtpdC5Qcm90bw\", [file_handle]);\n\n/**\n * @generated from message livekit.proto.ParticipantInfo\n */\nexport type ParticipantInfo = Message<\"livekit.proto.ParticipantInfo\"> & {\n /**\n * @generated from field: required string sid = 1;\n */\n sid: string;\n\n /**\n * @generated from field: required string name = 2;\n */\n name: string;\n\n /**\n * @generated from field: required string identity = 3;\n */\n identity: string;\n\n /**\n * @generated from field: required string metadata = 4;\n */\n metadata: string;\n\n /**\n * @generated from field: map<string, string> attributes = 5;\n */\n attributes: { [key: string]: string };\n\n /**\n * @generated from field: required livekit.proto.ParticipantKind kind = 6;\n */\n kind: ParticipantKind;\n};\n\n/**\n * Describes the message livekit.proto.ParticipantInfo.\n * Use `create(ParticipantInfoSchema)` to create a new message.\n */\nexport const ParticipantInfoSchema: GenMessage<ParticipantInfo> = /*@__PURE__*/\n messageDesc(file_participant, 0);\n\n/**\n * @generated from message livekit.proto.OwnedParticipant\n */\nexport type OwnedParticipant = Message<\"livekit.proto.OwnedParticipant\"> & {\n /**\n * @generated from field: required livekit.proto.FfiOwnedHandle handle = 1;\n */\n handle?: FfiOwnedHandle;\n\n /**\n * @generated from field: required livekit.proto.ParticipantInfo info = 2;\n */\n info?: ParticipantInfo;\n};\n\n/**\n * Describes the message livekit.proto.OwnedParticipant.\n * Use `create(OwnedParticipantSchema)` to create a new message.\n */\nexport const OwnedParticipantSchema: GenMessage<OwnedParticipant> = /*@__PURE__*/\n messageDesc(file_participant, 1);\n\n/**\n * @generated from enum livekit.proto.ParticipantKind\n */\nexport enum ParticipantKind {\n /**\n * @generated from enum value: PARTICIPANT_KIND_STANDARD = 0;\n */\n STANDARD = 0,\n\n /**\n * @generated from enum value: PARTICIPANT_KIND_INGRESS = 1;\n */\n INGRESS = 1,\n\n /**\n * @generated from enum value: PARTICIPANT_KIND_EGRESS = 2;\n */\n EGRESS = 2,\n\n /**\n * @generated from enum value: PARTICIPANT_KIND_SIP = 3;\n */\n SIP = 3,\n\n /**\n * @generated from enum value: PARTICIPANT_KIND_AGENT = 4;\n */\n AGENT = 4,\n}\n\n/**\n * Describes the enum livekit.proto.ParticipantKind.\n */\nexport const ParticipantKindSchema: GenEnum<ParticipantKind> = /*@__PURE__*/\n enumDesc(file_participant, 0);\n\n"],"mappings":";;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAmBA,uBAAgD;AAEhD,uBAA4B;AAMrB,MAAM,mBACX,+CAAS,swBAAswB,CAAC,4BAAW,CAAC;AAyCvxB,MAAM,wBACX,kDAAY,kBAAkB,CAAC;AAqB1B,MAAM,yBACX,kDAAY,kBAAkB,CAAC;AAK1B,IAAK,kBAAL,kBAAKA,qBAAL;AAIL,EAAAA,kCAAA,cAAW,KAAX;AAKA,EAAAA,kCAAA,aAAU,KAAV;AAKA,EAAAA,kCAAA,YAAS,KAAT;AAKA,EAAAA,kCAAA,SAAM,KAAN;AAKA,EAAAA,kCAAA,WAAQ,KAAR;AAxBU,SAAAA;AAAA,GAAA;AA8BL,MAAM,wBACX,+CAAS,kBAAkB,CAAC;","names":["ParticipantKind"]}
@@ -1,5 +1,5 @@
1
1
  import type { GenEnum, GenFile, GenMessage } from "@bufbuild/protobuf/codegenv1";
2
- import type { FfiOwnedHandle } from "./handle_pb";
2
+ import type { FfiOwnedHandle } from "./handle_pb.js";
3
3
  import type { Message } from "@bufbuild/protobuf";
4
4
  /**
5
5
  * Describes the file participant.proto.
@@ -1 +1 @@
1
- {"version":3,"file":"participant_pb.d.ts","sourceRoot":"","sources":["../../src/proto/participant_pb.ts"],"names":[],"mappings":"AAkBA,OAAO,KAAK,EAAE,OAAO,EAAE,OAAO,EAAE,UAAU,EAAE,MAAM,8BAA8B,CAAC;AAEjF,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,aAAa,CAAC;AAElD,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,oBAAoB,CAAC;AAElD;;GAEG;AACH,eAAO,MAAM,gBAAgB,EAAE,OACgwB,CAAC;AAEhyB;;GAEG;AACH,MAAM,MAAM,eAAe,GAAG,OAAO,CAAC,+BAA+B,CAAC,GAAG;IACvE;;OAEG;IACH,GAAG,EAAE,MAAM,CAAC;IAEZ;;OAEG;IACH,IAAI,EAAE,MAAM,CAAC;IAEb;;OAEG;IACH,QAAQ,EAAE,MAAM,CAAC;IAEjB;;OAEG;IACH,QAAQ,EAAE,MAAM,CAAC;IAEjB;;OAEG;IACH,UAAU,EAAE;QAAE,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,CAAA;KAAE,CAAC;IAEtC;;OAEG;IACH,IAAI,EAAE,eAAe,CAAC;CACvB,CAAC;AAEF;;;GAGG;AACH,eAAO,MAAM,qBAAqB,EAAE,UAAU,CAAC,eAAe,CAC5B,CAAC;AAEnC;;GAEG;AACH,MAAM,MAAM,gBAAgB,GAAG,OAAO,CAAC,gCAAgC,CAAC,GAAG;IACzE;;OAEG;IACH,MAAM,CAAC,EAAE,cAAc,CAAC;IAExB;;OAEG;IACH,IAAI,CAAC,EAAE,eAAe,CAAC;CACxB,CAAC;AAEF;;;GAGG;AACH,eAAO,MAAM,sBAAsB,EAAE,UAAU,CAAC,gBAAgB,CAC9B,CAAC;AAEnC;;GAEG;AACH,oBAAY,eAAe;IACzB;;OAEG;IACH,QAAQ,IAAI;IAEZ;;OAEG;IACH,OAAO,IAAI;IAEX;;OAEG;IACH,MAAM,IAAI;IAEV;;OAEG;IACH,GAAG,IAAI;IAEP;;OAEG;IACH,KAAK,IAAI;CACV;AAED;;GAEG;AACH,eAAO,MAAM,qBAAqB,EAAE,OAAO,CAAC,eAAe,CAC5B,CAAC"}
1
+ {"version":3,"file":"participant_pb.d.ts","sourceRoot":"","sources":["../../src/proto/participant_pb.ts"],"names":[],"mappings":"AAkBA,OAAO,KAAK,EAAE,OAAO,EAAE,OAAO,EAAE,UAAU,EAAE,MAAM,8BAA8B,CAAC;AAEjF,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,gBAAgB,CAAC;AAErD,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,oBAAoB,CAAC;AAElD;;GAEG;AACH,eAAO,MAAM,gBAAgB,EAAE,OACgwB,CAAC;AAEhyB;;GAEG;AACH,MAAM,MAAM,eAAe,GAAG,OAAO,CAAC,+BAA+B,CAAC,GAAG;IACvE;;OAEG;IACH,GAAG,EAAE,MAAM,CAAC;IAEZ;;OAEG;IACH,IAAI,EAAE,MAAM,CAAC;IAEb;;OAEG;IACH,QAAQ,EAAE,MAAM,CAAC;IAEjB;;OAEG;IACH,QAAQ,EAAE,MAAM,CAAC;IAEjB;;OAEG;IACH,UAAU,EAAE;QAAE,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,CAAA;KAAE,CAAC;IAEtC;;OAEG;IACH,IAAI,EAAE,eAAe,CAAC;CACvB,CAAC;AAEF;;;GAGG;AACH,eAAO,MAAM,qBAAqB,EAAE,UAAU,CAAC,eAAe,CAC5B,CAAC;AAEnC;;GAEG;AACH,MAAM,MAAM,gBAAgB,GAAG,OAAO,CAAC,gCAAgC,CAAC,GAAG;IACzE;;OAEG;IACH,MAAM,CAAC,EAAE,cAAc,CAAC;IAExB;;OAEG;IACH,IAAI,CAAC,EAAE,eAAe,CAAC;CACxB,CAAC;AAEF;;;GAGG;AACH,eAAO,MAAM,sBAAsB,EAAE,UAAU,CAAC,gBAAgB,CAC9B,CAAC;AAEnC;;GAEG;AACH,oBAAY,eAAe;IACzB;;OAEG;IACH,QAAQ,IAAI;IAEZ;;OAEG;IACH,OAAO,IAAI;IAEX;;OAEG;IACH,MAAM,IAAI;IAEV;;OAEG;IACH,GAAG,IAAI;IAEP;;OAEG;IACH,KAAK,IAAI;CACV;AAED;;GAEG;AACH,eAAO,MAAM,qBAAqB,EAAE,OAAO,CAAC,eAAe,CAC5B,CAAC"}
@@ -1,60 +1,22 @@
1
- // Copyright 2023 LiveKit, Inc.
2
- //
3
- // Licensed under the Apache License, Version 2.0 (the "License");
4
- // you may not use this file except in compliance with the License.
5
- // You may obtain a copy of the License at
6
- //
7
- // http://www.apache.org/licenses/LICENSE-2.0
8
- //
9
- // Unless required by applicable law or agreed to in writing, software
10
- // distributed under the License is distributed on an "AS IS" BASIS,
11
- // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12
- // See the License for the specific language governing permissions and
13
- // limitations under the License.
14
1
  import { enumDesc, fileDesc, messageDesc } from "@bufbuild/protobuf/codegenv1";
15
- import { file_handle } from "./handle_pb";
16
- /**
17
- * Describes the file participant.proto.
18
- */
19
- export const file_participant = /*@__PURE__*/ fileDesc("ChFwYXJ0aWNpcGFudC5wcm90bxINbGl2ZWtpdC5wcm90byL1AQoPUGFydGljaXBhbnRJbmZvEgsKA3NpZBgBIAIoCRIMCgRuYW1lGAIgAigJEhAKCGlkZW50aXR5GAMgAigJEhAKCG1ldGFkYXRhGAQgAigJEkIKCmF0dHJpYnV0ZXMYBSADKAsyLi5saXZla2l0LnByb3RvLlBhcnRpY2lwYW50SW5mby5BdHRyaWJ1dGVzRW50cnkSLAoEa2luZBgGIAIoDjIeLmxpdmVraXQucHJvdG8uUGFydGljaXBhbnRLaW5kGjEKD0F0dHJpYnV0ZXNFbnRyeRILCgNrZXkYASABKAkSDQoFdmFsdWUYAiABKAk6AjgBIm8KEE93bmVkUGFydGljaXBhbnQSLQoGaGFuZGxlGAEgAigLMh0ubGl2ZWtpdC5wcm90by5GZmlPd25lZEhhbmRsZRIsCgRpbmZvGAIgAigLMh4ubGl2ZWtpdC5wcm90by5QYXJ0aWNpcGFudEluZm8qoQEKD1BhcnRpY2lwYW50S2luZBIdChlQQVJUSUNJUEFOVF9LSU5EX1NUQU5EQVJEEAASHAoYUEFSVElDSVBBTlRfS0lORF9JTkdSRVNTEAESGwoXUEFSVElDSVBBTlRfS0lORF9FR1JFU1MQAhIYChRQQVJUSUNJUEFOVF9LSU5EX1NJUBADEhoKFlBBUlRJQ0lQQU5UX0tJTkRfQUdFTlQQBEIQqgINTGl2ZUtpdC5Qcm90bw", [file_handle]);
20
- /**
21
- * Describes the message livekit.proto.ParticipantInfo.
22
- * Use `create(ParticipantInfoSchema)` to create a new message.
23
- */
24
- export const ParticipantInfoSchema = /*@__PURE__*/ messageDesc(file_participant, 0);
25
- /**
26
- * Describes the message livekit.proto.OwnedParticipant.
27
- * Use `create(OwnedParticipantSchema)` to create a new message.
28
- */
29
- export const OwnedParticipantSchema = /*@__PURE__*/ messageDesc(file_participant, 1);
30
- /**
31
- * @generated from enum livekit.proto.ParticipantKind
32
- */
33
- export var ParticipantKind;
34
- (function (ParticipantKind) {
35
- /**
36
- * @generated from enum value: PARTICIPANT_KIND_STANDARD = 0;
37
- */
38
- ParticipantKind[ParticipantKind["STANDARD"] = 0] = "STANDARD";
39
- /**
40
- * @generated from enum value: PARTICIPANT_KIND_INGRESS = 1;
41
- */
42
- ParticipantKind[ParticipantKind["INGRESS"] = 1] = "INGRESS";
43
- /**
44
- * @generated from enum value: PARTICIPANT_KIND_EGRESS = 2;
45
- */
46
- ParticipantKind[ParticipantKind["EGRESS"] = 2] = "EGRESS";
47
- /**
48
- * @generated from enum value: PARTICIPANT_KIND_SIP = 3;
49
- */
50
- ParticipantKind[ParticipantKind["SIP"] = 3] = "SIP";
51
- /**
52
- * @generated from enum value: PARTICIPANT_KIND_AGENT = 4;
53
- */
54
- ParticipantKind[ParticipantKind["AGENT"] = 4] = "AGENT";
55
- })(ParticipantKind || (ParticipantKind = {}));
56
- /**
57
- * Describes the enum livekit.proto.ParticipantKind.
58
- */
59
- export const ParticipantKindSchema = /*@__PURE__*/ enumDesc(file_participant, 0);
2
+ import { file_handle } from "./handle_pb.js";
3
+ const file_participant = /* @__PURE__ */ fileDesc("ChFwYXJ0aWNpcGFudC5wcm90bxINbGl2ZWtpdC5wcm90byL1AQoPUGFydGljaXBhbnRJbmZvEgsKA3NpZBgBIAIoCRIMCgRuYW1lGAIgAigJEhAKCGlkZW50aXR5GAMgAigJEhAKCG1ldGFkYXRhGAQgAigJEkIKCmF0dHJpYnV0ZXMYBSADKAsyLi5saXZla2l0LnByb3RvLlBhcnRpY2lwYW50SW5mby5BdHRyaWJ1dGVzRW50cnkSLAoEa2luZBgGIAIoDjIeLmxpdmVraXQucHJvdG8uUGFydGljaXBhbnRLaW5kGjEKD0F0dHJpYnV0ZXNFbnRyeRILCgNrZXkYASABKAkSDQoFdmFsdWUYAiABKAk6AjgBIm8KEE93bmVkUGFydGljaXBhbnQSLQoGaGFuZGxlGAEgAigLMh0ubGl2ZWtpdC5wcm90by5GZmlPd25lZEhhbmRsZRIsCgRpbmZvGAIgAigLMh4ubGl2ZWtpdC5wcm90by5QYXJ0aWNpcGFudEluZm8qoQEKD1BhcnRpY2lwYW50S2luZBIdChlQQVJUSUNJUEFOVF9LSU5EX1NUQU5EQVJEEAASHAoYUEFSVElDSVBBTlRfS0lORF9JTkdSRVNTEAESGwoXUEFSVElDSVBBTlRfS0lORF9FR1JFU1MQAhIYChRQQVJUSUNJUEFOVF9LSU5EX1NJUBADEhoKFlBBUlRJQ0lQQU5UX0tJTkRfQUdFTlQQBEIQqgINTGl2ZUtpdC5Qcm90bw", [file_handle]);
4
+ const ParticipantInfoSchema = /* @__PURE__ */ messageDesc(file_participant, 0);
5
+ const OwnedParticipantSchema = /* @__PURE__ */ messageDesc(file_participant, 1);
6
+ var ParticipantKind = /* @__PURE__ */ ((ParticipantKind2) => {
7
+ ParticipantKind2[ParticipantKind2["STANDARD"] = 0] = "STANDARD";
8
+ ParticipantKind2[ParticipantKind2["INGRESS"] = 1] = "INGRESS";
9
+ ParticipantKind2[ParticipantKind2["EGRESS"] = 2] = "EGRESS";
10
+ ParticipantKind2[ParticipantKind2["SIP"] = 3] = "SIP";
11
+ ParticipantKind2[ParticipantKind2["AGENT"] = 4] = "AGENT";
12
+ return ParticipantKind2;
13
+ })(ParticipantKind || {});
14
+ const ParticipantKindSchema = /* @__PURE__ */ enumDesc(file_participant, 0);
15
+ export {
16
+ OwnedParticipantSchema,
17
+ ParticipantInfoSchema,
18
+ ParticipantKind,
19
+ ParticipantKindSchema,
20
+ file_participant
21
+ };
60
22
  //# sourceMappingURL=participant_pb.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"participant_pb.js","sourceRoot":"","sources":["../../src/proto/participant_pb.ts"],"names":[],"mappings":"AAAA,+BAA+B;AAC/B,EAAE;AACF,kEAAkE;AAClE,mEAAmE;AACnE,0CAA0C;AAC1C,EAAE;AACF,iDAAiD;AACjD,EAAE;AACF,sEAAsE;AACtE,oEAAoE;AACpE,2EAA2E;AAC3E,sEAAsE;AACtE,iCAAiC;AAOjC,OAAO,EAAE,QAAQ,EAAE,QAAQ,EAAE,WAAW,EAAE,MAAM,8BAA8B,CAAC;AAE/E,OAAO,EAAE,WAAW,EAAE,MAAM,aAAa,CAAC;AAG1C;;GAEG;AACH,MAAM,CAAC,MAAM,gBAAgB,GAAY,aAAa,CACpD,QAAQ,CAAC,owBAAowB,EAAE,CAAC,WAAW,CAAC,CAAC,CAAC;AAqChyB;;;GAGG;AACH,MAAM,CAAC,MAAM,qBAAqB,GAAgC,aAAa,CAC7E,WAAW,CAAC,gBAAgB,EAAE,CAAC,CAAC,CAAC;AAiBnC;;;GAGG;AACH,MAAM,CAAC,MAAM,sBAAsB,GAAiC,aAAa,CAC/E,WAAW,CAAC,gBAAgB,EAAE,CAAC,CAAC,CAAC;AAEnC;;GAEG;AACH,MAAM,CAAN,IAAY,eAyBX;AAzBD,WAAY,eAAe;IACzB;;OAEG;IACH,6DAAY,CAAA;IAEZ;;OAEG;IACH,2DAAW,CAAA;IAEX;;OAEG;IACH,yDAAU,CAAA;IAEV;;OAEG;IACH,mDAAO,CAAA;IAEP;;OAEG;IACH,uDAAS,CAAA;AACX,CAAC,EAzBW,eAAe,KAAf,eAAe,QAyB1B;AAED;;GAEG;AACH,MAAM,CAAC,MAAM,qBAAqB,GAA6B,aAAa,CAC1E,QAAQ,CAAC,gBAAgB,EAAE,CAAC,CAAC,CAAC"}
1
+ {"version":3,"sources":["../../src/proto/participant_pb.ts"],"sourcesContent":["// Copyright 2023 LiveKit, Inc.\n//\n// Licensed under the Apache License, Version 2.0 (the \"License\");\n// you may not use this file except in compliance with the License.\n// You may obtain a copy of the License at\n//\n// http://www.apache.org/licenses/LICENSE-2.0\n//\n// Unless required by applicable law or agreed to in writing, software\n// distributed under the License is distributed on an \"AS IS\" BASIS,\n// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n// See the License for the specific language governing permissions and\n// limitations under the License.\n\n// @generated by protoc-gen-es v2.2.0 with parameter \"target=ts,import_extension=js\"\n// @generated from file participant.proto (package livekit.proto, syntax proto2)\n/* eslint-disable */\n\nimport type { GenEnum, GenFile, GenMessage } from \"@bufbuild/protobuf/codegenv1\";\nimport { enumDesc, fileDesc, messageDesc } from \"@bufbuild/protobuf/codegenv1\";\nimport type { FfiOwnedHandle } from \"./handle_pb.js\";\nimport { file_handle } from \"./handle_pb.js\";\nimport type { Message } from \"@bufbuild/protobuf\";\n\n/**\n * Describes the file participant.proto.\n */\nexport const file_participant: GenFile = /*@__PURE__*/\n fileDesc(\"ChFwYXJ0aWNpcGFudC5wcm90bxINbGl2ZWtpdC5wcm90byL1AQoPUGFydGljaXBhbnRJbmZvEgsKA3NpZBgBIAIoCRIMCgRuYW1lGAIgAigJEhAKCGlkZW50aXR5GAMgAigJEhAKCG1ldGFkYXRhGAQgAigJEkIKCmF0dHJpYnV0ZXMYBSADKAsyLi5saXZla2l0LnByb3RvLlBhcnRpY2lwYW50SW5mby5BdHRyaWJ1dGVzRW50cnkSLAoEa2luZBgGIAIoDjIeLmxpdmVraXQucHJvdG8uUGFydGljaXBhbnRLaW5kGjEKD0F0dHJpYnV0ZXNFbnRyeRILCgNrZXkYASABKAkSDQoFdmFsdWUYAiABKAk6AjgBIm8KEE93bmVkUGFydGljaXBhbnQSLQoGaGFuZGxlGAEgAigLMh0ubGl2ZWtpdC5wcm90by5GZmlPd25lZEhhbmRsZRIsCgRpbmZvGAIgAigLMh4ubGl2ZWtpdC5wcm90by5QYXJ0aWNpcGFudEluZm8qoQEKD1BhcnRpY2lwYW50S2luZBIdChlQQVJUSUNJUEFOVF9LSU5EX1NUQU5EQVJEEAASHAoYUEFSVElDSVBBTlRfS0lORF9JTkdSRVNTEAESGwoXUEFSVElDSVBBTlRfS0lORF9FR1JFU1MQAhIYChRQQVJUSUNJUEFOVF9LSU5EX1NJUBADEhoKFlBBUlRJQ0lQQU5UX0tJTkRfQUdFTlQQBEIQqgINTGl2ZUtpdC5Qcm90bw\", [file_handle]);\n\n/**\n * @generated from message livekit.proto.ParticipantInfo\n */\nexport type ParticipantInfo = Message<\"livekit.proto.ParticipantInfo\"> & {\n /**\n * @generated from field: required string sid = 1;\n */\n sid: string;\n\n /**\n * @generated from field: required string name = 2;\n */\n name: string;\n\n /**\n * @generated from field: required string identity = 3;\n */\n identity: string;\n\n /**\n * @generated from field: required string metadata = 4;\n */\n metadata: string;\n\n /**\n * @generated from field: map<string, string> attributes = 5;\n */\n attributes: { [key: string]: string };\n\n /**\n * @generated from field: required livekit.proto.ParticipantKind kind = 6;\n */\n kind: ParticipantKind;\n};\n\n/**\n * Describes the message livekit.proto.ParticipantInfo.\n * Use `create(ParticipantInfoSchema)` to create a new message.\n */\nexport const ParticipantInfoSchema: GenMessage<ParticipantInfo> = /*@__PURE__*/\n messageDesc(file_participant, 0);\n\n/**\n * @generated from message livekit.proto.OwnedParticipant\n */\nexport type OwnedParticipant = Message<\"livekit.proto.OwnedParticipant\"> & {\n /**\n * @generated from field: required livekit.proto.FfiOwnedHandle handle = 1;\n */\n handle?: FfiOwnedHandle;\n\n /**\n * @generated from field: required livekit.proto.ParticipantInfo info = 2;\n */\n info?: ParticipantInfo;\n};\n\n/**\n * Describes the message livekit.proto.OwnedParticipant.\n * Use `create(OwnedParticipantSchema)` to create a new message.\n */\nexport const OwnedParticipantSchema: GenMessage<OwnedParticipant> = /*@__PURE__*/\n messageDesc(file_participant, 1);\n\n/**\n * @generated from enum livekit.proto.ParticipantKind\n */\nexport enum ParticipantKind {\n /**\n * @generated from enum value: PARTICIPANT_KIND_STANDARD = 0;\n */\n STANDARD = 0,\n\n /**\n * @generated from enum value: PARTICIPANT_KIND_INGRESS = 1;\n */\n INGRESS = 1,\n\n /**\n * @generated from enum value: PARTICIPANT_KIND_EGRESS = 2;\n */\n EGRESS = 2,\n\n /**\n * @generated from enum value: PARTICIPANT_KIND_SIP = 3;\n */\n SIP = 3,\n\n /**\n * @generated from enum value: PARTICIPANT_KIND_AGENT = 4;\n */\n AGENT = 4,\n}\n\n/**\n * Describes the enum livekit.proto.ParticipantKind.\n */\nexport const ParticipantKindSchema: GenEnum<ParticipantKind> = /*@__PURE__*/\n enumDesc(file_participant, 0);\n\n"],"mappings":"AAmBA,SAAS,UAAU,UAAU,mBAAmB;AAEhD,SAAS,mBAAmB;AAMrB,MAAM,mBACX,yBAAS,swBAAswB,CAAC,WAAW,CAAC;AAyCvxB,MAAM,wBACX,4BAAY,kBAAkB,CAAC;AAqB1B,MAAM,yBACX,4BAAY,kBAAkB,CAAC;AAK1B,IAAK,kBAAL,kBAAKA,qBAAL;AAIL,EAAAA,kCAAA,cAAW,KAAX;AAKA,EAAAA,kCAAA,aAAU,KAAV;AAKA,EAAAA,kCAAA,YAAS,KAAT;AAKA,EAAAA,kCAAA,SAAM,KAAN;AAKA,EAAAA,kCAAA,WAAQ,KAAR;AAxBU,SAAAA;AAAA,GAAA;AA8BL,MAAM,wBACX,yBAAS,kBAAkB,CAAC;","names":["ParticipantKind"]}