Reputation: 362
I 'm working on a project which is client-server based. Client is a Windows application (Visual Studio 2012) and server is a C program running on Linux.
Server uses a webcam to capture and stream video (ffserver). Problem is I don't know how to program client to receive and play video (via a dialog box maybe). Do I have to make use of players like WMPlayer, VLC or not?
I 'm newbie and any help or recommendations would be appreciated.
Upvotes: 0
Views: 3901
Reputation: 193
Client side you could always use DirectShow to decode and render your stream. Live555 can handle the stream and pass it to a graph.
Render RTSP H.264 video stream using live555
If you're unfamiliar with DirectShow and filters there's a lot of stuff on MSDN
That should allow you to render to a surface of your choosing, it's always wise to render something on no signal though, just so you can tell the difference between no stream and a blank stream.
Upvotes: 1
Reputation: 1050
i think you will find both server and client side solution using simple vlc player on both end follow below link http://xmodulo.com/2013/09/live-stream-video-webcam-linux.html
Upvotes: 0