Re: [Live-devel] Sending lots of NAL's problem

2009-12-31 Thread Yedidia Amit
Thanks. Happy New Year! From: live-devel-boun...@ns.live555.com [mailto:live-devel-boun...@ns.live555.com] On Behalf Of Ross Finlayson Sent: Thursday, December 31, 2009 1:07 PM To: LIVE555 Streaming Media - development & use Subject: Re: [Live-devel] Sending

Re: [Live-devel] Sending lots of NAL's problem

2009-12-31 Thread Ross Finlayson
but then, in case of multiple NAL's, the frame or the fragmenter will try to fragment the data buy themselves, No, I'm suggesting that your 'framer' object read *and buffer* multiple NAL units from your input socket, but still deliver NAL units to the downstream "H264VideoRTPSink" object one a

Re: [Live-devel] Sending lots of NAL's problem

2009-12-30 Thread Yedidia Amit
(send more than one packet)? From: live-devel-boun...@ns.live555.com [mailto:live-devel-boun...@ns.live555.com] On Behalf Of Ross Finlayson Sent: Thursday, December 31, 2009 8:58 AM To: LIVE555 Streaming Media - development & use Subject: Re: [Live-devel] S

Re: [Live-devel] Sending lots of NAL's problem

2009-12-30 Thread Ross Finlayson
lets say that I do read all available data from the socket on the first call to doDeliverFrame which was triggered by the data arriving to the socket. but if I feed the framer only in one NAL at the first call to the doDeliverFrame No, you wouldn't do that. You would need to feed *all* of the

Re: [Live-devel] Sending lots of NAL's problem

2009-12-30 Thread Yedidia Amit
socket is now empty)? From: live-devel-boun...@ns.live555.com [mailto:live-devel-boun...@ns.live555.com] On Behalf Of Ross Finlayson Sent: Thursday, December 31, 2009 7:49 AM To: LIVE555 Streaming Media - development & use Subject: Re: [Live-devel] Sending lot

Re: [Live-devel] Sending lots of NAL's problem

2009-12-30 Thread Ross Finlayson
what do you mean by "treat the data as a set of (>=1) NAL units."? do you mean that I should read it and use the fNumOfTruncatedBytes if needed? No, I just meant that you should - in your socket read handler - read *all* of the available data from the socket, rather than just one NAL unit's w

Re: [Live-devel] Sending lots of NAL's problem

2009-12-30 Thread Yedidia Amit
ment & use Subject: Re: [Live-devel] Sending lots of NAL's problem I see that the schedualer is launching my deliverFrame about every 1-2msec, when I got multiple descriptors in the socket. The problem is that when I got lost of descriptors (~80) this can take

Re: [Live-devel] Sending lots of NAL's problem

2009-12-30 Thread Ross Finlayson
I see that the schedualer is launching my deliverFrame about every 1-2msec, when I got multiple descriptors in the socket. The problem is that when I got lost of descriptors (~80) this can take up to 160 msec which is way beyond my frame size which is 40 msec (PAL) 1. Am I doing this wrong

[Live-devel] Sending lots of NAL's problem

2009-12-30 Thread Yedidia Amit
Hi All, I am using the LIVE555 to stream h.264 bitstream My source is making NALS with limited size so each frame may contain more than 1 NAL.( I recived all of them together from the HW). After I received them I am creating small descriptors describing each NAL (pointer, size) and send ALL of th