In my application, we will present a video stream from a traffic camera to a client viewer. (And, ultimately, several client viewers.) The client should be able to watch live video or rewind the video and watch previous frames, including the video that occurred before connecting to the video stream. We intend to use wxWidgets to watch the video and inside this we are likely to use wxMediaCtrl.
Now, from the above statements, some of you might think, "Hey, he doesn't know what he's talking about." And you would be right! I am new to these concepts and am confused by the abundance of information. Are the statements above reasonable? Can anyone recommend a basic server / client architecture for this? We will definitely use C ++ wxWidgets for the GUI, but maybe wxMediaCtrl is not what I want ... should I use something like ffmpeg libraries directly?
Our current method seems less than optimal. The server extracts a bitmap from each video frame, and then expects one client to send a βnext frameβ message, after which the server will send a bitmap. Effectively, we recreated our own awkward, non-standard, inefficient and low-functional video streaming protocol and viewer. There must be something better!
source
share