fix(ios): current release volume change observer (#3565)

Co-authored-by: jerrylc.liu <jerrylc.liu@dji.com>
This commit is contained in:
jerrylc 2024-03-07 06:55:44 +08:00 committed by GitHub
parent ba00881ddc
commit 16f3cdbd9a
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -140,6 +140,7 @@ class RCTPlayerObserver: NSObject, AVPlayerItemMetadataOutputPushDelegate, AVPla
func removePlayerObservers() {
_playerRateChangeObserver?.invalidate()
_playerExternalPlaybackActiveObserver?.invalidate()
_playerVolumeChangeObserver?.invalidate()
}
func addPlayerItemObservers() {