Click here to Skip to main content
15,895,011 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
hello, i would like to create an aplication that shows a video from Tv-Tuner or a Webcam live streaming in WPF,and then, i start with to input MediaElement, and and i had no idea to the next step. I've searched, however it didn't help.

this is source i use to made drop video..
C#
string filename = (string)((DataObject)e.Data).GetFileDropList()[0];       mediaElement1.Source = new Uri(filename);

           mediaElement1.LoadedBehavior = MediaState.Manual;
           mediaElement1.UnloadedBehavior = MediaState.Manual;
           mediaElement1.Volume = (double)slider1_ValueChanged;
           mediaElement1.Play();


but i want to try make webcam live streaming

is it possible i made it by mediaelemet?

Could anyone give me some tips?

Thanks in advance!
Posted
Updated 10-Sep-12 19:55pm
v2
Comments
Thomas Duwe 11-Sep-12 2:51am    
Did you search the site for this?
I found:
http://www.codeproject.com/Articles/202464/How-to-use-a-WebCam-in-C-with-the-NET-Framework-4
or
http://www.codeproject.com/Articles/285964/WPF-Webcam-Control

Bye Thomas.
adnanaries 11-Sep-12 10:41am    
solve dude, thanks for your help :)

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