Fix audio output not being properly set for iOS

This commit is contained in:
Craig Martin 2023-04-14 15:12:13 -04:00
parent e0095c3aff
commit dc41c65d62

View File

@ -584,6 +584,7 @@ class RCTVideo: UIView, RCTVideoPlayerViewControllerDelegate, RCTPlayerObserverH
setMaxBitRate(_maxBitRate) setMaxBitRate(_maxBitRate)
} }
setAudioOutput(_audioOutput)
setSelectedAudioTrack(_selectedAudioTrackCriteria) setSelectedAudioTrack(_selectedAudioTrackCriteria)
setSelectedTextTrack(_selectedTextTrackCriteria) setSelectedTextTrack(_selectedTextTrackCriteria)
setResizeMode(_resizeMode) setResizeMode(_resizeMode)