livekit-client 1.12.1 → 1.12.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (163) hide show
  1. package/README.md +7 -3
  2. package/dist/livekit-client.e2ee.worker.js +1 -1
  3. package/dist/livekit-client.e2ee.worker.js.map +1 -1
  4. package/dist/livekit-client.e2ee.worker.mjs +389 -301
  5. package/dist/livekit-client.e2ee.worker.mjs.map +1 -1
  6. package/dist/livekit-client.esm.mjs +12735 -14958
  7. package/dist/livekit-client.esm.mjs.map +1 -1
  8. package/dist/livekit-client.umd.js +1 -1
  9. package/dist/livekit-client.umd.js.map +1 -1
  10. package/dist/src/api/SignalClient.d.ts +2 -2
  11. package/dist/src/api/SignalClient.d.ts.map +1 -1
  12. package/dist/src/connectionHelper/ConnectionCheck.d.ts +3 -2
  13. package/dist/src/connectionHelper/ConnectionCheck.d.ts.map +1 -1
  14. package/dist/src/connectionHelper/checks/Checker.d.ts +3 -2
  15. package/dist/src/connectionHelper/checks/Checker.d.ts.map +1 -1
  16. package/dist/src/connectionHelper/checks/webrtc.d.ts.map +1 -1
  17. package/dist/src/connectionHelper/checks/websocket.d.ts.map +1 -1
  18. package/dist/src/e2ee/E2eeManager.d.ts +4 -2
  19. package/dist/src/e2ee/E2eeManager.d.ts.map +1 -1
  20. package/dist/src/e2ee/KeyProvider.d.ts +4 -2
  21. package/dist/src/e2ee/KeyProvider.d.ts.map +1 -1
  22. package/dist/src/e2ee/constants.d.ts +1 -0
  23. package/dist/src/e2ee/constants.d.ts.map +1 -1
  24. package/dist/src/e2ee/types.d.ts +1 -0
  25. package/dist/src/e2ee/types.d.ts.map +1 -1
  26. package/dist/src/e2ee/worker/FrameCryptor.d.ts +4 -2
  27. package/dist/src/e2ee/worker/FrameCryptor.d.ts.map +1 -1
  28. package/dist/src/e2ee/worker/ParticipantKeyHandler.d.ts +14 -3
  29. package/dist/src/e2ee/worker/ParticipantKeyHandler.d.ts.map +1 -1
  30. package/dist/src/index.d.ts +1 -1
  31. package/dist/src/index.d.ts.map +1 -1
  32. package/dist/src/proto/livekit_models_pb.d.ts +1264 -0
  33. package/dist/src/proto/livekit_models_pb.d.ts.map +1 -0
  34. package/dist/src/proto/livekit_rtc_pb.d.ts +1373 -0
  35. package/dist/src/proto/livekit_rtc_pb.d.ts.map +1 -0
  36. package/dist/src/room/PCTransport.d.ts +2 -1
  37. package/dist/src/room/PCTransport.d.ts.map +1 -1
  38. package/dist/src/room/RTCEngine.d.ts +9 -5
  39. package/dist/src/room/RTCEngine.d.ts.map +1 -1
  40. package/dist/src/room/RegionUrlProvider.d.ts +4 -1
  41. package/dist/src/room/RegionUrlProvider.d.ts.map +1 -1
  42. package/dist/src/room/Room.d.ts +15 -11
  43. package/dist/src/room/Room.d.ts.map +1 -1
  44. package/dist/src/room/participant/LocalParticipant.d.ts +2 -2
  45. package/dist/src/room/participant/LocalParticipant.d.ts.map +1 -1
  46. package/dist/src/room/participant/Participant.d.ts +5 -3
  47. package/dist/src/room/participant/Participant.d.ts.map +1 -1
  48. package/dist/src/room/participant/ParticipantTrackPermission.d.ts +1 -1
  49. package/dist/src/room/participant/ParticipantTrackPermission.d.ts.map +1 -1
  50. package/dist/src/room/participant/RemoteParticipant.d.ts +2 -3
  51. package/dist/src/room/participant/RemoteParticipant.d.ts.map +1 -1
  52. package/dist/src/room/timers.d.ts +5 -4
  53. package/dist/src/room/timers.d.ts.map +1 -1
  54. package/dist/src/room/track/LocalTrack.d.ts +3 -0
  55. package/dist/src/room/track/LocalTrack.d.ts.map +1 -1
  56. package/dist/src/room/track/LocalTrackPublication.d.ts +1 -1
  57. package/dist/src/room/track/LocalTrackPublication.d.ts.map +1 -1
  58. package/dist/src/room/track/LocalVideoTrack.d.ts +2 -2
  59. package/dist/src/room/track/LocalVideoTrack.d.ts.map +1 -1
  60. package/dist/src/room/track/RemoteTrackPublication.d.ts +1 -1
  61. package/dist/src/room/track/RemoteTrackPublication.d.ts.map +1 -1
  62. package/dist/src/room/track/Track.d.ts +6 -4
  63. package/dist/src/room/track/Track.d.ts.map +1 -1
  64. package/dist/src/room/track/TrackPublication.d.ts +7 -5
  65. package/dist/src/room/track/TrackPublication.d.ts.map +1 -1
  66. package/dist/src/room/track/create.d.ts.map +1 -1
  67. package/dist/src/room/track/options.d.ts +7 -0
  68. package/dist/src/room/track/options.d.ts.map +1 -1
  69. package/dist/src/room/track/utils.d.ts +5 -1
  70. package/dist/src/room/track/utils.d.ts.map +1 -1
  71. package/dist/src/room/utils.d.ts +3 -1
  72. package/dist/src/room/utils.d.ts.map +1 -1
  73. package/dist/src/test/mocks.d.ts +4 -3
  74. package/dist/src/test/mocks.d.ts.map +1 -1
  75. package/dist/ts4.2/src/api/SignalClient.d.ts +2 -2
  76. package/dist/ts4.2/src/connectionHelper/ConnectionCheck.d.ts +3 -2
  77. package/dist/ts4.2/src/connectionHelper/checks/Checker.d.ts +3 -2
  78. package/dist/ts4.2/src/e2ee/E2eeManager.d.ts +4 -2
  79. package/dist/ts4.2/src/e2ee/KeyProvider.d.ts +4 -2
  80. package/dist/ts4.2/src/e2ee/constants.d.ts +1 -0
  81. package/dist/ts4.2/src/e2ee/types.d.ts +1 -0
  82. package/dist/ts4.2/src/e2ee/worker/FrameCryptor.d.ts +4 -2
  83. package/dist/ts4.2/src/e2ee/worker/ParticipantKeyHandler.d.ts +14 -3
  84. package/dist/ts4.2/src/index.d.ts +1 -1
  85. package/dist/ts4.2/src/proto/livekit_models_pb.d.ts +1264 -0
  86. package/dist/ts4.2/src/proto/livekit_rtc_pb.d.ts +1373 -0
  87. package/dist/ts4.2/src/room/PCTransport.d.ts +2 -1
  88. package/dist/ts4.2/src/room/RTCEngine.d.ts +9 -5
  89. package/dist/ts4.2/src/room/RegionUrlProvider.d.ts +4 -1
  90. package/dist/ts4.2/src/room/Room.d.ts +15 -11
  91. package/dist/ts4.2/src/room/participant/LocalParticipant.d.ts +2 -2
  92. package/dist/ts4.2/src/room/participant/Participant.d.ts +5 -3
  93. package/dist/ts4.2/src/room/participant/ParticipantTrackPermission.d.ts +1 -1
  94. package/dist/ts4.2/src/room/participant/RemoteParticipant.d.ts +2 -3
  95. package/dist/ts4.2/src/room/timers.d.ts +5 -4
  96. package/dist/ts4.2/src/room/track/LocalTrack.d.ts +3 -0
  97. package/dist/ts4.2/src/room/track/LocalTrackPublication.d.ts +1 -1
  98. package/dist/ts4.2/src/room/track/LocalVideoTrack.d.ts +2 -2
  99. package/dist/ts4.2/src/room/track/RemoteTrackPublication.d.ts +1 -1
  100. package/dist/ts4.2/src/room/track/Track.d.ts +6 -4
  101. package/dist/ts4.2/src/room/track/TrackPublication.d.ts +7 -5
  102. package/dist/ts4.2/src/room/track/options.d.ts +7 -0
  103. package/dist/ts4.2/src/room/track/utils.d.ts +5 -1
  104. package/dist/ts4.2/src/room/utils.d.ts +3 -1
  105. package/dist/ts4.2/src/test/mocks.d.ts +4 -3
  106. package/package.json +10 -10
  107. package/src/api/SignalClient.ts +104 -101
  108. package/src/connectionHelper/ConnectionCheck.ts +3 -2
  109. package/src/connectionHelper/checks/Checker.ts +3 -3
  110. package/src/connectionHelper/checks/webrtc.ts +66 -2
  111. package/src/connectionHelper/checks/websocket.ts +4 -0
  112. package/src/e2ee/E2eeManager.ts +4 -3
  113. package/src/e2ee/KeyProvider.ts +3 -2
  114. package/src/e2ee/constants.ts +4 -0
  115. package/src/e2ee/types.ts +1 -0
  116. package/src/e2ee/worker/FrameCryptor.test.ts +1 -3
  117. package/src/e2ee/worker/FrameCryptor.ts +5 -5
  118. package/src/e2ee/worker/ParticipantKeyHandler.ts +37 -6
  119. package/src/e2ee/worker/e2ee.worker.ts +1 -1
  120. package/src/index.ts +1 -1
  121. package/src/proto/livekit_models_pb.ts +2096 -0
  122. package/src/proto/livekit_rtc_pb.ts +2332 -0
  123. package/src/room/PCTransport.ts +1 -1
  124. package/src/room/RTCEngine.ts +24 -18
  125. package/src/room/RegionUrlProvider.ts +11 -2
  126. package/src/room/Room.test.ts +1 -0
  127. package/src/room/Room.ts +158 -79
  128. package/src/room/participant/LocalParticipant.ts +43 -59
  129. package/src/room/participant/Participant.ts +6 -4
  130. package/src/room/participant/ParticipantTrackPermission.ts +3 -3
  131. package/src/room/participant/RemoteParticipant.ts +5 -6
  132. package/src/room/participant/publishUtils.test.ts +1 -0
  133. package/src/room/track/LocalTrack.ts +24 -9
  134. package/src/room/track/LocalTrackPublication.ts +1 -1
  135. package/src/room/track/LocalVideoTrack.test.ts +2 -1
  136. package/src/room/track/LocalVideoTrack.ts +22 -22
  137. package/src/room/track/RemoteTrackPublication.ts +12 -7
  138. package/src/room/track/RemoteVideoTrack.test.ts +5 -4
  139. package/src/room/track/Track.ts +9 -6
  140. package/src/room/track/TrackPublication.ts +7 -5
  141. package/src/room/track/create.ts +9 -17
  142. package/src/room/track/facingMode.test.ts +1 -0
  143. package/src/room/track/options.ts +6 -0
  144. package/src/room/track/utils.test.ts +1 -0
  145. package/src/room/track/utils.ts +44 -2
  146. package/src/room/utils.test.ts +16 -0
  147. package/src/room/utils.ts +20 -4
  148. package/src/test/mocks.ts +7 -5
  149. package/src/utils/AsyncQueue.test.ts +1 -0
  150. package/src/utils/browserParser.test.ts +33 -3
  151. package/src/utils/browserParser.ts +1 -1
  152. package/dist/src/proto/google/protobuf/timestamp.d.ts +0 -146
  153. package/dist/src/proto/google/protobuf/timestamp.d.ts.map +0 -1
  154. package/dist/src/proto/livekit_models.d.ts +0 -2399
  155. package/dist/src/proto/livekit_models.d.ts.map +0 -1
  156. package/dist/src/proto/livekit_rtc.d.ts +0 -14352
  157. package/dist/src/proto/livekit_rtc.d.ts.map +0 -1
  158. package/dist/ts4.2/src/proto/google/protobuf/timestamp.d.ts +0 -150
  159. package/dist/ts4.2/src/proto/livekit_models.d.ts +0 -2659
  160. package/dist/ts4.2/src/proto/livekit_rtc.d.ts +0 -15764
  161. package/src/proto/google/protobuf/timestamp.ts +0 -230
  162. package/src/proto/livekit_models.ts +0 -4006
  163. package/src/proto/livekit_rtc.ts +0 -4672

There are too many changes on this page to be displayed.


The amount of changes on this page would crash your brower.

You can still verify the content by downloading the package file manually.