You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi, is there away i can prepare my source Faster?
lets say i get all 100 songs from the server , from the console i see exoplayer taking forever to prepare source as it logs this on the Console.
2019-02-14 12:47:45.938 12735-12947/ng.groove.udux W/zygote: Long monitor contention with owner DefaultHlsPlaylistTracker:MasterPlaylist (12951) at void com.google.android.exoplayer2.upstream.cache.SimpleCache.applyContentMetadataMutations(java.lang.String, com.google.android.exoplayer2.upstream.cache.ContentMetadataMutations)(SimpleCache.java:-1) waiters=0 in void com.google.android.exoplayer2.upstream.cache.SimpleCache.applyContentMetadataMutations(java.lang.String, com.google.android.exoplayer2.upstream.cache.ContentMetadataMutations) for 408ms
@ojw28#4323 i looked at the issue and did not understand if i am to wait for an update to the proposed solution or try to solve that myself using the recommended discussion.
Thanks
It's probably easier for you to wait until the issue is marked as fixed in this case, and then migrate to the first version of ExoPlayer that picks up the improvements (likely 2.10.0).
Hi, is there away i can prepare my source Faster?
lets say i get all 100 songs from the server , from the console i see exoplayer taking forever to prepare source as it logs this on the Console.
2019-02-14 12:47:45.938 12735-12947/ng.groove.udux W/zygote: Long monitor contention with owner DefaultHlsPlaylistTracker:MasterPlaylist (12951) at void com.google.android.exoplayer2.upstream.cache.SimpleCache.applyContentMetadataMutations(java.lang.String, com.google.android.exoplayer2.upstream.cache.ContentMetadataMutations)(SimpleCache.java:-1) waiters=0 in void com.google.android.exoplayer2.upstream.cache.SimpleCache.applyContentMetadataMutations(java.lang.String, com.google.android.exoplayer2.upstream.cache.ContentMetadataMutations) for 408ms
This is how i prepare my source
This is my
cacheDataSourceFactory()
methodHere is the cache instance
Is there anyway i can improve this and reduce loading time before playing song.
Thanks
The text was updated successfully, but these errors were encountered: