RootEncoder-iOS icon indicating copy to clipboard operation
RootEncoder-iOS copied to clipboard

how to stop stream and restart stream

Open VijaykumarPalakurthi opened this issue 1 year ago • 3 comments

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

VijaykumarPalakurthi avatar Dec 28 '22 10:12 VijaykumarPalakurthi

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?

pedroSG94 avatar Jan 02 '23 10:01 pedroSG94

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.

VijaykumarPalakurthi avatar Jan 03 '23 11:01 VijaykumarPalakurthi

I can't reproduce the problem. I will try fix it according the line you suggested

pedroSG94 avatar Jan 11 '23 09:01 pedroSG94