Re: [Live-devel] RTSP Server in separate thread

2012-02-06 Thread Фазлеев Максим
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(); 

Re: [Live-devel] RTSP Server in separate thread

2012-02-05 Thread Ross Finlayson
> 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

[Live-devel] RTSP Server in separate thread

2012-02-03 Thread Фазлеев Максим
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