<HTML><HEAD></HEAD>
<BODY dir=ltr>
<DIV dir=ltr>
<DIV style="FONT-FAMILY: 'Calibri'; COLOR: #000000; FONT-SIZE: 12pt">
<DIV>Hi Ross,</DIV>
<DIV> </DIV>
<DIV>I am using Live555 for an Intraoral camera streaming application over Wifi.
The streaming session need to be started once the camera and the a client device
is connected.</DIV>
<DIV>But when camera is disconnected during streaming, I will get a event from
the driver and I need to restart the whole session again (canceling the thread
which are handling the streaming).</DIV>
<DIV>When I am canceling and restarting the thread on camera events I am
getting following error message and streaming is not started.</DIV>
<DIV> </DIV>
<DIV><STRONG><EM>Failed to create RTSP server: bind() error (port number: 8554):
Address already in use</EM></STRONG></DIV>
<DIV> </DIV>
<DIV>I guess the socket is not being closed on thread cancellation.</DIV>
<DIV> </DIV>
<DIV>Please let me know the correct procedure to restart the streaming session
and whether does Live555 supports starting/stopping sessions. Are there API’s
available?</DIV>
<DIV> </DIV>
<DIV>Thanks in advance.</DIV>
<DIV><BR>Regards,<BR>Ashfaque </DIV></DIV></DIV></BODY></HTML>