@stream-io/video-react-sdk 1.15.0 → 1.16.1

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/dist/index.es.js CHANGED
@@ -1500,7 +1500,7 @@ const CallStats = (props) => {
1500
1500
  const { t } = useI18n();
1501
1501
  const [publishBitrate, setPublishBitrate] = useState('-');
1502
1502
  const [subscribeBitrate, setSubscribeBitrate] = useState('-');
1503
- const previousStats = useRef();
1503
+ const previousStats = useRef(undefined);
1504
1504
  const { useCallStatsReport } = useCallStateHooks();
1505
1505
  const callStatsReport = useCallStatsReport();
1506
1506
  useEffect(() => {
@@ -1877,7 +1877,7 @@ const NoiseCancellationProvider = (props) => {
1877
1877
  }, [noiseCancellation]);
1878
1878
  const isSupported = isSupportedByBrowser && hasCapability && noiseCancellationAllowed;
1879
1879
  const [isEnabled, setIsEnabled] = useState(false);
1880
- const deinit = useRef();
1880
+ const deinit = useRef(undefined);
1881
1881
  useEffect(() => {
1882
1882
  if (!call || !isSupported)
1883
1883
  return;
@@ -2726,7 +2726,7 @@ const LivestreamPlayer = (props) => {
2726
2726
  return (jsx(StreamCall, { call: call, children: jsx(LivestreamLayout, { ...layoutProps }) }));
2727
2727
  };
2728
2728
 
2729
- const [major, minor, patch] = ("1.15.0").split('.');
2729
+ const [major, minor, patch] = ("1.16.1").split('.');
2730
2730
  setSdkInfo({
2731
2731
  type: SfuModels.SdkType.REACT,
2732
2732
  major,