Skip to content

Commit

Permalink
fix(ios): current release volume change observer (#3565)
Browse files Browse the repository at this point in the history
Co-authored-by: jerrylc.liu <[email protected]>
  • Loading branch information
jerrylcliu and jerrylc.liu authored Mar 6, 2024
1 parent ba00881 commit 16f3cdb
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions ios/Video/Features/RCTPlayerObserver.swift
Original file line number Diff line number Diff line change
Expand Up @@ -140,6 +140,7 @@ class RCTPlayerObserver: NSObject, AVPlayerItemMetadataOutputPushDelegate, AVPla
func removePlayerObservers() {
_playerRateChangeObserver?.invalidate()
_playerExternalPlaybackActiveObserver?.invalidate()
_playerVolumeChangeObserver?.invalidate()
}

func addPlayerItemObservers() {
Expand Down

0 comments on commit 16f3cdb

Please sign in to comment.