Skip to content

Commit

Permalink
Fix commit
Browse files Browse the repository at this point in the history
  • Loading branch information
sirknightj committed Sep 21, 2023
1 parent adb30c2 commit 98fb2fb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions examples/viewer.js
Original file line number Diff line number Diff line change
Expand Up @@ -126,8 +126,8 @@ async function startViewer(localView, remoteView, formValues, onStatsReport, onR
const channelARN = describeSignalingChannelResponse.ChannelInfo.ChannelARN;
console.log('[VIEWER] Channel ARN:', channelARN);

if (formValues.region?.toLowerCase() === 'us-west-2') {
console.log('[VIEWER] Using media ingestion feature');
if (formValues.region?.toLowerCase() === 'us-west-2' && formValues.ingestMedia) {
console.log('[VIEWER] Determining whether this signaling channel is in media ingestion mode.');
const mediaStorageConfiguration = await kinesisVideoClient
.describeMediaStorageConfiguration({
ChannelName: formValues.channelName,
Expand Down

0 comments on commit 98fb2fb

Please sign in to comment.