MediaManager takes too much time to generate the media url
@yakirp is already working on this.
Since May 5, 2019.
Assessment
This issue has not been assessed yet.
Description
This is the tracing of a bindViewHolder in a recyclerView for displaying videos using ExoPlayer.
Where the methods to generate the URL's are taking a lot of time, which was unexpected.
A snippet of the code is here, this method is taking 20.41 ms which seems to be a lot for generating an URL.
public static String getVideoPostTransformedUrl(String postUrl) {
return MediaManager.get().url().
transformation(new Transformation().streamingProfile("hd_portrait"))
.resourceType("video").secure(true).generate(postUrl + ".m3u8");
}
Is there something which we are doing wrong?
EDIT: Also the device from which this was is Oneplus 5
- Dominant language
- Java
- Stars
- 69
- Forks
- 60
- PR merge metrics
- No merged PRs in 30d
Getting set up
- No Dockerfile or Docker Compose file
- Has a pull request template
- No contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from cloudinary/cloudinary_android
-
ANR triggered by slow operations in main threadMay be free again @adimiz1 claimed this 690 days ago, and no pull request is open. Open
cloudinary/cloudinary_android#181 · 1 assignee ·
-
want to add minimal sample projectMay be free again @adimiz1 claimed this 703 days ago, and no pull request is open. Open
cloudinary/cloudinary_android#180 · 1 comment · 1 assignee ·
-
Difficulty 5/5 Over a week Newbie friendliness 10/100
cloudinary/cloudinary_android#173 · 1 reaction ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 35/100
cloudinary/cloudinary_android#169 · 3 comments ·
-
Difficulty 3/5 1-2 days Newbie friendliness 35/100
cloudinary/cloudinary_android#153 · 1 comment ·
All issues in cloudinary/cloudinary_android
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
Backblaze/b2-sdk-java#248 ·
Maintainers usually reply within 3 days
-
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
IETF-Hackathon/pqc-certificates#351 ·
Maintainers usually reply within 2 days
-
hermes-queue
Difficulty 2/5 Under an hour Newbie friendliness 72/100
chrisalunlloyd2-sudo/mindpalace#393 ·
Maintainers usually reply within 1 day