<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><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.<br></div></blockquote><div><br></div></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><br></div><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 apple-content-edited="true">
<span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; font-size: medium; "><span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; 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></body></html>