@stream-io/video-react-sdk 1.35.0 → 1.35.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 +18 -0
- package/dist/embedded.cjs.js +1 -1
- package/dist/embedded.cjs.js.map +1 -1
- package/dist/embedded.es.js +1 -1
- package/dist/embedded.es.js.map +1 -1
- package/dist/index.cjs.js +2 -2
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.es.js +2 -2
- package/dist/index.es.js.map +1 -1
- package/dist/src/components/DeviceSettings/DeviceSelectorVideo.d.ts +6 -0
- package/package.json +3 -3
- package/src/components/DeviceSettings/DeviceSelectorVideo.tsx +6 -0
package/dist/index.cjs.js
CHANGED
|
@@ -1403,7 +1403,7 @@ const SpeakerTest = (props) => {
|
|
|
1403
1403
|
const audioElementRef = react.useRef(null);
|
|
1404
1404
|
const [isPlaying, setIsPlaying] = react.useState(false);
|
|
1405
1405
|
const { t } = videoReactBindings.useI18n();
|
|
1406
|
-
const { audioUrl = `https://unpkg.com/${"@stream-io/video-react-sdk"}@${"1.35.
|
|
1406
|
+
const { audioUrl = `https://unpkg.com/${"@stream-io/video-react-sdk"}@${"1.35.2"}/assets/piano.mp3`, } = props;
|
|
1407
1407
|
// Update audio output device when selection changes
|
|
1408
1408
|
react.useEffect(() => {
|
|
1409
1409
|
const audio = audioElementRef.current;
|
|
@@ -3260,7 +3260,7 @@ const checkCanJoinEarly = (startsAt, joinAheadTimeSeconds) => {
|
|
|
3260
3260
|
return Date.now() >= +startsAt - (joinAheadTimeSeconds ?? 0) * 1000;
|
|
3261
3261
|
};
|
|
3262
3262
|
|
|
3263
|
-
const [major, minor, patch] = ("1.35.
|
|
3263
|
+
const [major, minor, patch] = ("1.35.2").split('.');
|
|
3264
3264
|
videoClient.setSdkInfo({
|
|
3265
3265
|
type: videoClient.SfuModels.SdkType.REACT,
|
|
3266
3266
|
major,
|