Skip to main content
Vincent-ZHANG
Inspiring
July 9, 2010
Question

video conferencing with AS2.0?

  • July 9, 2010
  • 1 reply
  • 1401 views

Hi everyone,

I am about to implement Video chat function in my Flash projet, I am using as2.0, and is it possible?

I download the sample code from Adobe official website:

(http://www.adobe.com/devnet/flashmediaserver/sample_apps.html)

I've already installed FMS3.0, but how to get the VideoConferencing sample working?

Thanks a lot~~

    This topic has been closed for replies.

    1 reply

    July 9, 2010

    Hi,

    So you must have copied the samle_videoconference folder from under fms2_sample_apps/applications to your FMS applications directory. Now open the video conference.fla file and add the logic of connecting to server and broadcasting the video to to all users there. Try going through the other simpler tutorials specially the one involving live video, audio and the one with shared object to get an understanding of how you can add the AS2 code required for your application.

    Do revert back if you get into issues while developing your app.

    Vincent-ZHANG
    Inspiring
    July 15, 2010

    thanks AbhishekSinha.

    right now, I even don't know how to set up the client-side program on another PC and make it work, I already install FMS3.0, and I tested it, it works. I copyed the server-side file to the applications folder. in addition, I connect my webcam and mic to my pc, and when I open fms2_sample_apps\samples\sample_videoconference.html in my Firefox, I can see that the Flsah can get the live video from the cam, and I am planning to set up another pc(within the same intranet) as a second client, and then I can  simulate a VC scenario~~

    But the question is, how does the client-side program knows server's IP, I mean FMS IP, it seems that the program is made to connect to localhost as server, and I can not find the piece of code that includes 'ns.connect' or 'rtmp', or something like that. How should I make it can connect to the server?