(X) Hide this
    • Login
    • Join
      • Say No Bots Generate New Image
        By clicking 'Register' you accept the terms of use .

Capturing the Webcam in Silverlight 4

(17 votes)
Joel Neubeck
>
Joel Neubeck
Joined Dec 05, 2009
Articles:   2
Comments:   0
More Articles
56 comments   /   posted on Dec 10, 2009
Tags:   webcam , joel-neubeck
Categories:   General , Media

Introduction

Since the first release of Silverlight, the community has been patiently waiting for a version of Silverlight which would allow us to capture video from a user’s webcam, as well as audio from their microphone. This past month at PDC 09, our wait was over with the release of Silverlight 4 Beta 1.

In this article we will explore the ways in which Silverlight can interact with a webcam, as well as the powerful results one can produce by combining live video with pixel shaders, video brushes as well as WriteableBitmaps.

Download Source Code

Getting Started

To get started, let’s create a new Silverlight 4 project in Visual Studio 2010 and draw a 320x240 pixel black Rectangle called “rectVideo” inside of the LayoutRoot of our MainPage.xaml.

1

One of the coolest media features included in Silverlight, is the VideoBrush. A VideoBrush gives us the ability to paint any area of our stage with video content. Back in the earlier versions of Silverlight we were limited to painting the source of a MediaElement, such as a Video Stream being played from an external source. A lot of people used the VideoBrush as a way to create cool effects like reflections of a video playing.

With Silverlight 4 addition of Webcam support, we now have the ability to set the source of our VideoBrush to that of the live video being captured through our webcam. We will use this technique to display our video on the Rectangle we just added to our stage.

Attaching to our Webcam

In order to have some live video to display in our black rectangle, we need to attach to our camera (VideoCaptureDevice) and capture its source. The first step in doing this is to instantiate the System.Windows.Media.CaptureSource object. This class is designed to provide methods and properties used to work with audio and video capture devices. In essence, CaptureSource is like a little media player. We attach a device, such as the camera or microphone, and “Start()” or “Stop()” the capture of content through the device. CaptureSource does not give us direct access to the raw audio or video, but instead can be used as the source of a VideoBrush or a custom VideoSink. In the future we will explore how to leverage a class derived from VideoSink to receive video information and to obtain the capture graph.

The first step in setting up our CaptureSource, is to set its “VideoCaptureDevice” and “AudioCaptureDevice” properties equal to one of our attached audio or video devices. Silverlight has created a helper class called “CaptureDeviceConfiguration” which gives us two choices in how we can get access to a camera or microphone.

All available Camera’s or Microphones

The first option we have is to call CaptureDeviceConfiguration.GetAvailableVideoCaptureDevices. This method will return us a generic Collection containing each available VideoCaptureDevice. From this collection we could allow our users to manually select which device they choose to capture or we could look for the device which has the “IsDefaultDevice” property set to true.

Default Camera or Microphone

A second approach we can use is to request the default VideoCaptureDevice . Most people only have a single camera attached to their computer, so requesting the default will get us access without an additional interaction required by the user. Below is the code I use to attach our default camera to my CaptureSource and use that source to feed live video into my VideoBrush.

 CaptureSource _capture.VideoCaptureDevice = CaptureDeviceConfiguration.GetDefaultVideoCaptureDevice();
 VideoBrush videoBrush = new VideoBrush();
 videoBrush.Stretch = Stretch.Uniform;
 videoBrush.SetSource(_capture);
 rectVideo.Fill = videoBrush;

Requesting Access

Now that we have our webcam attached, and our rectangle’s Fill being painted by our VideoBrush, it time to request permission to use the camera. For privacy reasons each time that Silverlight wants to access ones camera or microphone, the user must explicitly give Silverlight permission.

2

To get this dialog to appear we need to make the following call. The first part of the condition looks to see if we have already been given access, while the second requests the dialog to appear. A true response from either will allow us to call our CaptureSource.Start() method to begin capturing our live video.

 if (CaptureDeviceConfiguration.AllowedDeviceAccess || 
        CaptureDeviceConfiguration.RequestDeviceAccess())
 {
     _capture.Start();
 }

3

Taking it to the next level

Now that we know how to display our webcam in Silverlight, let’s see what we can do with the video being captured.

In Silverlight 3 we saw the introduction of Pixel Shader’s as a way to provide a custom bitmap effect to an image or video. Creating your own ShaderEffect is a great way to dynamically transform our webcams video as it is being painted on our rectangle. Instead of spending a bunch of time talking about how to create a ShaderEffect I encourage everyone to go to http://wpffx.codeplex.com/ and download the Windows Presentation Foundation Pixel Shader Effects Library. It contains just about every effect one would want to apply to our video.

To apply a ShaderEffect to our rectangle, we can either do it procedurally or simply add an Effect node to our XAML.

 <Rectangle Name="rectVideo" Width="320" Height="240" Fill="Black"  
    MouseLeftButtonDown="rectVideo_MouseLeftButton" VerticalAlignment="Top">
   <Rectangle.Effect>
      <local:InvertColorEffect/>
   </Rectangle.Effect>
 </Rectangle>

 

In this example I have applied an Invert effect to my video producing the following results. As each frame of the video is painted to the rectangle the ShaderEffect is applied just prior to the render.

 

4

If I want to give my user access to a bunch of effects, then on cool approach is to create a custom list that previews the effect on a small thumbnail of the live video. Using the same VideoBrush I can paint my webcam video on small 48x36 rectangles that are being rendered with one of each of my ShaderEffects. If a user wants to see the effect on the larger video, then we can tie a MouseLeftButtonDown event on the rectangle that alters our larger rectVideo to display the effect.

 private void Effect_MouseLeftButtonDown(object sender, MouseButtonEventArgs e)
 {
     Rectangle rec = sender as Rectangle;
     switch (rec.Name)
     {
         case "invert":
             var invert = new InvertColorEffect();
             rectVideo.Effect = invert;
             break;
         case "mono":
             var mono = new MonochromeEffect();
             mono.FilterColor = Colors.White;
             rectVideo.Effect = mono;
             break;
         case "swirl":
             var swirl = new SwirlEffect();
             swirl.SwirlStrength = 2.5;
             rectVideo.Effect = swirl;
             break;
         case "tone":
             var tone = new ColorToneEffect();
             tone.Toned = 2;
             tone.LightColor = Colors.Brown;
             rectVideo.Effect = tone;
             break;
         case "emboss":
             var emboss = new EmbossedEffect();
             emboss.Amount = 15;
             emboss.Width = .01;
             rectVideo.Effect = emboss;
             break;
         default:
             rectVideo.Effect = null;
             break;
     }
 }

5

Capturing Stills of our Live Video

Now that we have our Shader’s being applied to our video, It would be really fun to capture still images that we can store both in isolated storage and to our file system.

In most situations, the fastest and easiest way to capture a still is to use the AsyncCaptureImage method exposed on our CaptureSource.

 _capture.AsyncCaptureImage((capturedImage) => 
     _viewModel.Captures.Add(capturedImage));

This method takes an System.Action<T> that generates a WriteableBitmap at the moment the method is called. The result of this call will be a WritableBitmap that we could use as the BitmapSource of an image or the source of an image we write to a second location.

Unfortunately, since this technique goes directly against the CaptureSource, it does not reflect the ShaderEffect that we have applied to our rectangle which has been painted with our VideoBrush. To get our still to have the effect, we simply have to generate the WritableBitmap from rectVideo directly. One possible downside is that the size of the still we capture will be the exact size of the rectangle we have drawn. If this was a problem we could certainly explore other ways to capture a large image using a similar approach.

 WriteableBitmap writeableBitmap = new WriteableBitmap(rectVideo, null);
 string name = Guid.NewGuid().ToString() + ".jpg";
  
 //store the image in a collection in my viewmodel
 _viewModel.Captures.Add(new Capture() { Name = name, Bitmap = writeableBitmap });

Isolated Storage

One of the other cool features I decided to add to my example, is the ability to create a list of thumbnails of each still I capture. This collection of thumbnails is displayed in a WrapPanel that has been applied to a ListBox as its ItemPanelTemplate. As I capture the still, I add it to my ListBox via binding to an “ObservableCollection”, as well as writing the image as a jpeg in isolated storage. This allows the application to maintain a persistent cache of each photo that has been captured. Next time we load the Silverlight app the list of stored image will be redisplayed in the ListBox.

6

Saving Still as Jpeg to File System

Out of the box Silverlight does not have native support of encoding jpegs, but a nice open source library called FJCore has been create that does the trick. http://code.google.com/p/fjcore/

 using (IsolatedStorageFileStream isfs = new 
      IsolatedStorageFileStream(name, FileMode.CreateNew, _isf))
 {
    MemoryStream stream = new MemoryStream();
    writeableBitmap.EncodeJpeg(stream);
    stream.CopyTo(isfs);
 }

The last and final feature I want to demonstrate was the ability to wrte my captures from isolated storage to the file system. Since I store each capture in isolated storage as a jpeg, all I have to do is locate the correct image by name, and copy the “IsolatedStorageFileStream” to the Stream that will be used to write to the file system. .NET 4.0 added a really nice helper function “CopyTo” that allows me to copy the bytes[] from one stream to another.

 private void Button_Click(object sender, RoutedEventArgs e)
 {
      Capture capture = listImages.SelectedItem as Capture;
      if (capture != null)
      {
          if (_saveFileDlg.ShowDialog().Value)
          {
               using (Stream stream = _saveFileDlg.OpenFile())
               {
                  if (_isf.FileExists(capture.Name))
                  {
                     using (IsolatedStorageFileStream isfs = 
                     new IsolatedStorageFileStream(capture.Name, FileMode.Open, _isf))
                     {
                         isfs.Seek(0, SeekOrigin.Begin);
                         isfs.CopyTo(stream);
                     }
                  }
               }
            }
       }
 }

What’s Next

Now that we have the base of a Web capture control, in future articles we can continue to add features to improve its usability. Look for articles on leveraging right click capabilities to save and delete our captures, the introduction of audio captures as well as the introduction of commanding to move further towards the MVVM pattern of design.


Subscribe

Comments

  • -_-

    RE: Capturing the Webcam in Silverlight 4


    posted by Stephen Britz on Dec 11, 2009 16:46
    Very cool stuff.  Thanks for the post!
  • -_-

    RE: Capturing the Webcam in Silverlight 4


    posted by vergnaty on Dec 12, 2009 19:09
    Hi,
     its fantastic , but if i want to save the streem, how can i do...?? 
  • -_-

    RE: Capturing the Webcam in Silverlight 4


    posted by Rene Schulte on Dec 12, 2009 21:45
    You might want to read my blog post I wrote 3 weeks ago, where I already saved the webcam snapshots to a JPEG: EdgeCam Shots - Saving Silverlight 4 Webcam Snapshots to JPEG. I also provided some ideas for streaming in the blog post.
  • -_-

    RE: Capturing the Webcam in Silverlight 4


    posted by River on Dec 19, 2009 13:36

    Can you give me  a demo for video chat  in silverlight 4

    Thanks

    myEmail :yu.zhenjiang@live.cn

     

  • -_-

    RE: Capturing the Webcam in Silverlight 4


    posted by hasan on Jan 21, 2010 19:03

    Can you plz give me  a demo for video chat  in silverlight 4???

    Thanks

    myEmail :hasan_aub@yahoo.com

  • -_-

    RE: Capturing the Webcam in Silverlight 4


    posted by ed on Feb 13, 2010 10:33
    yay! all I ever wanted to do with a webcam is take snaps of myself and fiddle with them.  oh well, Flash is supposed have a good end to end UDP protocol streaming solution good enough for video chat, conferencing etc.  Wake up Microsoft.
  • -_-

    RE: Capturing the Webcam in Silverlight 4


    posted by jacky chen on Feb 20, 2010 16:41

    I tried your source code on my xp iis, it worked fine, but every time I closed the windows or browsed back or forword my computer was frozen. my snapshoot here:

    http://tweetphoto.com/11964880

  • -_-

    RE: Capturing the Webcam in Silverlight 4


    posted by Ran on Mar 02, 2010 18:10

    Hello,

     This works quite smoothly and seems like a solution I've been looking for for such a  long time.
    What would you think would be the best solution for uploading the captured image to a web server ?

    Thanks again for the great article,
    Ran

  • -_-

    RE: Capturing the Webcam in Silverlight 4


    posted by kalyana murthy on Apr 14, 2010 14:01

    Hi, its a good stufff,

    i need to capture the bar code from web cam i want read that bar code in silver light. please can u provide any thing related to that i how we capture.

  • -_-

    RE: Capturing the Webcam in Silverlight 4


    posted by Rosi on Apr 20, 2010 11:54
    hello. i want to include a video stream from an Osprey 440 board into silverlight and display it with Share Point. can you give me some advice? my e-mail: rosi_negrean@yahoo.com
  • -_-

    RE: Capturing the Webcam in Silverlight 4


    posted by Martha on Apr 22, 2010 08:36

    When I started working to capture webcam with Silverlight 4 beta the webcam didnot work under *.aspx page which contains my my Silverlight component. When the page get loaded only there is an empty rectangle showing and Silverlight did not ask for permission to access my webcam. Plz let me know the reason.

    http://www.digitalcamcorder.org.uk/

  • -_-

    RE: Capturing the Webcam in Silverlight 4


    posted by Poe on May 15, 2010 06:55
    I don't get how to use itt!! could you explain it more?
  • -_-

    RE: Capturing the Webcam in Silverlight 4


    posted by SeattleDiver on Jul 25, 2010 21:27
    This code is a P.O.S!
  • -_-

    RE: Capturing the Webcam in Silverlight 4


    posted by Ajeet on Aug 04, 2010 16:36

    I am very happy with that feature of silverlight.

    so can we use this feature for a video chat also by implementing it into asp.net web page??

    plz i need guidance for it...

    waiting for reply..

    thanks..

  • -_-

    RE: Capturing the Webcam in Silverlight 4


    posted by harsha on Sep 30, 2010 05:36

    hi

    capturing image is fine, how do we stream live video and save in any video format.

    and later play back once again.

    please help me its requirement.

    Thanks

    harsha

  • -_-

    RE: Capturing the Webcam in Silverlight 4


    posted by david on Sep 30, 2010 15:56

    it works just fine!

    the problem is when i run it using my visual studio 10 , when its time to ask for webcam permission - i get a window saying :

    "Protection Error

    Debugger detected - please close it down and restart"

    what do you think i should do ? on the website it works just fine

    the link is http://www.printingmonitor.com/sl/sltestingTestPage.html

     

     

  • -_-

    RE: Capturing the Webcam in Silverlight 4


    posted by GregS on Oct 18, 2010 20:25

    When I try to run this most excellent example I get a message stating that it is written for an expired beta version of SilverLight. What's up with that?

  • -_-

    RE: Capturing the Webcam in Silverlight 4


    posted by pk on Oct 28, 2010 23:59

    thanx

  • -_-

    RE: Capturing the Webcam in Silverlight 4


    posted by Basha on Oct 30, 2010 14:24

    Hi,When I try to run this sample code, it says that the application is created with the expired version of Silver light and It is not loading the entire solution. Could you please provide me the working code of this project.

    Thank You.

    Basha

  • -_-

    RE: Capturing the Webcam in Silverlight 4


    posted by Dave Ogle on Nov 21, 2010 16:53

    CaptureDeviceConfiguration

     

     

    .RequestDeviceAccess();

    RequestAccess must be called in response to a user initiated event, such as a Button Click event

     

     

  • -_-

    RE: Capturing the Webcam in Silverlight 4


    posted by Adalberto Junior Brazil on Dec 20, 2010 19:46
    Is good!
  • -_-

    RE: Capturing the Webcam in Silverlight 4


    posted by Sparrow on Dec 29, 2010 07:55
    This is wonderful. I am still adding my interest to the many people that have asked for video chat feature. Is there a way to do that?
  • -_-

    RE: Capturing the Webcam in Silverlight 4


    posted by Bob T. on Jan 03, 2011 20:16
    Step by step.  I would like to prepare to use my notebook camera for a conference video exchange of a board meeting.  Is silverlight adaptable to such a use?
  • -_-

    RE: Capturing the Webcam in Silverlight 4


    posted by Flashman on Jan 13, 2011 13:44

    You can get the same results looking in the mirror.

    Still no way of sending the webcam output across the web. Not so much a web camas a bedroom cam

  • -_-

    RE: Capturing the Webcam in Silverlight 4


    posted by Lisa Morgan on Jan 25, 2011 01:46
    You have given me a fine jumping off poingi for understanding the webcam capabilities of Silverlight. Thanks!
  • -_-

    That's jumping off POINT


    posted by Lisa Morgan on Jan 25, 2011 01:47
    ...must wear glasses at the computer even when tired, Lisa...
  • -_-

    RE: Capturing the Webcam in Silverlight 4


    posted by ColinHak on Jan 29, 2011 09:35

    Can you give me  a demo for video chat  in silverlight 4,and it's best use mpeg encode and decode.

    Thanks

    Email : chengqingbao@gmail.com

  • -_-

    RE: Capturing the Webcam in Silverlight 4


    posted by vishal on Feb 01, 2011 11:32

    Hello,

    Can u give me some idea and code for video chat in silverlight 4?

    Also i want to save captured image on server not by openfile dialog.

    Please help me if u can.My Id is yourvishal.gupta@gmail.com

  • -_-

    RE: Capturing the Webcam in Silverlight 4


    posted by tushar on Feb 04, 2011 23:39

    <UserControl.Resources>
    <local:MainPageViewModel x:Key="MainViewModel"/> 
    <DataTemplate x:Key="ImagesItemTemplate"> 
    <Image Source="{Binding Path=Bitmap}" Name="{Binding Path=Name}" Stretch="UniformToFill" Width="50" Height="50"/> 
    </DataTemplate> 
    <ItemsPanelTemplate x:Key="ImagesItemPanel"> 
    <controls:WrapPanel></controls:WrapPanel>
    </ItemsPanelTemplate>
    </UserControl.Resources>
     

    Error list:

    Error 4 The type 'local:MainPageViewModel' was not found. Verify that you are not missing an assembly reference and that all referenced assemblies have been built. 

    Error 5 The type 'controls:WrapPanel' was not found. Verify that you are not missing an assembly reference and that all referenced assemblies have been built. 

    Id:tushki17@gmail.com

    I am not able to remove these erros please help me

    Thanks

     


     

  • -_-

    RE: Capturing the Webcam in Silverlight 4


    posted by Nilesh Kshetre on Feb 14, 2011 13:25

    Error 4 The type 'local:MainPageViewModel' was not found. Verify that you are not missing an assembly reference and that all referenced assemblies have been built. 

    Error 5 The type 'controls:WrapPanel' was not found. Verify that you are not missing an assembly reference and that all referenced assemblies have been built. 

    Id:tushki17@gmail.com

    I am not able to remove these erros please help me

    Thanks

  • -_-

    RE: Capturing the Webcam in Silverlight 4


    posted by THH on Apr 18, 2011 18:41

    error

    ..\FJCore\FJCore.csproj : error  : Unable to read the project file 'FJCore.csproj'. 
    ..\FJCore\FJCore.csproj: The project file could not be loaded. Could not find a part of the path ..\FJCore\FJCore.csproj'.


    this file is missing..


  • -_-

    RE: Capturing the Webcam in Silverlight 4


    posted by Alex on Apr 27, 2011 20:10
    Great project and easy to extend. I also need to post captured image to the server. Did not find the solution so far but came across http://www.glo6.com/Camera1.aspx component that does just that. too bad no source available...
  • -_-

    RE: Capturing the Webcam in Silverlight 4


    posted by Guiovanni Ochoa on May 11, 2011 03:35

    I only write to thank you for the explanations above. Now I understand more about this Silverlight's funcionality. As you don't answer comment's questions I won't do they.

    Thanks. ¿Someonw knows an alternative for "Copy To" (from isolated storage to file system storage) using .NET .Framework 3.5?

  • -_-

    RE: Capturing the Webcam in Silverlight 4


    posted by alwaqfi on May 17, 2011 12:16

    Hi,

    Am Getting Error: This Application Was Created for  an Expired beta Release of Silverlight.Please....

    Any solution,

    Regards,

  • -_-

    RE: Capturing the Webcam in Silverlight 4


    posted by Ronald on May 19, 2011 00:24
    Thanks!! so useful!!
  • SHADOW

    Re: Capturing the Webcam in Silverlight 4


    posted by SHADOW on Jun 09, 2011 16:15
    How to use WetFloorEffect ?
  • SHADOW

    Re: Capturing the Webcam in Silverlight 4


    posted by SHADOW on Jun 09, 2011 16:20
    private void WetFloorEffectButton_Click(object sender, RoutedEventArgs e)
            {
                if (capturedDisplay1.Effect != null)
                {
                    capturedDisplay1.Effect = null;
                }
                else
                {
                    var wetFloor = new WetFloorEffect();

                    wetFloor.ReflectionDepth = 2.0;
                }
            }
  • Raghav

    Re: Capturing the Webcam in Silverlight 4


    posted by Raghav on Aug 17, 2011 13:38

    error

    ..\FJCore\FJCore.csproj : error : Unable to read the project file 'FJCore.csproj'.
    ..\FJCore\FJCore.csproj: The project file could not be loaded. Could not find a part of the path ..\FJCore\FJCore.csproj'.

    this file is missing..


  • BHUMI

    Re: Capturing the Webcam in Silverlight 4


    posted by BHUMI on Nov 07, 2011 04:33
    plz help me for creating video chat
  • 540132525

    Re: Capturing the Webcam in Silverlight 4


    posted by 540132525 on Dec 01, 2011 10:17

      <ListBox Grid.Column="1" Height="Auto" Name="listImages" Width="230" Margin="5,10,10,10"
                     ItemsSource="{Binding Path=Captures, Mode=TwoWay}"
                     ItemTemplate="{StaticResource ImagesItemTemplate}"
                     ItemsPanel="{StaticResource ImagesItemPanel}"
                     ScrollViewer.HorizontalScrollBarVisibility="Disabled"
                     ScrollViewer.VerticalScrollBarVisibility="Auto"
                     >
                </ListBox>

    if these exist will error:

    Unhandled Error in Silverlight Application
    Code: 1001   
    Category: ParserError      
    Message: AG_E_UNKNOWN_ERROR    
    File:     
    Line: 13    
    Position: 56    

    if no exists the listbox not display the photo.

    Id:dinosaur521@21cn.com

    I am not able to remove these erros please help me,anytime

    Thanks

  • focuse

    Re: Capturing the Webcam in Silverlight 4


    posted by focuse on Jan 31, 2012 19:20

    if i want to access webcam from different ip ?

    i dont know any things

    help me

  • gramcracker64

    Re: Capturing the Webcam in Silverlight 4


    posted by gramcracker64 on Feb 18, 2012 22:57

    I get the same error mentioned by the others. expired beta can't run. contact creator.

  • -_-

    Re: Capturing the Webcam in Silverlight 4


    posted by on Mar 19, 2012 16:03
    Hi,


    For creating a Silverlight chat application I can recommend the Ozeki VoIP SIP SDK. For sample source codes check this: www.voip-sip-sdk.com/p_257-silverlight-video-chat-example-voip.html


    The support team is also responsive so you can make your project even faster with the help of them.


    BR
  • hiren.visawadia

    Re: Capturing the Webcam in Silverlight 4


    posted by hiren.visawadia on Apr 27, 2012 06:21

    In the article above, I read the below point:

    "One possible downside is that the size of the still we capture will be the exact size of the rectangle we have drawn. If this was a problem we could certainly explore other ways to capture a large image using a similar approach."

    Does this mean that we cannot capture large image using this approach? Also, could you specify the other approach\ pointer which needs to be explore for capturing large image.

    Thanks & Regards,

    Hiren.




  • amolshinde5110

    Re: Capturing the Webcam in Silverlight 4


    posted by amolshinde5110 on May 13, 2012 11:57

      

  • taniya16

    Re: Capturing the Webcam in Silverlight 4


    posted by taniya16 on May 13, 2012 23:32

    error

    ..\FJCore\FJCore.csproj : error  : Unable to read the project file 'FJCore.csproj'. 
    ..\FJCore\FJCore.csproj: The project file could not be loaded. Could not find a part of the path ..\FJCore\FJCore.csproj'.

    this file is missing..

  • taniya16

    Re: Capturing the Webcam in Silverlight 4


    posted by taniya16 on May 13, 2012 23:33

    plz help me for above mentioned error

  • sunil56

    Re: Capturing the Webcam in Silverlight 4


    posted by sunil56 on May 31, 2012 08:46

    how to create the video confrencing and live chat in asp.net and Silverlight 3 and how to add the our website

    plz send the source code in my email id-sunilgupta.560@gmail.com

    thanx.

  • Pavankumar

    Re: Capturing the Webcam in Silverlight 4


    posted by Pavankumar on Jul 19, 2012 11:25

    this Version is not supporting send me the link of latest article

  • NehaSharma

    Re: Capturing the Webcam in Silverlight 4


    posted by NehaSharma on Aug 09, 2012 11:47

    Hey!!

    My requirement is to save the captured image to the server folder..can u plz mail me the code for the same???

    shubhamsharma_2008@yahoo.com..

    Thanku!!!

  • NehaSharma

    Re: Capturing the Webcam in Silverlight 4


    posted by NehaSharma on Aug 09, 2012 11:48

    I want to save the image without prompting the save dialog!!!!

  • Sohaib

    Re: Capturing the Webcam in Silverlight 4


    posted by Sohaib on Oct 05, 2012 07:18

    hi 

    sliverlight version is beta version and not run .........

    please share new version 

    thanks 

  • jagdishjh

    Re: Capturing the Webcam in Silverlight 4


    posted by jagdishjh on Jan 15, 2013 09:26

    Hello,

    Great article. Hope others are also coming soon as well. I downloaded the source but not able to load it. It says "You need to install the latest Silverlight Developer runtime before opening Silverlight project 'VideoCaptureExample'".

    And when I try to run the application in browser it gives following error.

    "This application was created for an expired beta release of SilverLight. Please contact the owner of this application and have them upgrade their application using an official release of Silverlight".

    Please advice on the same.

    Regards,

    Jagdish Haldankar

  • interlacecondo

    Re: Capturing the Webcam in Silverlight 4


    posted by interlacecondo on Mar 28, 2014 07:37
    For vehicle owners, it takes less than 10 minutes to drive to the business hub and vibrant Orchard Road shopping district, via Ayer Rajar Expressway (AYE), or Jalan Bukit Merah Road The Interlace 3 bedroom
  • ctowers

    Re: Capturing the Webcam in Silverlight 4


    posted by ctowers on Apr 03, 2014 06:25
    Entertainment for your loved ones and friends is therefore at your fingertips with the full condo facilities as well as the amenities near Commonwealth Towers. commonwealth towers 4 bedroom
  • realestate

    Re: Capturing the Webcam in Silverlight 4


    posted by realestate on Apr 10, 2014 04:27
    With full condo facilities, this 99-year leasehold project will offer one- to four-bedroom apartments with unit sizes ranging from 441 sq ft for a one-bedroom to 1,302 sq ft for four-bedders. Buyers can choose from units offering a variety of views such as the city and Southern Ridges. condos

Add Comment

Login to comment:
  *      *