From 16f3cdbd9a7864206feaeef29344c09792d66d56 Mon Sep 17 00:00:00 2001 From: jerrylc <99468319+jerrylcliu@users.noreply.github.com> Date: Thu, 7 Mar 2024 06:55:44 +0800 Subject: [PATCH] fix(ios): current release volume change observer (#3565) Co-authored-by: jerrylc.liu --- ios/Video/Features/RCTPlayerObserver.swift | 1 + 1 file changed, 1 insertion(+) diff --git a/ios/Video/Features/RCTPlayerObserver.swift b/ios/Video/Features/RCTPlayerObserver.swift index a11dcfec..c1c93262 100644 --- a/ios/Video/Features/RCTPlayerObserver.swift +++ b/ios/Video/Features/RCTPlayerObserver.swift @@ -140,6 +140,7 @@ class RCTPlayerObserver: NSObject, AVPlayerItemMetadataOutputPushDelegate, AVPla func removePlayerObservers() { _playerRateChangeObserver?.invalidate() _playerExternalPlaybackActiveObserver?.invalidate() + _playerVolumeChangeObserver?.invalidate() } func addPlayerItemObservers() {