@stream-io/video-react-sdk 1.40.2 → 1.41.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +17 -4
- package/dist/embedded.cjs.js +4 -4
- package/dist/embedded.cjs.js.map +1 -1
- package/dist/embedded.es.js +5 -5
- package/dist/embedded.es.js.map +1 -1
- package/dist/index.cjs.js +5 -5
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.es.js +6 -6
- package/dist/index.es.js.map +1 -1
- package/dist/src/hooks/useRequestPermission.d.ts +2 -2
- package/package.json +3 -3
- package/src/components/CallControls/ScreenShareButton.tsx +5 -2
- package/src/components/CallControls/ToggleAudioButton.tsx +6 -2
- package/src/components/CallControls/ToggleVideoButton.tsx +6 -2
- package/src/core/components/ParticipantView/ParticipantActionsContextMenu.tsx +16 -12
- package/src/hooks/useRequestPermission.ts +4 -2
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,23 @@
|
|
|
2
2
|
|
|
3
3
|
This file was generated using [@jscutlery/semver](https://github.com/jscutlery/semver).
|
|
4
4
|
|
|
5
|
+
## [1.41.0](https://github.com/GetStream/stream-video-js/compare/@stream-io/video-react-sdk-1.40.2...@stream-io/video-react-sdk-1.41.0) (2026-08-18)
|
|
6
|
+
|
|
7
|
+
### Dependency Updates
|
|
8
|
+
|
|
9
|
+
- `@stream-io/video-client` updated to version `1.58.0`
|
|
10
|
+
- **Features**
|
|
11
|
+
- hi-fi audio ([#2305](https://github.com/GetStream/stream-video-js/issues/2305)) ([c2e0f21](https://github.com/GetStream/stream-video-js/commit/c2e0f21d4f57bbf2c64fdc3f5bca45a988f3a176))
|
|
12
|
+
- **Bug Fixes**
|
|
13
|
+
- **client:** E2EE framing-version detection and event renames ([#2366](https://github.com/GetStream/stream-video-js/issues/2366)) ([050aebf](https://github.com/GetStream/stream-video-js/commit/050aebf6efea84089bee6ded5e62ba02ecc22716))
|
|
14
|
+
- **client:** granular E2EE key removal ([#2368](https://github.com/GetStream/stream-video-js/issues/2368)) ([8f52b9a](https://github.com/GetStream/stream-video-js/commit/8f52b9a6ff9b87382dcd5ebd7414388153be8a13)), closes [#2366](https://github.com/GetStream/stream-video-js/issues/2366)
|
|
15
|
+
- **client:** only deselect the speaker device on a real disconnect ([#2375](https://github.com/GetStream/stream-video-js/issues/2375)) ([d7f780d](https://github.com/GetStream/stream-video-js/commit/d7f780d0924471adfe9ba85accf42e889b01e20b))
|
|
16
|
+
- `@stream-io/video-react-bindings` updated to version `1.20.0`
|
|
17
|
+
|
|
18
|
+
### Features
|
|
19
|
+
|
|
20
|
+
- **client:** add E2EE support via WebRTC Encoded Transforms ([#2198](https://github.com/GetStream/stream-video-js/issues/2198)) ([063de51](https://github.com/GetStream/stream-video-js/commit/063de510e877526089073a46dbd08f329c4af058))
|
|
21
|
+
|
|
5
22
|
## [1.40.2](https://github.com/GetStream/stream-video-js/compare/@stream-io/video-react-sdk-1.40.1...@stream-io/video-react-sdk-1.40.2) (2026-08-07)
|
|
6
23
|
|
|
7
24
|
### Dependency Updates
|
|
@@ -9,10 +26,6 @@ This file was generated using [@jscutlery/semver](https://github.com/jscutlery/s
|
|
|
9
26
|
- `@stream-io/audio-filters-web` updated to version `0.10.4`
|
|
10
27
|
- `@stream-io/video-styling` updated to version `1.15.1`
|
|
11
28
|
- `@stream-io/video-client` updated to version `1.57.0`
|
|
12
|
-
- **Features**
|
|
13
|
-
- **react-native:** Expo SDK 57 / RN 0.86.2 upgrade and iOS 27 compatibility fixes ([#2355](https://github.com/GetStream/stream-video-js/issues/2355)) ([ea3c29b](https://github.com/GetStream/stream-video-js/commit/ea3c29b227f7a2a9ddb0eb046325e4783b558c94))
|
|
14
|
-
- **Bug Fixes**
|
|
15
|
-
- **client:** require stable playback before resetting watchdog retries ([#2361](https://github.com/GetStream/stream-video-js/issues/2361)) ([3e6b675](https://github.com/GetStream/stream-video-js/commit/3e6b67527702111cd0ea80e3bee1c9e6995406aa))
|
|
16
29
|
- `@stream-io/video-filters-web` updated to version `0.8.6`
|
|
17
30
|
- `@stream-io/video-react-bindings` updated to version `1.19.2`
|
|
18
31
|
|
package/dist/embedded.cjs.js
CHANGED
|
@@ -997,7 +997,7 @@ const ScreenShareButton = (props) => {
|
|
|
997
997
|
const { caption, optimisticUpdates } = props;
|
|
998
998
|
const { useHasOngoingScreenShare, useScreenShareState, useCallSettings } = videoReactBindings.useCallStateHooks();
|
|
999
999
|
const isSomeoneScreenSharing = useHasOngoingScreenShare();
|
|
1000
|
-
const { hasPermission, requestPermission, isAwaitingPermission } = useRequestPermission(videoClient.
|
|
1000
|
+
const { hasPermission, requestPermission, isAwaitingPermission } = useRequestPermission(videoClient.RequestPermissionRequestPermissionsEnum.SCREENSHARE);
|
|
1001
1001
|
const callSettings = useCallSettings();
|
|
1002
1002
|
const isScreenSharingAllowed = callSettings?.screensharing.enabled;
|
|
1003
1003
|
const { screenShare, optionsAwareIsMute, isTogglePending } = useScreenShareState({
|
|
@@ -1210,7 +1210,7 @@ const SpeakerTest = (props) => {
|
|
|
1210
1210
|
const audioElementRef = react.useRef(null);
|
|
1211
1211
|
const [isPlaying, setIsPlaying] = react.useState(false);
|
|
1212
1212
|
const { t } = videoReactBindings.useI18n();
|
|
1213
|
-
const { audioUrl = `https://unpkg.com/${"@stream-io/video-react-sdk"}@${"1.
|
|
1213
|
+
const { audioUrl = `https://unpkg.com/${"@stream-io/video-react-sdk"}@${"1.41.0"}/assets/piano.mp3`, } = props;
|
|
1214
1214
|
// Update audio output device when selection changes
|
|
1215
1215
|
react.useEffect(() => {
|
|
1216
1216
|
const audio = audioElementRef.current;
|
|
@@ -1339,7 +1339,7 @@ const ToggleAudioPreviewButton = (props) => {
|
|
|
1339
1339
|
const ToggleAudioPublishingButton = (props) => {
|
|
1340
1340
|
const { t } = videoReactBindings.useI18n();
|
|
1341
1341
|
const { caption, Menu = jsxRuntime.jsx(DeviceSelectorAudioInput, { visualType: "list" }), menuPlacement = 'top', onMenuToggle, optimisticUpdates, ...restCompositeButtonProps } = props;
|
|
1342
|
-
const { hasPermission, requestPermission, isAwaitingPermission } = useRequestPermission(videoClient.
|
|
1342
|
+
const { hasPermission, requestPermission, isAwaitingPermission } = useRequestPermission(videoClient.RequestPermissionRequestPermissionsEnum.SEND_AUDIO);
|
|
1343
1343
|
const { useMicrophoneState, useLocalParticipant } = videoReactBindings.useCallStateHooks();
|
|
1344
1344
|
const { microphone, hasBrowserPermission, isPromptingPermission, isTogglePending, optionsAwareIsMute, } = useMicrophoneState({ optimisticUpdates });
|
|
1345
1345
|
const localParticipant = useLocalParticipant();
|
|
@@ -1391,7 +1391,7 @@ const ToggleVideoPreviewButton = (props) => {
|
|
|
1391
1391
|
const ToggleVideoPublishingButton = (props) => {
|
|
1392
1392
|
const { t } = videoReactBindings.useI18n();
|
|
1393
1393
|
const { caption, Menu = jsxRuntime.jsx(DeviceSelectorVideo, { visualType: "list" }), menuPlacement = 'top', onMenuToggle, optimisticUpdates, ...restCompositeButtonProps } = props;
|
|
1394
|
-
const { hasPermission, requestPermission, isAwaitingPermission } = useRequestPermission(videoClient.
|
|
1394
|
+
const { hasPermission, requestPermission, isAwaitingPermission } = useRequestPermission(videoClient.RequestPermissionRequestPermissionsEnum.SEND_VIDEO);
|
|
1395
1395
|
const { useCameraState, useCallSettings, useLocalParticipant } = videoReactBindings.useCallStateHooks();
|
|
1396
1396
|
const { camera, optionsAwareIsMute, hasBrowserPermission, isPromptingPermission, isTogglePending, } = useCameraState({ optimisticUpdates });
|
|
1397
1397
|
const localParticipant = useLocalParticipant();
|