Skip to content

Commit

Permalink
sample: reword some log messages
Browse files Browse the repository at this point in the history
  • Loading branch information
sirknightj authored and niyatim23 committed Aug 24, 2023
1 parent 31d73e2 commit 08aeac8
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions examples/master.js
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ async function startMaster(localView, remoteView, formValues, onStatsReport, onR
const protocols = ['WSS', 'HTTPS'];

if (formValues.region?.toLowerCase() === 'us-west-2' && formValues.ingestMedia) {
console.log('[MASTER] Attempting to use media ingestion feature.');
console.log('[MASTER] Determining whether to use media ingestion feature.');
const describeMediaStorageConfigurationResponse = await kinesisVideoClient
.describeMediaStorageConfiguration({
ChannelARN: master.channelARN,
Expand Down Expand Up @@ -217,7 +217,7 @@ async function startMaster(localView, remoteView, formValues, onStatsReport, onR
console.log('[MASTER] Waiting for media ingestion and storage viewer to join...');
}
} else {
console.log('[MASTER] Media ingestion and storage is not enabled for this channel. Waiting for peers to join...');
console.log('[MASTER] Waiting for peers to join...');
}
});

Expand Down
2 changes: 1 addition & 1 deletion examples/viewer.js
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ async function startViewer(localView, remoteView, formValues, onStatsReport, onR
console.log('[VIEWER] Channel ARN:', channelARN);

if (formValues.region?.toLowerCase() === 'us-west-2' && formValues.ingestMedia) {
console.log('[VIEWER] Using media ingestion feature');
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 08aeac8

Please sign in to comment.