0 Replies Latest reply on Jul 26, 2008 3:50 PM by djhash

    NetConnection error 2126

    djhash
      Hi,

      To begin with here is my code. http://pastebin.com/f32fd0019 (forever posts for later viewers)

      I am getting an error at line 33 that says: http://pastebin.com/f42ca4019 (forever post for later viewers)

      I run the code using debug in Flex Builder 3. On the server that is running on the same computer, I am running red5.
      I tried placing the swf file on the red5 demo folder and see if it might be a crossdomain.xml thing, but same error.

      Any insights would be great.

      Thank you.

      P.S. The code is simply to record from the local webcam to a demo app running in red5. In the red5 console, I see something change everytime I run the swf file and hit the button. (I am assuming its not a red5 problem, due to simply that the server actually works on other demo swf files, and I just simply copied code from it to fit my flex app..... so I am assuming the problem is with the Flex code I am writing.

      2008-07-26 18:43:45,562 [pool-4-thread-16] INFO org.red5.server.jmx.JMXFactory
      - Object name: org.red5.server:type=Client,id=12
      2008-07-26 18:43:45,562 [pool-4-thread-16] INFO org.red5.server.jmx.JMXFactory
      - Object name: org.red5.server:type=RTMPMinaConnection,connectionType=persistent
      ,host=localhost,port=1935,clientId=12