Android Question Exoplayer- error (http-stream)

kisoft

Well-Known Member
Licensed User
Longtime User
Hi
I want to open a stream from this address, but I'm getting this bug:
B4X:
Error: com.google.android.exoplayer2.upstream.HttpDataSource$HttpDataSourceException: Unable to connect to http://stream2.nadaje.com:8056/;

The link is good. It works on VLC. It seems the problem may be http (not https). Is there any solution to the problem?
 
Last edited:

Almora

Active Member
Licensed User
Longtime User
28 - Non-ssl (non-https) communication is not permitted by default. It can be enabled in B4A v9+ by adding this line to the manifest editor:
Code:
CreateResourceFromFile(Macro, Core.NetworkClearText)

have you tried it?
 
Last edited:
Upvote 0
Top