Bug 2028 - Wait between send_frame and stop
Summary: Wait between send_frame and stop
Status: NEW
Alias: None
Product: TAO
Classification: Unclassified
Component: AV Streams (show other bugs)
Version: 1.4.2
Hardware: x86 Linux
: P3 normal
Assignee: DOC Center Support List (internal)
URL:
Depends on:
Blocks:
 
Reported: 2005-01-13 08:04 CST by Bogdan Jeram
Modified: 2005-01-25 12:17 CST (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.