<html><head><style type="text/css"><!-- DIV {margin:0px;} --></style></head><body><div style="font-family:times new roman, new york, times, serif;font-size:12pt"><DIV>Hi;</DIV>
<DIV>I am using multithreading, on the client side, to stream video from multiple servers.</DIV>
<DIV>The main thread has an array CLIENTS[] of Clients. Each Client has its own Envirenment, TaskSchudeler and RTSPClient Object. </DIV>
<DIV>For each session with a server, this thread creates 2 other threads:</DIV>
<DIV> 1- one to establish the connexion and bloc on the doEventLoop. When receiving packets, this thread stores them in a Queue.</DIV>
<DIV> 2- the other gets these packets and stores them in the main Queue of the main thread. </DIV>
<DIV>This last one reconstracts the stream and plays it.</DIV>
<DIV> </DIV>
<DIV>The streaming works and I play the video without probleme.</DIV>
<DIV>But I have troubles to pause the streams.</DIV>
<DIV>To pause the whole stream, I must pause each server stream by sending the pause cmd.</DIV>
<DIV>I tried to send these requests by the main thread, and then by each thread on its client without success. In the two cases I can pause only ONE session.</DIV>
<DIV> </DIV>
<DIV>Any idea?</DIV>
<DIV> </DIV>
<DIV> </DIV></div><br>
</body></html>