Skip to content
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(android): refactor source, fix random DRM issue and crop start on local asset #3835

Merged
merged 19 commits into from
May 30, 2024

Conversation

freeboub
Copy link
Collaborator

@freeboub freeboub commented May 24, 2024

Summary

Move source prop in a dedicated class

Motivation

Keep code clean and more split
In the same time I fix:
Also fix a side issue when using a local file cropping props were not applied
Also fix random DRM issue by refactoring initializePlayerSource : #3082
Prepare another refactor to fix: #2693 and #3665

Changes

Move parsing of source in a dedicated class
Rework usage of the source
Rework MediaMetadata initialization (ping @KrzysztofMoch)
merge setSrc and setRawSrc
Add missing clearResumePosition(); in setSrc
improve logs

Test plan

Can be tested with the sample

freeboub and others added 14 commits May 5, 2024 21:06
…ideo

# Conflicts:
#	android/src/main/java/com/brentvatne/exoplayer/ReactExoplayerViewManager.java
#	src/Video.tsx
…fix/avoidVideoResizingFlickering

# Conflicts:
#	.github/ISSUE_TEMPLATE/bug-report.yml
Also fix a side issue when using a local file cropping props were not applied
Also fix random DRM issue by refactoring initializePlayerSource TheWidlarzGroup#3082
@freeboub freeboub requested a review from YangJonghun May 26, 2024 19:26
@freeboub freeboub requested a review from YangJonghun May 28, 2024 07:21
…ideo into fix/refactorSource

# Conflicts:
#	android/src/main/java/com/brentvatne/exoplayer/ReactExoplayerView.java
Copy link
Collaborator

@KrzysztofMoch KrzysztofMoch left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Look Good To Me 😎

@freeboub freeboub merged commit bdf3e55 into TheWidlarzGroup:master May 30, 2024
3 checks passed
@YangJonghun
Copy link
Collaborator

@freeboub
is there any reason about below changes??

- eventEmitter.error("Failed to initialize DRM Session Manager Framework!", new Exception("DRM Session Manager Framework failure!"), "3003");

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Move startup props into a single configuration
3 participants