RootEncoder-iOS
RootEncoder-iOS copied to clipboard
how to stop stream and restart stream
Hi @pedroSG94, when I click on stop stream button on ViewController the UI stops working (UI freezing) and not responding, unable to restart streaming again, any help here
Hello,
Are you using the app example? If it is the case. Can you tell me the activity used? Do you have any logcat with a crash?
Yes, I am using the example app code only and replaced the endpoint URL got this UI Stuck issue, after removing this line it is working fine try socket?.write(data: commandsManager.createTeardown()) on RtspClient class
Reproduce steps
Run the application, Click on the start stream button, after a few seconds click on the stop stream button
here app UI getting stops and does not respond but the app not crashing.
I can't reproduce the problem. I will try fix it according the line you suggested