MediaManager takes too much time to generate the media url
@yakirp 已經在處理了。
開始於 2019年5月5日。
評估
這個 Issue 還沒有評估資料。
描述
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
- 主要語言
- Java
- 星號
- 69
- 分支
- 60
- PR 合併指標
- 30 天內沒有已合併 PR
環境準備
- 沒有 Dockerfile 或 Docker Compose 檔案
- 有 Pull Request 範本
- 沒有貢獻指南
從這裡開始
- 先讀完整個 Issue,再讀專案的貢獻指南。
- 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
- Fork 儲存庫,在一個分支上完成修改。
- 送出 Pull Request,並在描述裡引用這個 Issue 編號。
cloudinary/cloudinary_android 的其他 Issue
-
ANR triggered by slow operations in main thread可能重新可做 @adimiz1 於 690 天前認領,目前沒有進行中的 PR。 未關閉
cloudinary/cloudinary_android#181 · 已指派 1 人 ·
-
want to add minimal sample project可能重新可做 @adimiz1 於 703 天前認領,目前沒有進行中的 PR。 未關閉
cloudinary/cloudinary_android#180 · 1 則留言 · 已指派 1 人 ·
-
難度 5/5 一週以上 新手友好度 10/100
cloudinary/cloudinary_android#173 · 1 個 reaction ·
-
難度 2/5 1-3 小時 新手友好度 35/100
cloudinary/cloudinary_android#169 · 3 則留言 ·
-
難度 3/5 1-2 天 新手友好度 35/100
cloudinary/cloudinary_android#153 · 1 則留言 ·
查看 cloudinary/cloudinary_android 的全部 Issue
相似的 Issue
-
難度 2/5 1-3 小時 新手友好度 78/100
Backblaze/b2-sdk-java#248 ·
維護者通常 3 天內回覆
-
難度 2/5 1-3 小時 新手友好度 72/100
IETF-Hackathon/pqc-certificates#351 ·
維護者通常 2 天內回覆
-
bug(core): skip_nodes.json is missing SELECT and PRE, causing Python and Java to insert separators into dropdown options and preformatted text可能已有人在做 @Bhumit267 今天認領。 未關閉
難度 2/5 1-3 小時 新手友好度 85/100
維護者通常 1 天內回覆
-
ExceptionThrowShouldUseContext: NullPointerException on a catch block inside an annotation type可能已有人在做 @Carbon14-48 今天認領。 未關閉approved
難度 2/5 1-3 小時 新手友好度 72/100
checkstyle/checkstyle#22784 · 1 則留言 ·
維護者通常 1 天內回覆
-
難度 2/5 1-3 小時 新手友好度 74/100
維護者通常 1 天內回覆