Multithreading in streaming media
-
hi I m developing a desktop application in streaming media using C#. I m doing different opertions in it using multithreading like User Login, searching information from Database, searching and playing video file etc. I m also capturing Live video from Webcam and displaying it on the window of my application. But the problem is that when I put the code of Live video capturing and preveiwing in Thread,it doesn't work i.e it doest not caputer n display the live video. so tell me that is multithreading not possible in streaming media or there is some techniques of multithreading for it? Plz reply me ASAP Regards
B!z
-
hi I m developing a desktop application in streaming media using C#. I m doing different opertions in it using multithreading like User Login, searching information from Database, searching and playing video file etc. I m also capturing Live video from Webcam and displaying it on the window of my application. But the problem is that when I put the code of Live video capturing and preveiwing in Thread,it doesn't work i.e it doest not caputer n display the live video. so tell me that is multithreading not possible in streaming media or there is some techniques of multithreading for it? Plz reply me ASAP Regards
B!z
its possible, but you have to ensure threadsafety, say, by using a circular buffer or similiar. Hope this helps, Good luck