Question
Help gettings started with Flash Media Server 2.0 and the Camera class
Hello,
I just purchased flash media server 2.0 and flash CS3. Id like to build an app that allows a user to record a video using their webcam and upload it to the server, and in turn stream / display the video on the web server.
So far this is where I'm at. I installed FMS and created a FLA that opens the users web cam and displays the video. The code is pretty basic:
// Declare Video instance on the stage
var vid:Video;
// Create a reference to the user's camera
var userCam:Camera = Camera.get();
// Attach the camera output to the Video instance
vid.attachVideo(userCam);
From here, how do I save the video as a FLV and upload it to the server? I am used to using FFMPEG - will I need this or should I use the new Flash Encoder?
I am running FMS on IIS 7.0 on the same box as my ASP.NET and IIS web server. Will I need to do any tricky configuration with IIS to allow them to run in parallel?
Also, when i open the "FMS2_Console" and try to connect I get an error. The login screen has a box for the "Server Address" and username/password. In the server field I'm typing "Localhost". It won't let me connect, even though I have the right username and pwd. Is somehting wrong?
Thanks.
I just purchased flash media server 2.0 and flash CS3. Id like to build an app that allows a user to record a video using their webcam and upload it to the server, and in turn stream / display the video on the web server.
So far this is where I'm at. I installed FMS and created a FLA that opens the users web cam and displays the video. The code is pretty basic:
// Declare Video instance on the stage
var vid:Video;
// Create a reference to the user's camera
var userCam:Camera = Camera.get();
// Attach the camera output to the Video instance
vid.attachVideo(userCam);
From here, how do I save the video as a FLV and upload it to the server? I am used to using FFMPEG - will I need this or should I use the new Flash Encoder?
I am running FMS on IIS 7.0 on the same box as my ASP.NET and IIS web server. Will I need to do any tricky configuration with IIS to allow them to run in parallel?
Also, when i open the "FMS2_Console" and try to connect I get an error. The login screen has a box for the "Server Address" and username/password. In the server field I'm typing "Localhost". It won't let me connect, even though I have the right username and pwd. Is somehting wrong?
Thanks.
