[Live-devel] RTP MJPEG: block network packets without data
Brilliantov Kirill Vladimirovich
brilliantov at byterg.ru
Mon Dec 2 23:40:31 PST 2013
Hello, Ross!
Thank you for your answer, you right, I modify data source class and, I
think, problem solved.
Class Frame is sublass FramedSource.
void Frame::doGetNextFrame()
{
fFrameSize = 0;
fNumTruncatedBytes = 0;
get data code
if (fFrameSize)
FramedSource::afterGetting(this);
else
doGetNextFrame();
}
But I not sure what this method optimal.
--
Best regards,
Brilliantov Kirill Vladimirovich
More information about the live-devel
mailing list