Hello,
I am programing an application consisting of multiple panels that display videos. A common Playback functionality is provided to control all the panels i.e: to play, pause, stop the videos in them respectively. I am using Directshow to deal with the multimedia playback.
I want to apply the playback functionality to all the panels to occur at the same time. Like if I am loading 4 videos in 4 panels then I want all of them to be loaded at the same time. Instead of loading one by one. Similarly if I apply stop to stop all the videos I want all of them to be stopped at the same time. As of now it is clearly visible that load and stop operations are performed sequentially in my application that is clearly visible to the human eye, which is not wanted.
I think multithreading is the solution but not sure, as I am new to C# and have never built any multithreaded application before. If so, then suggest what steps I should follow. Is using delegate is the answer? still I am not sure.
Kindly suggest me any solution to cater this functionality so that I could load multiple videos and perform playback operations on them.
Regards