Rstp multi client

the example handles well the first client connected . but a second client can not connect until the first one disconnects.
how to handle multi clients at the same time?


If you would like to get a second client to connect, you can try using a different port number.

Your first client should be rtsp://{ipadddress}:554 (554 is the default port number).

You can use port number 555 for your second client. To stream, key in rtsp://{ipadddress}:555 in VLC.

The port number can be found in rtsp_api.h to modify