Skip to content

Commit

Permalink
chore: add a note about credentials to sample video calling app (#1464)
Browse files Browse the repository at this point in the history
The sample app code used to have confusing comment from the time when
credentials were provided in a separate widget in our tutorials. Now we
just point to the tutorial which has demo crendentials.
  • Loading branch information
myandrienko authored Aug 20, 2024
1 parent 6f4725a commit c09e648
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions sample-apps/react/stream-video-react-tutorial/src/App.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,12 @@ import {
import '@stream-io/video-react-sdk/dist/css/styles.css';
import './style.css';

const apiKey = 'REPLACE_WITH_API_KEY'; // the API key can be found in the "Credentials" section
const token = 'REPLACE_WITH_TOKEN'; // the token can be found in the "Credentials" section
const userId = 'REPLACE_WITH_USER_ID'; // the user id can be found in the "Credentials" section
const callId = 'REPLACE_WITH_CALL_ID'; // the call id can be found in the "Credentials" section
// For demo credentials, check out our video calling tutorial:
// https://getstream.io/video/sdk/react/tutorial/video-calling/
const apiKey = 'REPLACE_WITH_API_KEY';
const token = 'REPLACE_WITH_TOKEN';
const userId = 'REPLACE_WITH_USER_ID';
const callId = 'REPLACE_WITH_CALL_ID';

const user: User = {
id: userId,
Expand Down

0 comments on commit c09e648

Please sign in to comment.