In my application I stream video via internet. It works great over WiFi but with 4G network the video is freezing. It's a weird beacuse at first I download video and after that stream from sd card but I'm sure that the problem is in network connection.
Is there any way set internet speed to a certain value programmatically or with third-party applications without root access?
I know about mobiwol, Bandwidth ruler Free and BradyBound but they are not helping.
With android.telephony.TelephonyManager
I can get network type and thus determine the speed, but I didn't find how can I set the internet speed by this way.
SOLUTION
I was not found how to 4G network is related with video 'freezing' but I checked how exactly it saved on sd card and the file has been corrupted. I fixed this by adding check incoming file size and saved and if it false then overwritten the file. Thanks @Rolfツ