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

[APT-10449] Clients Call From Any Thread #48

Merged
merged 2 commits into from
Sep 20, 2024
Merged

Conversation

kabliz
Copy link
Contributor

@kabliz kabliz commented Sep 19, 2024

Makes no assumptions about what thread the client is calling ArmadilloPlayer from, aside from initialization. For those recently updating since 1.5.1, this should resolve any strange bugs from client behavior.

Avoids making DRM system calls for content without DRM. This probably doesn't change anything.

Makes no assumptions about what thread the client is calling ArmadilloPlayer from, aside from initialization.  For those recently updating since 1.5.1, this should resolve any strange bugs from client behavior.

Avoids making DRM system calls for content without DRM. This probably doesn't change anything.
@kabliz kabliz force-pushed the katherine/APT-10449-handler branch from 79eccfc to b2f97df Compare September 20, 2024 00:01
@kschults kschults self-assigned this Sep 20, 2024
Comment on lines 48 to 50
val drmManager = if (request.drmInfo == null) {
drmSessionManagerProvider.get(mediaItem)
} else null
Copy link
Contributor

@griffinfscribd griffinfscribd Sep 20, 2024

Choose a reason for hiding this comment

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

I wanted to double check that this is right - that if drmInfo is null, then we get a drmManager, but if it's not null then we set drmManager to null? From the desc, I was expecting the opposite.

FactoryFactory reflects design pattern used. Helper & Util names are an anti-pattern.
@kabliz kabliz merged commit 4e07c3a into main Sep 20, 2024
6 checks passed
@kabliz kabliz deleted the katherine/APT-10449-handler branch September 20, 2024 17:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

3 participants