<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD><TITLE>Scansoft</TITLE>
<META content="text/html; charset=us-ascii" http-equiv=Content-Type>
<META name=GENERATOR content="MSHTML 9.00.8112.16441"></HEAD>
<BODY
style="BACKGROUND-COLOR: #e0e0e0; FONT-FAMILY: Trebuchet MS; COLOR: #005080; FONT-SIZE: 10pt"
background="" bgColor=#e0e0e0>
<DIV><SPAN class=480525412-18042012>Good afternoon Ross,</SPAN></DIV>
<DIV><SPAN class=480525412-18042012></SPAN> </DIV>
<DIV><SPAN class=480525412-18042012>I am having a bit of trouble supplying live
data to live555. I have encapsulated my live source using the DeviceSource code
as a base. I know you can't help with modified code, and that's fine. I just
have a simple theoretical question: When using the delayed EventTrigger
functionality of DeviceSource
(TaskScheduler->signalDataWaiting(eventTriggerId, ...) I seem to be unable to
send a complete frame. I am using an MPEG4ESStreamFramer which allows me to
supply frame chunks when my live source is updated and data becomes available,
however live555 fills an internal buffer with as many chunks as it can before
sending the chunks off in a single sendto call. All of the behaviour described
so far is great, but my deliverFrame function is not called for the last chunk
of my frame.</SPAN></DIV>
<DIV><SPAN class=480525412-18042012></SPAN> </DIV>
<DIV><SPAN class=480525412-18042012>I have tried triggering the TaskScheduler
event from within deliverFrame, but that results in undefined behaviour (access
violation). Could there be another method of making sure that the last frame
chunk is not discarded? I understand that there is the option to use a
MPEG4DiscreteStreamFramer which allows for passing entire frame chunks at a
time, but that approach fails miserably because of a socket send buffer
limit.</SPAN></DIV>
<DIV><SPAN class=480525412-18042012></SPAN> </DIV>
<DIV><SPAN class=480525412-18042012>Is there any way I can send off parts of the
complete frame I have using a stream framer, while still being signalled from an
external class that data is available? In other words - using an elementary
stream framer with discrete frames.</SPAN></DIV>
<DIV><SPAN class=480525412-18042012></SPAN> </DIV>
<DIV><SPAN class=480525412-18042012>Thank you</SPAN></DIV>
<DIV><SPAN class=480525412-18042012>Regards</SPAN></DIV>
<DIV align=left><STRONG>___________________________________</STRONG></DIV><BR>
<DIV align=left><STRONG>Shaheed Abdol</STRONG></DIV><BR>
<DIV align=left><FONT color=#909090 size=1><STRONG></STRONG></FONT></DIV><IMG
border=0 hspace=0 alt="Scansoft Technologies" align=baseline
src="cid:480525412@18042012-0C9A"><BR>
<DIV align=left><FONT color=#909090 size=1><STRONG>Web: <A
href="http://www.scansoft.co.za/">www.scansoft.co.za</A></DIV>
<DIV align=left><FONT color=#909090 size=1><STRONG>Tel: +27 21 913
8664</STRONG></FONT></DIV>
<DIV align=left><FONT color=#909090 size=1><STRONG>Cell: +27 79 835
8771</STRONG></FONT></DIV></STRONG></FONT>
<DIV> </DIV></BODY></HTML>