[Live-devel] Streamer eats up Cpu.

David Wu davidw at aten-ca.com
Mon Mar 14 18:09:00 PST 2005


Dear Ross,

I have implemented a RTP/RTCP streamer with C++ Builder 5.0 on Win2000. Even I  set fFrameSize = 0 in doGetNextFrame() of FileSource.cpp, CPU usage goes to 99%.

I have tried the both followings in doGetNextFrame() of FileSource.cpp, but they made no difference:
   afterGetting(this);
or
  nextTask() = envir().taskScheduler().scheduleDelayedTask(0,
   (TaskFunc*)FramedSource::afterGetting, this);

Any clue?

Thanks a lot in advance.

David Wu
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.live.com/pipermail/live-devel/attachments/20050314/93b58b23/attachment.html


More information about the live-devel mailing list