[Live-devel] MultiFramedRTPSource::doGetNextFrame1 question
Ross Finlayson
finlayson at live555.com
Mon Sep 25 20:04:45 PDT 2017
> in MultiFramedRTPSource::doGetNextFrame1, why 'if (fCurrentPacketCompletesFrame && fFrameSize > 0)' need 'fFrameSize > 0', fCurrentPacketCompletesFrame is true, the frame is completes,then can break the while, is not it?
I’m not going to answer your question. Here’s why:
I’ve found that whenever someone asks a question like this about a minor detail of the code, it’s because they encountered a problem when they tried to use our libraries, and have been diving down into the details of the code in order to try to figure out why their application failed.
This is almost always a “red herring” (to use a common English idiom):
https://en.wikipedia.org/wiki/Red_herring
Instead, we usually find that the reason your application failed has nothing to do with the piece of code that you’re asking about. Instead, it’s usually something much simpler.
So instead of asking about a specific piece of code, please begin by explaining how you are using the “LIVE555 Streaming Media” code, and what problem you had with it.
Ross Finlayson
Live Networks, Inc.
http://www.live555.com/
More information about the live-devel
mailing list