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
-
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 天内回复
-
难度 2/5 1-3 小时 新手友好度 62/100
ASSERT-KTH/depclean#591 ·
维护者通常 1 天内回复
-
Api537FlareFlameModel.setStackHeightM accepts a negative height可能已有人在做 @EvenSol 今天认领。 未关闭
难度 2/5 1-3 小时 新手友好度 74/100
维护者通常 1 天内回复