Skip to content

Commit

Permalink
Fix: Setting user selected video quality on primary tile
Browse files Browse the repository at this point in the history
  • Loading branch information
aravind-raveendran committed Aug 21, 2024
1 parent 6e89487 commit 724e5c7
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ struct ListView: View {
let selectedVideoSource = viewModel.selectedVideoSource
let tileWidth = deviceOrientation.isPortrait ? screenSize.width - Constants.tileSpacing : screenSize.width * 0.75 - Constants.tileSpacing
let displayLabel = selectedVideoSource.sourceId.displayLabel
let preferredVideoQuality: VideoQuality = selectedVideoSource == viewModel.selectedVideoSource ? .auto : .low
let preferredVideoQuality: VideoQuality = viewModel.mainTilePreferredVideoQuality
let isSelectedVideoSource = true
let isSelectedAudioSource = selectedVideoSource == viewModel.selectedAudioSource
let viewId = deviceOrientation.isPortrait ? "\(ListView.self).Primary.Portrait.\(displayLabel)" : "\(ListView.self).Primary.Landscape.\(displayLabel)"
Expand Down

0 comments on commit 724e5c7

Please sign in to comment.