> One last question: Let's assume fDurationInMicroseconds is 0; if the
> transmitting object immediately requests the next frame and doGetNextFrame()
> returns immediately because no frame is available, isn't there a risk that
> the application will use 100% of CPU?
No, because after returning
4 16:38
To: LIVE555 Streaming Media - development & use
Subject: Re: [Live-devel] Please help: I have difficulties implementing the
right classes
On Sep 5, 2014, at 1:14 AM, Fabrice Triboix
mailto:fabri...@ovation.co.uk>> wrote:
You're thinking about this the wrong way. "
On Sep 5, 2014, at 1:14 AM, Fabrice Triboix wrote:
> You're thinking about this the wrong way. "doGetNextFrame()" gets called
> automatically (by the downstream, 'transmitting' object) whenever it needs a
> new NAL unit to transmit. So you should just deliver the next NAL unit (just
> one!)
You're thinking about this the wrong way. "doGetNextFrame()" gets called
automatically (by the downstream, 'transmitting' object) whenever it needs a
new NAL unit to transmit. So you should just deliver the next NAL unit (just
one!) whenever "doGetNextFrame()" is called. If your encoder can g
>> Could it be that calling deliverFrame() multiple times might be wrong?
>
> Yes, that's wrong. Your "doGetNextFrame()" function should deliver one, and
> only one, H.264 NAL unit (note, not a H.264 'frame') each time it's called.
> [Fabrice] All right, that's good to know. From time to time,
September 2014 18:35
To: LIVE555 Streaming Media - development & use
Subject: Re: [Live-devel] Please help: I have difficulties implementing the
right classes
Could it be that calling deliverFrame() multiple times might be wrong?
Yes, that's wrong. Your "doGetNextFrame()" func
> Could it be that calling deliverFrame() multiple times might be wrong?
Yes, that's wrong. Your "doGetNextFrame()" function should deliver one, and
only one, H.264 NAL unit (note, not a H.264 'frame') each time it's called.
Note that if - at the time that "doGetNextFrame()" is called - no H.2
wrong?
Thanks a lot for your help!
Fabrice
From: live-devel [live-devel-boun...@ns.live555.com] on behalf of Ross
Finlayson [finlay...@live555.com]
Sent: 04 September 2014 17:21
To: LIVE555 Streaming Media - development & use
Subject: Re: [Live-devel] Please help: I have difficulti
> I am trying to build an RTSP server using liveMedia to stream H.264 in real
> time from a live encoder. In essence, as soon as I try to connect with VLC,
> liveMedia abort()s with the following message:
> FramedSource[0xbe838]::getNextFrame(): attempting to read more than once at
> the same t