kisoft Well-Known Member Licensed User Longtime User Dec 19, 2019 #1 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: Dec 19, 2019
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?
Almora Well-Known Member Licensed User Longtime User Dec 20, 2019 #2 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: Dec 20, 2019 Upvote 0
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?
kisoft Well-Known Member Licensed User Longtime User Dec 20, 2019 #3 I added to the manifesto and now it works. Thank you . Upvote 0