fix(ios): current release volume change observer (#3565)
Co-authored-by: jerrylc.liu <jerrylc.liu@dji.com>
This commit is contained in:
parent
ba00881ddc
commit
16f3cdbd9a
@ -140,6 +140,7 @@ class RCTPlayerObserver: NSObject, AVPlayerItemMetadataOutputPushDelegate, AVPla
|
|||||||
func removePlayerObservers() {
|
func removePlayerObservers() {
|
||||||
_playerRateChangeObserver?.invalidate()
|
_playerRateChangeObserver?.invalidate()
|
||||||
_playerExternalPlaybackActiveObserver?.invalidate()
|
_playerExternalPlaybackActiveObserver?.invalidate()
|
||||||
|
_playerVolumeChangeObserver?.invalidate()
|
||||||
}
|
}
|
||||||
|
|
||||||
func addPlayerItemObservers() {
|
func addPlayerItemObservers() {
|
||||||
|
Loading…
Reference in New Issue
Block a user