Exoplayer Player Error Unable To Connect To Hls Link
I have an hls link that plays just fine using mpv, but in exoplayer I get this error: PlayerError com.google.android.exoplayer2.ExoPlaybackException: com.google.android.exoplayer2
Solution 1:
I dug further and figured that the link gives a 307, temporary redirect response redirecting https
to http
. I manualy edited the link and the problem is solved now.
Solution 2:
I faced a similar problem and my spent like 2 hours on it and then i realize it was an issue on my device with the date and time changed so please verify it from your end once.
seem like exoplyer or your URL won't work when you changed the date in the device you are checking.
Solution 3:
Probably it will solve this problem
/res/xml/config.xml
<?xml version="1.0" encoding="utf-8"?><network-security-config><domain-configcleartextTrafficPermitted="true"><domainincludeSubdomains="true">example.com</domain></domain-config></network-security-config>
Manifest.xml
<application...android:networkSecurityConfig="@xml/network_config">
Post a Comment for "Exoplayer Player Error Unable To Connect To Hls Link"