@stream-io/video-client 0.3.28 → 0.3.30

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 (51) hide show
  1. package/CHANGELOG.md +14 -0
  2. package/README.md +6 -4
  3. package/dist/index.browser.es.js +382 -118
  4. package/dist/index.browser.es.js.map +1 -1
  5. package/dist/index.cjs.js +382 -116
  6. package/dist/index.cjs.js.map +1 -1
  7. package/dist/index.es.js +382 -118
  8. package/dist/index.es.js.map +1 -1
  9. package/dist/src/Call.d.ts +14 -10
  10. package/dist/src/devices/CameraManager.d.ts +0 -1
  11. package/dist/src/devices/InputMediaDeviceManager.d.ts +18 -15
  12. package/dist/src/devices/InputMediaDeviceManagerState.d.ts +22 -6
  13. package/dist/src/devices/MicrophoneManager.d.ts +0 -1
  14. package/dist/src/devices/ScreenShareManager.d.ts +39 -0
  15. package/dist/src/devices/ScreenShareState.d.ts +36 -0
  16. package/dist/src/devices/__tests__/ScreenShareManager.test.d.ts +1 -0
  17. package/dist/src/devices/__tests__/mocks.d.ts +3 -7
  18. package/dist/src/devices/index.d.ts +2 -0
  19. package/dist/src/helpers/DynascaleManager.d.ts +3 -2
  20. package/dist/src/helpers/__tests__/hq-audio-sdp.d.ts +1 -0
  21. package/dist/src/helpers/sdp-munging.d.ts +8 -0
  22. package/dist/src/rtc/Publisher.d.ts +7 -4
  23. package/dist/src/rtc/helpers/tracks.d.ts +2 -1
  24. package/dist/src/rtc/videoLayers.d.ts +2 -1
  25. package/dist/src/types.d.ts +20 -0
  26. package/dist/version.d.ts +1 -1
  27. package/package.json +1 -1
  28. package/src/Call.ts +56 -12
  29. package/src/devices/CameraManager.ts +3 -4
  30. package/src/devices/InputMediaDeviceManager.ts +60 -45
  31. package/src/devices/InputMediaDeviceManagerState.ts +34 -14
  32. package/src/devices/MicrophoneManager.ts +3 -4
  33. package/src/devices/ScreenShareManager.ts +85 -0
  34. package/src/devices/ScreenShareState.ts +63 -0
  35. package/src/devices/__tests__/InputMediaDeviceManager.test.ts +16 -1
  36. package/src/devices/__tests__/ScreenShareManager.test.ts +119 -0
  37. package/src/devices/__tests__/mocks.ts +38 -1
  38. package/src/devices/devices.ts +10 -1
  39. package/src/devices/index.ts +2 -0
  40. package/src/helpers/DynascaleManager.ts +18 -3
  41. package/src/helpers/__tests__/DynascaleManager.test.ts +36 -1
  42. package/src/helpers/__tests__/hq-audio-sdp.ts +332 -0
  43. package/src/helpers/__tests__/sdp-munging.test.ts +13 -1
  44. package/src/helpers/sdp-munging.ts +49 -0
  45. package/src/rtc/Publisher.ts +87 -48
  46. package/src/rtc/Subscriber.ts +4 -1
  47. package/src/rtc/helpers/tracks.ts +16 -6
  48. package/src/rtc/videoLayers.ts +4 -2
  49. package/src/store/CallState.ts +3 -2
  50. package/src/store/__tests__/CallState.test.ts +1 -1
  51. package/src/types.ts +27 -0
package/CHANGELOG.md CHANGED
@@ -2,6 +2,20 @@
2
2
 
3
3
  This file was generated using [@jscutlery/semver](https://github.com/jscutlery/semver).
4
4
 
5
+ ### [0.3.30](https://github.com/GetStream/stream-video-js/compare/@stream-io/video-client-0.3.29...@stream-io/video-client-0.3.30) (2023-10-06)
6
+
7
+
8
+ ### Features
9
+
10
+ * ScreenShare Audio support ([#1118](https://github.com/GetStream/stream-video-js/issues/1118)) ([5b63e1c](https://github.com/GetStream/stream-video-js/commit/5b63e1c5f52c76e3761e6907bd3786c19f0e5c6d))
11
+
12
+ ### [0.3.29](https://github.com/GetStream/stream-video-js/compare/@stream-io/video-client-0.3.28...@stream-io/video-client-0.3.29) (2023-10-05)
13
+
14
+
15
+ ### Bug Fixes
16
+
17
+ * ensure stable sort ([#1130](https://github.com/GetStream/stream-video-js/issues/1130)) ([f96e1af](https://github.com/GetStream/stream-video-js/commit/f96e1af33ef9e60434e07dc0fba5161f20b8eba6))
18
+
5
19
  ### [0.3.28](https://github.com/GetStream/stream-video-js/compare/@stream-io/video-client-0.3.27...@stream-io/video-client-0.3.28) (2023-09-28)
6
20
 
7
21
 
package/README.md CHANGED
@@ -1,6 +1,8 @@
1
- # @stream-io/video-client
1
+ # Official Plain-JS SDK and Low-Level Client for [Stream Video](https://getstream.io/video/docs/)
2
2
 
3
- Low-level video client for browser and Node.js integrations.
3
+ <img src="../../.readme-assets/Github-Graphic-JS.jpg" alt="Stream Video for JavaScript Header image" style="box-shadow: 0 3px 10px rgb(0 0 0 / 0.2); border-radius: 1rem" />
4
+
5
+ Low-level Video SDK client for browser and Node.js integrations.
4
6
 
5
7
  ## **Quick Links**
6
8
 
@@ -13,9 +15,9 @@ Stream allows developers to rapidly deploy scalable feeds, chat messaging and vi
13
15
 
14
16
  With Stream's video components, you can use their SDK to build in-app video calling, audio rooms, audio calls, or live streaming. The best place to get started is with their tutorials:
15
17
 
16
- - Video & Audio Calling Tutorial
18
+ - [Video & Audio Calling Tutorial](https://getstream.io/video/docs/javascript/tutorials/video-calling/)
17
19
  - Audio Rooms Tutorial
18
- - Livestreaming Tutorial
20
+ - [Livestreaming Tutorial](https://getstream.io/video/docs/javascript/tutorials/livestream/)
19
21
 
20
22
  Stream provides UI components and state handling that make it easy to build video calling for your app. All calls run on Stream's network of edge servers around the world, ensuring optimal latency and reliability.
21
23