> On Jun 25, 2024, at 9:38 PM, 강현구 <hyungu.k...@autol.co.kr> wrote: > > The doGetNextFrame function should be called when the camera is connected > properly, but it is not working. > Since doGetNextFrame is not called, camera frame data cannot be processed or > transmitted.
The problem with your code was that you needed to insert a “H264VideoStreamDiscreteFramer” object ahead of your H.264 source object. (This is mentioned in the FAQ, but is far from obvious - sorry.) In particular, in your “createNewStreamSource()” implementation, you should replace return MyH264LiveSource::createNew(envir()); with FramedSource* videoSource = MyH264LiveSource::createNew(envir()); if (videoSource == NULL) return NULL; return H264VideoStreamDiscreteFramer::createNew(envir(), videoSource); Ross Finlayson Live Networks, Inc. http://www.live555.com/ _______________________________________________ live-devel mailing list live-devel@lists.live555.com http://lists.live555.com/mailman/listinfo/live-devel