Skip to content

Commit

Permalink
Always call describe
Browse files Browse the repository at this point in the history
  • Loading branch information
sirknightj committed Apr 16, 2024
1 parent 8de3191 commit 080592c
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions examples/master.js
Original file line number Diff line number Diff line change
Expand Up @@ -51,10 +51,8 @@ async function startMaster(localView, remoteView, formValues, onStatsReport, onR

// Determine the media ingestion mode
let ingestionMode = ChannelHelper.IngestionMode.OFF;
if (formValues.ingestMedia) {
if (formValues.ingestMedia || formValues.showJSSButton) {
ingestionMode = ChannelHelper.IngestionMode.DETERMINE_THROUGH_DESCRIBE;
} else if (formValues.showJSSButton) {
ingestionMode = ChannelHelper.IngestionMode.ON;
}

master.channelHelper = new ChannelHelper(
Expand Down

0 comments on commit 080592c

Please sign in to comment.