Skip to content

Commit

Permalink
set static to true
Browse files Browse the repository at this point in the history
  • Loading branch information
cewert committed Oct 2, 2023
1 parent 2e9c037 commit 37d58c5
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions components/ItemGrid/LoadVideoContentTask.brs
Original file line number Diff line number Diff line change
Expand Up @@ -219,8 +219,6 @@ sub addVideoContentURL(video, mediaSourceId, audio_stream_idx, fully_external)
"AudioStreamIndex": audio_stream_idx
}

print "attempting to make the file transcode"

selectedAudioStream = m.playbackInfo.MediaSources[0].MediaStreams[audio_stream_idx]
if selectedAudioStream.Channels > 2 and Lcase(selectedAudioStream.Codec) = "aac" or Lcase(selectedAudioStream.Codec) = "opus"
' does the user have a receiver that can decode this multichannel audio stream?
Expand All @@ -238,8 +236,6 @@ sub addVideoContentURL(video, mediaSourceId, audio_stream_idx, fully_external)
print "Attempting to transcode audio to our preferred multichannel codec"
' transcode the audio to keep multichannel support
' otherwise the roku device will downmix aac/opus to stereo
params.Static = false
params.context = "Streaming"
params.audioCodec = preferredCodec
' force all
if selectedAudioStream.Codec = "aac"
Expand Down

0 comments on commit 37d58c5

Please sign in to comment.