Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 5973229
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 22, 20262026-05-22T20:46:14+00:00 2026-05-22T20:46:14+00:00

I am trying to get a very basic example of live video chat to

  • 0

I am trying to get a very basic example of live video chat to work with Flash Media Server, but no matter how hard I try, it’s just not working for me.

I am using the tutorial and code from this web page: http://www.derekentringer.com/blog/fms-video-chat/

I have two servers: a web server, and media server. On the media server, I have FMS installed and I made sure that port 1935 was opened up to communicate between the web and media server.

I think my issue is how to set up my FMS instance. In the tutorial, he’s using a hosted FMS solution with Influxis.com. I am using my own media server with FMS installed. Does anyone know how to set up my FMS instance so I can get this to work?

On the web server, I have two different folders (user1 and user2) each with an html file and a swf file to connect to the web cam, and then connect the web cam’s stream to the media server over rtmp.

Here’s the code I have on the SWF files.

//setup the camera and mic for streaming
mycam = Camera.get();
mycam_audio = Microphone.get();

//control the cameras mode and quality
mycam.setMode(320,240,30);
mycam.setQuality(10000,100);

//attach a live preview of the camera to the 
//video object that is setup on the stage
cam_feed.attachVideo(mycam);
cam_feed.attachAudio(mycam_audio);

//connect to the Flash Media Server
client_nc = new NetConnection();
client_nc.connect("rtmp://corpwebdevmedia1/test"); // I've tried server name and IP
cam_ns = new NetStream(client_nc);

//attach our camera video and audio to the net stream
cam_ns.attachVideo(mycam);
cam_ns.attachAudio(mycam_audio);

//publish to our Flash Media Server as a 
//live stream called user_2
cam_ns.publish("user_2", "live");
// user_1 for the other one

//bring in user_1's video/audio
in_ns = new NetStream(client_nc);
in_ns.play("user_1");  
// user_2 for the other one

//attach user_1's published audio and video
//so we can see them in the larger chat window
live_feed.attachVideo(in_ns);
live_feed.attachAudio(in_ns);

After all that’s done, I go to my local machine and navigate my browser to the html files on the web server. The page connects to my camera on each page, but they never connect together.

Any suggestions?

Thanks.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-22T20:46:15+00:00Added an answer on May 22, 2026 at 8:46 pm

    I’m not sure if this is true for all cameras, but at least when i was developing a similar application, i ran into the same issue, and the cause of the problem was that two applications cannot share the same camera.

    In other words, you can’t videochat with Skype, and with a flash player application at the same time.
    The same is true for two flash player applications – they can’t both use the same camera input. So try to connect another camera, or test with two pc’s (that’s what i did). If you test with a single system, you will have even more problems with audio settings (though i can’t exactly remember what was wrong, but i did have many issues with trying to mute or change audio volume, when trying to simulate a full 2 person chat on one system)

    Another problem may be that you are using the same stream name for both applications, did you switch “user_2” and “user_1” around in one of the applications ?

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am trying to load a very basic XML document but everytime I get
I'm trying to get something very subtle to work, it looks pretty awful right
I am just trying to get into python, but I've found it very difficult
I am trying to run this very basic socket example: import socket host =
I cannot find an example on this. I'm trying to get a basic understanding
I am very new to erlang and am trying to get my head around
I'm very early in the iPhone development learning process. I'm trying to get my
I'm very new to c++ and boost. I'm trying to get the host name
Trying to get an ASP application deployed; it worked for a while but then
Trying to get this example working from http://www.munna.shatkotha.com/blog/post/2008/10/26/Light-box-effect-with-WPF.aspx However, I can't seem to get

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.