Search Unity

MXDEye - Webcam to Unity through flash (WEB)

Discussion in 'Assets and Asset Store' started by baha, Feb 24, 2011.

  1. baha

    baha

    Joined:
    Nov 2, 2009
    Posts:
    622
  2. baha

    baha

    Joined:
    Nov 2, 2009
    Posts:
    622
    By the way it works on indie and even has not been restricted by the Unity 3 sandbox and has been tested on many browsers both on Windows and Mac
     
  3. Q_B

    Q_B

    Joined:
    Nov 29, 2010
    Posts:
    14
    Very nice. Seems to suffer from low framerate thou :(
     
  4. baha

    baha

    Joined:
    Nov 2, 2009
    Posts:
    622
    The framerate is dependent on flash and its capture to your webcam so it is actually dependent on the machine and flash,this tool tries to get the highest framerate for you webcam and then send it to Unity, for my laptop it is 25 fps which is quite good some other machines are higher and some others are lower
     
  5. mas

    mas

    Joined:
    Nov 14, 2010
    Posts:
    696
    Looks very good!

    a question ..

    I am curious how you did the Flash to Unity communication ...
    Did you use some Flash to Browser/ Browser to Unity (javascript) communication?

    ... because socket (TcpListener) programming is not allowed in the Unity WebPlayer sandbox.
     
    Last edited: Mar 25, 2011
  6. baha

    baha

    Joined:
    Nov 2, 2009
    Posts:
    622
    Yes, its through the browser but it required a lot of optimizations to work at a high level of quality and speed