Bug 2028

Summary: Wait between send_frame and stop
Product: TAO Reporter: Bogdan Jeram <bjeram>
Component: AV StreamsAssignee: DOC Center Support List (internal) <tao-support>
Status: NEW ---    
Severity: normal    
Priority: P3    
Version: 1.4.2   
Hardware: x86   
OS: Linux   

Description Bogdan Jeram 2005-01-13 08:04:20 CST
There is necessary to wait for unspecified amount of time after we send the last
frame (i.e. TAO_AV_TCP_Object::send_frame)
and invoke stop on streamctrl otherwise we do not get all the data to the other
side.

According to the test example the waiting is necessary to flush the data to
another side: 
AVStreams/Full_profile.ftp.cpp: 
// wait for sometime for the data to be flushed to the other side.
               this->count_++;
               if (this->count_ == 2) 
               
I think that this is quit annoying problem that should be solved.
Comment 1 yamuna 2005-01-25 12:17:24 CST
Unfirtunately I will not be able to take a look at it for sometime.