Re: [Live-devel] how to use H264or5VideoRTPSink

2017-01-13 Thread Roland Aigner
>> First, don’t waste time with Mickey Mouse third-party sites like ‘Stack >> Overflow’. They are never authoritative, and top-tier people don’t bother >> posting to them. Instead, go straight to the source. Haha, I agree, the quality is not always that good. To my experience however, the com

Re: [Live-devel] how to use H264or5VideoRTPSink

2017-01-13 Thread Ross Finlayson
First, don’t waste time with Mickey Mouse third-party sites like ‘Stack Overflow’. They are never authoritative, and top-tier people don’t bother posting to them. Instead, go straight to the source. > @NAL units: I am using NvCodec for encoding and neither documentation nor > samples even me

Re: [Live-devel] how to use H264or5VideoRTPSink

2017-01-13 Thread Roland Aigner
Hi, Thanks a ton for your detailed reply. In the meantime I figured out that I completely misunderstood how the FramedSource is supposed to work and what has to happen in the respective methods. Others on stackoverflow, asking similar questions, seemed to misunderstand as well, so I completel

Re: [Live-devel] how to use H264or5VideoRTPSink

2017-01-12 Thread Ross Finlayson
I suspect that your problem is that you are not using the correct ‘framer’ class for your H.264 video ‘frames’ (in reality, H.264 NAL units). Look at your implementation of the “createNewStreamSource()” virtual function (in your “OnDemandServerMediaSubsession” subclass). Because your data sourc

[Live-devel] how to use H264or5VideoRTPSink

2017-01-12 Thread Roland Aigner
Hi all, I've got a few beginner questions: I'm trying to stream H264/H265 encoded live video via RTP/RTCP. For this, I'm trying to build upon your testOnDemandRTSPServer sample, since it best fits my needs. I saw that you prepared a dummy class DeviceSource, apparently for the purpose of impl