Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

how to stop stream and restart stream #7

Open
VijaykumarPalakurthi opened this issue Dec 28, 2022 · 3 comments
Open

how to stop stream and restart stream #7

VijaykumarPalakurthi opened this issue Dec 28, 2022 · 3 comments

Comments

@VijaykumarPalakurthi
Copy link

VijaykumarPalakurthi commented Dec 28, 2022

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

@pedroSG94
Copy link
Owner

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?

@VijaykumarPalakurthi
Copy link
Author

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.

@pedroSG94
Copy link
Owner

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants