0 Replies Latest reply on Apr 23, 2007 10:24 AM by BobAchgill

    Capture web cam to flv file

    BobAchgill Level 1

      How do I save the web cam output to a flv file in the code below??

      //get the default camera
      //change your Default camera using the Flash Player Settings.
      cam=Camera.get()
      //this event is called whenever permission to access the local camera, is accepted or denied by the user
      cam.onStatus=function(e)
      {
      //if we are given permission
      if(e.code == "Camera.Unmuted")
      {
      //start the application
      initialize()
      }
      else
      {
      System.showSettings(3)
      }
      }
      //if there are no Cameras
      if(cam == null)
      {
      System.showSettings(3)
      }
      else
      {
      output.attachVideo(cam)
      }