[Live-devel] RTSP Server in separate thread

Фазлеев Максим Anarchist666 at yandex.ru
Fri Feb 3 10:05:28 PST 2012


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 thread does not have time to process, and rewrites them to the main thread. If I need to synchronize threads, then please tell me where I need to do it.


More information about the live-devel mailing list