I have been working on an android app for live streaming and I used videoview as a player , but it only streams videos with https and throws a message "Can't play this video" if the link starts with http , that only happens on my real device not the emulator , how can I open access for http ? or how can I solve that problem actually.
here is the solution actually d this
I have added this code to my Manifest and it worked all well !
android:usesCleartextTraffic="true"
solution taken from this problem