<div>In my case the device appears as VideoCapture from OpenCV. VideoCapture throught the function read() returns a frame in BGR format. Then the frame is encoded using libx264. How do I use signalNewFrameData() <br />šin my case? Getting frames should be in a separate thread? How, the transfer data from my device to fTo?</div><div>15.01.2012, 16:30, "Ross Finlayson" <finlayson@live555.com>:</div><blockquote type="cite"><div><blockquote type="cite"><div>I am creating an application using OpenCV. There is a need to use the video stream. I created a class based on DeviceSource.Based on the debug output cycle frame reception from the camera will not start. If i need to use event triggers, I do not understand how to do it.</div></blockquote></div>You need to arrange for your "signalNewFrameData()" function to be called whenever a new frame (or, in your case, a new H.264 NAL unit) becomes available. šThat is something that you will have to figure out yourself how to do (because only you understand the environment in which your application will run).<div>Another thing that's wrong with your code is your "H264VideoCamServerMediaSubsession::createNewStreamSource()" function. šIt needs to be feed its input source into a "H264VideoStreamDiscreteFramer" (because "H264VideoRTPSink" expects a "H264VideoStreamFramer" (or a subclass) as input).</div><br /><br /><div><span style="border-collapse:separate;font-family:Helvetica;font-style:normal;font-variant:normal;font-weight:normal;line-height:normal;text-transform:none;font-size:medium;"><span style="border-collapse:separate;font-family:Helvetica;font-style:normal;font-variant:normal;font-weight:normal;line-height:normal;text-transform:none;font-size:medium;">Ross Finlayson<br />Live Networks, Inc.<br /><a href="http://www.live555.com/">http://www.live555.com/</a></span></span></div><br /><p>_______________________________________________<br />live-devel mailing list<br /><a href="mailto:live-devel@lists.live555.com">live-devel@lists.live555.com</a><br /><a href="http://lists.live555.com/mailman/listinfo/live-devel">http://lists.live555.com/mailman/listinfo/live-devel</a></p></blockquote>