Click here to Skip to main content
15,892,517 members
Please Sign up or sign in to vote.
4.00/5 (1 vote)
See more:
Hi,

I am writing a windows client server application. I want the clients to be able to stream live webcam to each other. So far I have found some samples and managed to do it through the server but as soon as I have 4 users steraming it freeses. I believe it could be to do with the bandwidth usage of the video, so I am trying to find out how to just use the server to provide the initial connection but then for each client to support their own transmission/receiving of video.

I have tried searching for a solution online but with no luck. Maybe I'm using the wrong keywords

Any ideas please?
Posted

I would advise you to use Open Source product VideoLAN, see http://en.wikipedia.org/wiki/VideoLAN[^], this is a media streaming and media conversion library and the application VLC (VideoLAN client) with enormously wide range of feature, including P2P streaming.

As you want to use C#, .NET wrapper is also available: http://sourceforge.net/projects/libvlcnet/[^].

—SA
 
Share this answer
 
Comments
Espen Harlinn 22-May-11 11:07am    
Good idea, my 5
Sergey Alexandrovich Kryukov 22-May-11 12:39pm    
Thank you, Espen,
--SA
Are you running each video stream in a seperate thread ? Your basic issues are CPU and bandwidth, so long as the code is written right, I'm not sure there's a coding solution to those things.
 
Share this answer
 
Comments
milenalukic 21-May-11 11:42am    
I believe it would be a separate thread as each client who wants to receive requests the stream from the server.

What I would like to do is to use the client as its own video server, using the main server only for connecting/ getting IP address.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900