RootEncoder icon indicating copy to clipboard operation
RootEncoder copied to clipboard

close fail

Open lijiaqq opened this issue 3 years ago • 3 comments

when i called displayBase.stopStream(),I have received calback onDisconnectRtp. But theserver display is still connected。

Is there a return value from server when i called stopStream

lijiaqq avatar May 16 '22 13:05 lijiaqq

What do you means qith server display?

  • You are still sending packet? Are you sure that you are already sending video packet? you can check it in logcat

pedroSG94 avatar May 16 '22 15:05 pedroSG94

I am sorry my English is not good. I means when i stopStream the connection can still be find in server but client shows disconnect success.

lijiaqq avatar May 17 '22 08:05 lijiaqq

Check in logcat:

  • Rtmp: send close command
  • Rtsp: send teardown command

If you can find it. It is correctly disconnected and you should check the reason in server side. Maybe server need few seconds to update ui

pedroSG94 avatar May 20 '22 19:05 pedroSG94