In main.cpp pthread_cond_t cond = PTHREAD_COND_INITIALIZER;pthread_mutex_t mutex = PTHREAD_MUTEX_INITIALIZER;void *liveMedia(void *arg){ pthread_mutex_lock(&mutex); H264VideoCamSource **videoSource = (H264VideoCamSource **) arg; TaskScheduler* scheduler = BasicTaskScheduler::createNew();
> I'm creating a RTSP Server in a separate thread. My encoder (libx264)
> produces arrays x264 nal units. When the encoder processes the first frame it
> produces an array of 4 nal units. Then I pass by one unit in my DeviceSource
> and call signalNewFrameData every time. But it seems this separ
I'm creating a RTSP Server in a separate thread. My encoder (libx264) produces
arrays x264 nal units. When the encoder processes the first frame it produces
an array of 4 nal units. Then I pass by one unit in my DeviceSource and call
signalNewFrameData every time. But it seems this separate thre