Skip to content
This repository has been archived by the owner on Aug 30, 2024. It is now read-only.

Commit

Permalink
Merge pull request #41 from dolbyio-samples/gated
Browse files Browse the repository at this point in the history
Update meeting name for gated demos
  • Loading branch information
dubeyShivank authored Sep 3, 2023
2 parents 3e1001e + a881f4b commit 26afd3c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "comms-app-react-videocall",
"version": "1.10.2",
"version": "1.10.3",
"private": true,
"scripts": {
"dev": "yarn netlify dev --offline",
Expand Down
3 changes: 2 additions & 1 deletion src/routes/ConferenceCreate/DeviceSetup/DeviceSetup.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ import MobileContent from '@src/routes/ConferenceCreate/DeviceSetup/MobileConten
import ToggleMicrophoneButton from '@src/routes/ConferenceCreate/DeviceSetup/ToggleMicrophoneButton';
import ToggleVideoButton from '@src/routes/ConferenceCreate/DeviceSetup/ToggleVideoButton';
import { CreateStep, Routes } from '@src/types/routes';
import { ungatedFeaturesEnabled } from '@src/utils/env';
import { getMeetTimestamp, splitMeetingAlias } from '@src/utils/misc';
import React, { useEffect, useMemo, useState } from 'react';
import { useIntl } from 'react-intl';
Expand Down Expand Up @@ -57,7 +58,7 @@ export const DeviceSetup = () => {

const isSafari = /^((?!chrome|android).)*safari/i.test(navigator.userAgent);

const uniqueMeetingName = getMeetTimestamp(meetingName) ? meetingName : `${meetingName}|${Date.now().toString()}`;
const uniqueMeetingName = !ungatedFeaturesEnabled() ? meetingName : ( getMeetTimestamp(meetingName) ? meetingName : `${meetingName}|${Date.now().toString()}`);

useEffect(() => {
if (sdkErrors['Incorrect participant session']) {
Expand Down

0 comments on commit 26afd3c

Please sign in to comment.