-
Notifications
You must be signed in to change notification settings - Fork 853
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix(darwin): Start observing AVPlayerItem.status
before being assigned to AVPlayer
#1549
Merged
Merged
Changes from 3 commits
Commits
Show all changes
27 commits
Select commit
Hold shift + click to select a range
83ff794
fix: start observing `AVPlayerItem.status` before setting it on `AVPl…
blaugold 257a6a7
Remove debug print
blaugold aa9449c
Fix spelling
blaugold d8ff1a7
Merge branch 'main' into fix/player-item-status
Gustl22 711fe1f
chore: update darwin dependencies
Gustl22 58b1868
refactor(darwin): cast maps
Gustl22 47388e8
refactor: format
Gustl22 b4eb212
refactor: rearrange methods
Gustl22 f2ba251
refactor: releaseSync to release
Gustl22 b11351a
reafactor(darwin): create player item as own method
Gustl22 20657c7
refactor(darwin): setUpPlayerItemStatusObservation as own method
Gustl22 f922ed5
refactor(darwin): setUpPositionObserver as own method
Gustl22 fda9f4d
refactor(darwin): setUpSoundCompletedObserver
blaugold 51b49e7
Merge branch 'gustl22/darwin-refactor' into fix/player-item-status
Gustl22 dabf06f
Merge branch 'fix/player-item-status' of https://github.com/blaugold/…
Gustl22 ba4d121
Merge remote-tracking branch 'upstream/main' into fix/player-item-status
Gustl22 d4b2812
Merge branch 'main' into fix/player-item-status
Gustl22 3403df8
swift-format
Gustl22 c79df69
Merge remote-tracking branch 'upstream/main' into fix/player-item-status
Gustl22 69b347c
avoid catching unknown errors
Gustl22 2634da6
remove log
Gustl22 52de571
darwin: simplify assignment
Gustl22 00d0285
darwin: observer improvements
Gustl22 67478d4
darwin: Make player not nullable
Gustl22 2c62ba7
recreate ios folder
Gustl22 9429b76
recreate macos folder
Gustl22 98c04b6
Merge branch 'main' into fix/player-item-status
Gustl22 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think this is not the right way here: we should avoid catching any error and instead try to not emit the prepared more than once or reinitialize the onPreparedCompleter.