From dc41c65d62ff1de26f4a91891967ed68370f18e4 Mon Sep 17 00:00:00 2001 From: Craig Martin Date: Fri, 14 Apr 2023 15:12:13 -0400 Subject: [PATCH] Fix audio output not being properly set for iOS --- ios/Video/RCTVideo.swift | 1 + 1 file changed, 1 insertion(+) diff --git a/ios/Video/RCTVideo.swift b/ios/Video/RCTVideo.swift index 8af01353..3e54332c 100644 --- a/ios/Video/RCTVideo.swift +++ b/ios/Video/RCTVideo.swift @@ -584,6 +584,7 @@ class RCTVideo: UIView, RCTVideoPlayerViewControllerDelegate, RCTPlayerObserverH setMaxBitRate(_maxBitRate) } + setAudioOutput(_audioOutput) setSelectedAudioTrack(_selectedAudioTrackCriteria) setSelectedTextTrack(_selectedTextTrackCriteria) setResizeMode(_resizeMode)