@stream-io/video-react-sdk 1.6.4 → 1.6.6
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 +13 -0
- package/dist/index.cjs.js +5 -2
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.es.js +5 -2
- package/dist/index.es.js.map +1 -1
- package/package.json +3 -3
- package/src/components/CallControls/CallControls.tsx +24 -7
package/dist/index.es.js
CHANGED
|
@@ -1437,7 +1437,10 @@ const CancelCallButton = ({ disabled, caption, onClick, onLeave, }) => {
|
|
|
1437
1437
|
return (jsx(IconButton, { disabled: disabled, icon: "call-end", variant: "danger", title: caption ?? t('Leave call'), "data-testid": "cancel-call-button", onClick: handleClick }));
|
|
1438
1438
|
};
|
|
1439
1439
|
|
|
1440
|
-
const CallControls = ({ onLeave }) => (jsxs("div", { className: "str-video__call-controls", children: [jsx(SpeakingWhileMutedNotification, { children: jsx(ToggleAudioPublishingButton, {}) }), jsx(
|
|
1440
|
+
const CallControls = ({ onLeave }) => (jsxs("div", { className: "str-video__call-controls", children: [jsx(Restricted, { requiredGrants: [OwnCapability.SEND_AUDIO], children: jsx(SpeakingWhileMutedNotification, { children: jsx(ToggleAudioPublishingButton, {}) }) }), jsx(Restricted, { requiredGrants: [OwnCapability.SEND_VIDEO], children: jsx(ToggleVideoPublishingButton, {}) }), jsx(Restricted, { requiredGrants: [OwnCapability.CREATE_REACTION], children: jsx(ReactionsButton, {}) }), jsx(Restricted, { requiredGrants: [OwnCapability.SCREENSHARE], children: jsx(ScreenShareButton, {}) }), jsx(Restricted, { requiredGrants: [
|
|
1441
|
+
OwnCapability.START_RECORD_CALL,
|
|
1442
|
+
OwnCapability.STOP_RECORD_CALL,
|
|
1443
|
+
], children: jsx(RecordCallButton, {}) }), jsx(CancelCallButton, { onLeave: onLeave })] }));
|
|
1441
1444
|
|
|
1442
1445
|
const CallStatsLatencyChart = lazy(() => import('./latency-chart-Bj5OSYzg.es.js'));
|
|
1443
1446
|
var Status;
|
|
@@ -2558,7 +2561,7 @@ const LivestreamPlayer = (props) => {
|
|
|
2558
2561
|
return (jsx(StreamCall, { call: call, children: jsx(LivestreamLayout, { ...layoutProps }) }));
|
|
2559
2562
|
};
|
|
2560
2563
|
|
|
2561
|
-
const [major, minor, patch] = ("1.6.
|
|
2564
|
+
const [major, minor, patch] = ("1.6.6").split('.');
|
|
2562
2565
|
setSdkInfo({
|
|
2563
2566
|
type: SfuModels.SdkType.REACT,
|
|
2564
2567
|
major,
|