@stream-io/video-react-sdk 1.34.1 → 1.34.2
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 +11 -0
- package/dist/embedded.cjs.js +2 -4
- package/dist/embedded.cjs.js.map +1 -1
- package/dist/embedded.es.js +2 -4
- package/dist/embedded.es.js.map +1 -1
- package/dist/index.cjs.js +3 -5
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.es.js +3 -5
- package/dist/index.es.js.map +1 -1
- package/package.json +3 -3
- package/src/core/components/ParticipantView/DefaultParticipantViewUI.tsx +3 -4
package/dist/embedded.es.js
CHANGED
|
@@ -1154,7 +1154,7 @@ const SpeakerTest = (props) => {
|
|
|
1154
1154
|
const audioElementRef = useRef(null);
|
|
1155
1155
|
const [isPlaying, setIsPlaying] = useState(false);
|
|
1156
1156
|
const { t } = useI18n();
|
|
1157
|
-
const { audioUrl = `https://unpkg.com/${"@stream-io/video-react-sdk"}@${"1.34.
|
|
1157
|
+
const { audioUrl = `https://unpkg.com/${"@stream-io/video-react-sdk"}@${"1.34.2"}/assets/piano.mp3`, } = props;
|
|
1158
1158
|
// Update audio output device when selection changes
|
|
1159
1159
|
useEffect(() => {
|
|
1160
1160
|
const audio = audioElementRef.current;
|
|
@@ -1797,9 +1797,7 @@ const ParticipantDetails = ({ indicatorsVisible = true, }) => {
|
|
|
1797
1797
|
const isTrackPaused = trackType !== 'none' ? hasPausedTrack(participant, trackType) : false;
|
|
1798
1798
|
const isAudioTrackUnmuted = useIsTrackUnmuted(participant);
|
|
1799
1799
|
const isAudioConnecting = hasAudioTrack && !isAudioTrackUnmuted;
|
|
1800
|
-
return (jsxs(Fragment, { children: [jsx("div", { className: "str-video__participant-details", children: jsxs("div", { className: "str-video__participant-details__name", children: [name || userId, indicatorsVisible && isAudioConnecting && (jsx(LoadingIndicator, { className: "str-video__participant-details__name--audio-connecting", tooltip: t('Audio is connecting...') })), indicatorsVisible && !hasAudioTrack && (jsx("span", { className: "str-video__participant-details__name--audio-muted" })), indicatorsVisible && !hasVideoTrack && (jsx("span", { className: "str-video__participant-details__name--video-muted" })), indicatorsVisible && isTrackPaused && (jsx("span", { title: t('Video paused due to insufficient bandwidth'), className: "str-video__participant-details__name--track-paused" })), indicatorsVisible && canUnpin && (
|
|
1801
|
-
// TODO: remove this monstrosity once we have a proper design
|
|
1802
|
-
jsx("span", { title: t('Unpin'), onClick: () => call?.unpin(sessionId), className: "str-video__participant-details__name--pinned" })), indicatorsVisible && jsx(SpeechIndicator, {})] }) }), indicatorsVisible && (jsx(Notification, { isVisible: isLocalParticipant &&
|
|
1800
|
+
return (jsxs(Fragment, { children: [jsx("div", { className: "str-video__participant-details", children: jsxs("div", { className: "str-video__participant-details__name", children: [name || userId, indicatorsVisible && isAudioConnecting && (jsx(LoadingIndicator, { className: "str-video__participant-details__name--audio-connecting", tooltip: t('Audio is connecting...') })), indicatorsVisible && !hasAudioTrack && (jsx("span", { className: "str-video__participant-details__name--audio-muted" })), indicatorsVisible && !hasVideoTrack && (jsx("span", { className: "str-video__participant-details__name--video-muted" })), indicatorsVisible && isTrackPaused && (jsx("span", { title: t('Video paused due to insufficient bandwidth'), className: "str-video__participant-details__name--track-paused" })), indicatorsVisible && pin && (jsx("span", { title: canUnpin ? t('Unpin') : t('Pinned'), onClick: canUnpin ? () => call?.unpin(sessionId) : undefined, className: "str-video__participant-details__name--pinned" })), indicatorsVisible && jsx(SpeechIndicator, {})] }) }), indicatorsVisible && (jsx(Notification, { isVisible: isLocalParticipant &&
|
|
1803
1801
|
connectionQuality === SfuModels.ConnectionQuality.POOR, message: t('Poor connection quality'), children: connectionQualityAsString && (jsx("span", { className: clsx('str-video__participant-details__connection-quality', `str-video__participant-details__connection-quality--${connectionQualityAsString}`), title: connectionQualityAsString })) }))] }));
|
|
1804
1802
|
};
|
|
1805
1803
|
const SpeechIndicator = () => {
|