Open RedwanSharafatKabir opened 4 months ago
Hello,
You can do a reconnection like here: https://github.com/pedroSG94/RootEncoder/blob/master/app/src/main/java/com/pedro/streamer/rotation/CameraFragment.kt#L199 Remember add the number of retries: https://github.com/pedroSG94/RootEncoder/blob/master/app/src/main/java/com/pedro/streamer/rotation/CameraFragment.kt#L171
If you want connect to other url you can replace the null value of the first link to your new url
Its working great now. Thanks a lot for your fast reply.
I am streaming in a URL that only allows one stream. But if the internet disconnects the stream from the Application side, stops. And streaming on the URL also stops. How to re-stream when the internet is restored.