RootEncoder icon indicating copy to clipboard operation
RootEncoder copied to clipboard

SocketException crash when called stopStream during connecting

Open socialError opened this issue 3 years ago • 2 comments

When stop stream is called durring connecting app sometimes crashes.

Crash log: Screenshot 2022-12-20 at 16 29 17

How to easilly reproduce this issue: at the end of valid streaming url add "xyz" and set some retry count (for instance 10). Durring connecting phase call stopStream and app crashes a lot in this case.

Could you please take a loot at it?

Also big thanks for the library it's great :)

socialError avatar Dec 20 '22 14:12 socialError

Hello, Sorry for late response. I was on holydays. I will handle with this as soon as I can. Thank you for report

pedroSG94 avatar Jan 02 '23 09:01 pedroSG94

This should be fixed now: https://github.com/pedroSG94/rtmp-rtsp-stream-client-java/commit/b4ca9bd7569855dd0e9c261fc83c41fb7a10a951

pedroSG94 avatar Jan 02 '23 10:01 pedroSG94