hi Ross,
I changed the code according to your advice, to delivering only 1 NAL unit each
doGetNextFrame(), then the app runs. Thank you!
However, there's something I don't understand. In our camera, SPS/PPS/IFrame
are generated at one time. If the sink object copies one NALU at a time, at the
You need to copy data to “fTo” and call “FramedSource::afterGetting(this)” only
*once*, for each NAL unit that you deliver. (Your code seems to be doing this
multiple times for each delivery; this is wrong.)
In other words, each call to “doGetNextFrame()” must (eventually) lead to the
delivery
hi Ross,
I made changes to send every NAL unit seperately, and made sure all start code
were cut off. For the "key frame" (the SC+SPS+SC+PPS+SC+Frame in one chunk of
data), I seperated them and called memmove and afterGetting for each. See the
code in grey below.
void Gm813xSource::deliverFram
I did solve this just as you suggested I don't remember coming across the
checkSessionTimeoutBrokenServer() function I will have a look at that soon to
see if what I have missed.
Robin
-Original Message-
From: live-devel [mailto:live-devel-boun...@ns.live555.com] On Behalf Of Ross
Fin