I have opened this ticket before, in previous session #174/#195, I describe some bug about udp not closing issue, thanks for the help from your maintainer, the issue is fixed.
Recently when I double check, it seems that's only for a receiver, which means, if server send stream to a client, when client drops, the server shall close its udp connection. But it seems when server receive stream from a client, when client drops, the server NEVER close its udp connections
Here's how you can reproduce it. You may use the example->save-to-disk-h264, add a few lines below the peer_connection.close().awat
that will drop the connection after closing and enter an infinite loop but not close the process
then back to the work-flow, follow the official instruction from save-to-disk-h264, when client stream is saving to the disk, close the web page, which will trigger a disconnect event, then ctrl+c to terminate the server part, and use this command lsof -i -P | grep save-to(linux/mac) to check the port opened, you will get many udp ports not closed.
hi,
I have opened this ticket before, in previous session #174/#195, I describe some bug about udp not closing issue, thanks for the help from your maintainer, the issue is fixed.
Recently when I double check, it seems that's only for a receiver, which means, if server send stream to a client, when client drops, the server shall close its udp connection. But it seems when server receive stream from a client, when client drops, the server NEVER close its udp connections
Here's how you can reproduce it. You may use the example->save-to-disk-h264, add a few lines below the peer_connection.close().awat
that will drop the connection after closing and enter an infinite loop but not close the process
then back to the work-flow, follow the official instruction from save-to-disk-h264, when client stream is saving to the disk, close the web page, which will trigger a disconnect event, then ctrl+c to terminate the server part, and use this command lsof -i -P | grep save-to(linux/mac) to check the port opened, you will get many udp ports not closed.
this can be reproduced from version 0.8~0.10
could you check and find the cause plz?