Can i make Live Audio/Video application between 2 users

Hello,
I am new to FLASH and FLEX.
I want to know if i can make a Live Audio/Video application(
using Microphone and Camera) for a website by using FMS. If yes
then should i use FMSS or FMIS. I will be using FLEX Buidler IDE .
Any one who has made this type of application or link to a
tutorial.
What i would like to make is like an application of Webcam
with 2 users can see/view each other and also talk on web site. And
alos how can i embed this application in java(EE) project.
I would be very thankful if you people can guide me in this
problem.
Hopefully i have explained my probelm.
Regards,
Saad

Yes you can make a Live A/V app with FMS! that is exactly
what it was designed for. You would need FMIS as that is the
interactive version that enables live capabilities.

Similar Messages

  • How can i make a Audio/video Application using JMF

    I want to work on media application and currently want to work on JMF.can anyone guide me about some basic to advance level concepts of java media framework.thanks...

    you might want to ask questions related to JMF in the JMF forum at http://forum.java.sun.com/forum.jsp?forum=2

  • Problem with running example 'Generating Live Audio/Video Data'

    Hello,
    Concerning the example 'Generating Live Audio/Video Data', I'm having trouble with the run instructions.
    http://java.sun.com/javase/technologies/desktop/media/jmf/2.1.1/solutions/LiveData.html
    How does JMFRegistry know about the location of jmfsample?
    How is 'live' resolved as a URL?
    2.Register the package prefix for the new data source using JMFRegistry
    - Run JMFRegistry
    - In the Protocol Prefix List section add "jmfsample" and hit Commit.
    4.Select File->Open URL and enter "live:"
    Much thanks,
    Ben

    I'm getting the following error message: "Could not create player for live"Implies you've either not registered the "live:" protocol prefix in the JMF Registry, or, it couldn't load the class you registered for it...or it might be erroring out inside the actual live protocol, I'm not sure what that would look like, but a System.err.println statement in the constructor of both of those classes might be a good idea.
    I added the output of javac (DataSource.class and LiveStream.class) to a directory on the classpath.
    C:\Program Files\JMF2.1.1e\lib\jmfsample\media\protocol\liveEh, that looks a little questionable to me. I'm not 100% sure that the JRE will automaticlly descend into the package subdirectories like that, looking for classfiles, for every folder on the path. I am, of course, fully open to the idea that it does and I just never thought about it...but I guess I just thought it only did that for JAR files, not CLASS files. Regardless, I'd recommend:
    1) Make sure you've registered the protocol prefix "live:" correctly in JMF Registry
    2) Try to run it with the 2 compiled class files in the same folder as your project
    3) Try to run it with the 2 compiled class files in the lib directory, if that's on the classpath
    4) Try to run it with the 2 compiled class files installed in the JRE as an extension (google for how to do this because I don't remember off the top of my head)
    5) Reinstall JMF and see if that helps

  • Please, help with Live Audio/Video example from jmf solutions

    Hello,
    I�m desperate looking for a solution for a particular problem.
    I�m trying to feed JMF with an AudioInputStream generated via Java Sound, so that I can send it via RTP. The problem is that I don�t know how to properly create a DataSource from an InputStream. I know the example Live Audio/Video Data from the jmf solutions focuses on something similar.
    The problem is that I don�t know exactly how it works, os, the question is, how can I modify that example in order to use it and try to create a proper DataSource from the AudioInputStream, and then try to send it via RTP?
    I think that I manage to create a DataSource and pass it to the class AVTransmit2 from the jmf examples, and from that DataSource create a processor, which creates successfully, and then find a corresponding format and try to send it, but when i try to send it or play it I get garbage sound, so I�m not really sure whether I create the DataSource correctly or not, as I�ve made some changes on the Live Audio/Video Data from the jmf solutions to construct a livestream from the audioinputstream. Actually, I don�t understand where in the code does it construct the DataSource from the livestream, from an inputStream, because there�s not constructor like this DataSource(InputStream) neither nothing similar.
    Please help me as I�m getting very stuck with this, I would really appreciate your help,
    thanks for your time, bye.

    import javax.media.*;
    import javax.media.format.*;
    import javax.media.protocol.*;
    import java.io.IOException;
    import javax.sound.sampled.AudioInputStream;
    public class LiveAudioStream implements PushBufferStream, Runnable {
        protected ContentDescriptor cd = new ContentDescriptor(ContentDescriptor.RAW);
        protected int maxDataLength;
        protected int vez = 0;
        protected AudioInputStream data;
        public AudioInputStream audioStream;
        protected byte[] audioBuffer;
        protected javax.media.format.AudioFormat audioFormat;
        protected boolean started;
        protected Thread thread;
        protected float frameRate = 20f;
        protected BufferTransferHandler transferHandler;
        protected Control [] controls = new Control[0];
        public LiveAudioStream(byte[] audioBuf) {
             audioBuffer = audioBuf;
                      audioFormat = new AudioFormat(AudioFormat.ULAW,
                          8000.0,
                          8,
                          1,
                          Format.NOT_SPECIFIED,
                          AudioFormat.SIGNED,
                          8,
                          Format.NOT_SPECIFIED,
                          Format.byteArray);
                      maxDataLength = 40764;
                      thread = new Thread(this);
         * SourceStream
        public ContentDescriptor getContentDescriptor() {
         return cd;
        public long getContentLength() {
         return LENGTH_UNKNOWN;
        public boolean endOfStream() {
         return false;
         * PushBufferStream
        int seqNo = 0;
        double freq = 2.0;
        public Format getFormat() {
             return audioFormat;
        public void read(Buffer buffer) throws IOException {
         synchronized (this) {
             Object outdata = buffer.getData();
             if (outdata == null || !(outdata.getClass() == Format.byteArray) ||
              ((byte[])outdata).length < maxDataLength) {
              outdata = new byte[maxDataLength];
              buffer.setData(audioBuffer);          
              buffer.setFormat( audioFormat );
              buffer.setTimeStamp( 1000000000 / 8 );
             buffer.setSequenceNumber( seqNo );
             buffer.setLength(maxDataLength);
             buffer.setFlags(0);
             buffer.setHeader( null );
             seqNo++;
        public void setTransferHandler(BufferTransferHandler transferHandler) {
         synchronized (this) {
             this.transferHandler = transferHandler;
             notifyAll();
        void start(boolean started) {
         synchronized ( this ) {
             this.started = started;
             if (started && !thread.isAlive()) {
              thread = new Thread(this);
              thread.start();
             notifyAll();
         * Runnable
        public void run() {
         while (started) {
             synchronized (this) {
              while (transferHandler == null && started) {
                  try {
                   wait(1000);
                  } catch (InterruptedException ie) {
              } // while
             if (started && transferHandler != null) {
              transferHandler.transferData(this);
              try {
                  Thread.currentThread().sleep( 10 );
              } catch (InterruptedException ise) {
         } // while (started)
        } // run
        // Controls
        public Object [] getControls() {
         return controls;
        public Object getControl(String controlType) {
           try {
              Class  cls = Class.forName(controlType);
              Object cs[] = getControls();
              for (int i = 0; i < cs.length; i++) {
                 if (cls.isInstance(cs))
    return cs[i];
    return null;
    } catch (Exception e) {   // no such controlType or such control
    return null;
    and the other one, the DataSource,
    import javax.media.Time;
    import javax.media.protocol.*;
    import java.io.IOException;
    import java.io.InputStream;
    import javax.sound.sampled.AudioInputStream;
    public class CustomDataSource extends PushBufferDataSource {
        protected Object [] controls = new Object[0];
        protected boolean started = false;
        protected String contentType = "raw";
        protected boolean connected = false;
        protected Time duration = DURATION_UNKNOWN;
        protected LiveAudioStream [] streams = null;
        protected LiveAudioStream stream = null;
        public CustomDataSource(LiveAudioStream ls) {
             streams = new LiveAudioStream[1];
             stream = streams[0]= ls;
        public String getContentType() {
         if (!connected){
                System.err.println("Error: DataSource not connected");
                return null;
         return contentType;
        public byte[] getData() {
             return stream.audioBuffer;
        public void connect() throws IOException {
          if (connected)
                return;
          connected = true;
        public void disconnect() {
         try {
                if (started)
                    stop();
            } catch (IOException e) {}
         connected = false;
        public void start() throws IOException {
         // we need to throw error if connect() has not been called
            if (!connected)
                throw new java.lang.Error("DataSource must be connected before it can be started");
            if (started)
                return;
         started = true;
         stream.start(true);
        public void stop() throws IOException {
         if ((!connected) || (!started))
             return;
         started = false;
         stream.start(false);
        public Object [] getControls() {
         return controls;
        public Object getControl(String controlType) {
           try {
              Class  cls = Class.forName(controlType);
              Object cs[] = getControls();
              for (int i = 0; i < cs.length; i++) {
                 if (cls.isInstance(cs))
    return cs[i];
    return null;
    } catch (Exception e) {   // no such controlType or such control
    return null;
    public Time getDuration() {
         return duration;
    public PushBufferStream [] getStreams() {
         return streams;
    hope this helps

  • How can I make my flash video load faster?

    How can I make my flash video created in Flash Pro CC load faster, as of now it takes 2 minutes to load?

    This is the source file for video.php:
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
    <head>
    <title> VOPVIU Video
    </title>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <style type="text/css" media="screen">
    <!--html, body { height:100%; background-color: #666666;}
    body { margin:0; padding:0; overflow:hidden; }-->
    #flashContent { width:750; height:600; }
    </style>
    </head>
    <body style="background-color:#6E9BD2;">
    <center>
    <div width="100%" height="100%">
    <h3 align="center"> Victims of Political Violence in Uganda <br/> (VOPVIU)
    </h3>
      <table border="0" width="52%">
       <td width="80%" align="center">
        <em>
         <font color="#FFFFFF">
      <strong>
      <p> Victims Of Political Violence in Uganda
      </p>
    Number of views 344       </strong>
      </font>
        </em>
       </td>
       <td width="20%" align="right">
        <form action="vopviu.php">
         <div>
      <input type="submit" value="Exit Video">
      </div>
        </form>
       </td>
      </table>
      <table width="70%" height="70%" border="0">
      <td width="70%" height="70%">
      <center><div id="flashContent">
    <center>
    <object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" width="750" height="423" id="faddu_vopviu" align="middle">
    <param name="movie" value="faddu_vopviu.swf" />
    <param name="quality" value="high" />
    <param name="bgcolor" value="#666666" />
    <param name="play" value="true" />
    <param name="loop" value="true" />
    <param name="wmode" value="window" />
    <param name="scale" value="showall" />
    <param name="menu" value="true" />
    <param name="devicefont" value="false" />
    <param name="salign" value="" />
    <param name="allowScriptAccess" value="sameDomain" />
    <!--[if !IE]>-->
    <object type="application/x-shockwave-flash" data="faddu_vopviu.swf" width="750" height="423">
    <param name="movie" value="faddu_vopviu.swf" />
    <param name="quality" value="high" />
    <param name="bgcolor" value="#666666" />
    <param name="play" value="true" />
    <param name="loop" value="true" />
    <param name="wmode" value="window" />
    <param name="scale" value="showall" />
    <param name="menu" value="true" />
    <param name="devicefont" value="false" />
    <param name="salign" value="" />
    <param name="allowScriptAccess" value="sameDomain" />
    <!--<![endif]-->
    <a href="http://www.adobe.com/go/getflash">
    <img src="http://www.adobe.com/images/shared/download_buttons/get_flash_player.gif" alt="Get Adobe Flash player" />
    </a>
    <!--[if !IE]>-->
    </object>
    <!--<![endif]-->
    </object>
      </center>
      </div>
    </center>
    </td>
    </center>
    </table>
    </div>
    </center>
    </body>
    </html>

  • Can i share live documents in pages between different apple devices with different owners

    Can i share live documents in pages between different apple devices with different owners

    iTunes: How to share music between different ... - Apple - Support

  • Why i can't make a normal video call over my cellular operator using by iphone 4s ????!!!! is it possible that if my mobile is iphone so i can not contact (Video Call - or Send Files over Bluetooth ) people do not have iphone ??????!!!!!!!!!

    why i can't make a normal video call over my cellular operator using by iphone 4s ????!!!!
    is it possible that if my mobile is iphone so i can not contact (Video Call - or Send Files over Bluetooth ) people do not have iphone ??????!!!!!!!!!
    i'm still looking for solution, but if i there is no solution so i will throw My Own iPhone 4S in the nearest Trash.
    (I had got a big problem and thanks for Nokia saved me. and if i don't care about apple products i will never send to you this, so kindly find solution or people in middle east will stop using iphone)

    No clue why you cannot make video calls over your cellular operator... have you tried contacting them?
    If you're referring to FaceTime, it is currently limited to Wi-Fi only.
    Sending files via Bluetooth is not a supported feature of the iPhone or iOS.  A simple search of the web or these forums would have made that abundantly clear.
    Threatening to throw away valuable items in these forums only serves to make you look less than intelligent.  No one here is an Apple employee, we are all users like yourself.  As such, we could care less what you do.  If you choose to be stupid, that's up to you.
    Educate yourself and stop whining.

  • Can I upload images to an application in user mode

    Can I upload images to an application in user mode and make these images available in the server (in the IMAGES folder) -I mean not in Developing mode by openning the application and upload images to shared components-
    I saw the it's done in the Sample Application but I think it's complicated and ........... didn't get it.

    There's the chapter How to Upload and Download Files in an Application in the Advanced Tutorials. Worked for me, but took me some time.
    C.

  • How can I make a survey automatically identify the user in the results?

    How can I make a survey automatically identify the user in the results (so that it won't be anonymous)?

    I am not sure what information to provide.  Here is what I am trying to do.  I am trying to create an HR questionnaire with multiple choice questions and several multiline textboxes to capture comments.  I want to send it out by email address and/or embed the questionnaire somewhere on the company's intranet website.  But we don't want the questionnaire to be anonymous. If someone makes a particular comment, we want to be able to communicate with the person who made that particular comment.  How would we be able to trace the person? By email address, or by user ID?

  • Can't play live audio (or video) mobile using 4.5.1

    I'm trying to play a live audio stream in a mobile project and cannot get it to work.
    Can someone point me to the best way to play live audio from an rtmp stream in Flash Builder 4.5.1?  I've tried VideoPlayer, VideoDisplay, Sound object, used a netStream and can't get anything to work.  I've tested the stream with a Flex 3 project and can hear the audio there fine.  I'd like to do video later, but I need the audio to work first.
    Here's just some pieces of what I've tried:
         ins = new NetStream(inc);
         var nspo:NetStreamPlayOptions = new NetStreamPlayOptions();
         nspo.streamName = rtmpSession;
         ins.play2(nspo);
         videoInstructor.source =rtmpPath + "/" + rtmpSession;
         videoInstructor.play();
         videoInstructorHost.host = rtmpPath;
         videoInstructorStreamName.streamName = rtmpSession;
    <s:VideoDisplay id="videoInstructor" left="10" right="10" bottom="10" height="331" source="" autoPlay="true"/>
    <s:DynamicStreamingVideoSource id="videoInstructorHost" host="" streamType="live">
      <s:DynamicStreamingVideoItem id="videoInstructorStreamName" streamName="" />
    </s:DynamicStreamingVideoSource>
    <s:VideoDisplay id="videoInstructor" left="10" right="10" bottom="10" height="331" source="{videoInstructorHost}" autoPlay="true"/>
    Any information would be very much appreciated.

    Moving files from an existing install can indeed cause problems, as the error message you got indicated. Existing files and registry entries will point to a particular location, that will not have changed as you moved the files. It sounds like you may have to do a CleanSweap (removal of drivers and software) and reinstall. Let us know how you get on.
    You can find some details on uninstalling/reinstalling on our Kbase:
    http://ask.americas.creative.com
    SID72
    CatMessage Edited by Catherina-CL on 0--2004 :52 PM

  • Live Audio / Video Streaming Very Basic

    I need to Stream Live Audio and Video, i went through a web site, and it gives a code,
    [http://www.cs.odu.edu/~cs778/spring04/lectures/jmfsolutions/examplesindex.html#transmitboth]
    in this, i dont no how to run the application, because we should have 2 port addresses each for Audio and Video.
    how do u compile this and capture the file from else where using JMStudio.
    Please help me, i am an absolute beginner to JMF.

    Please don't take this to be offensive, but if you're not able to figure this out on your own, you have absolutely no business playing around with something as advanced as JMF. It's not a question of intelligence or insult, but simply stated, if you don't understand the concept of a URL, and you don't have the ability to extrapolate beyond the exact command-line input you've been given... you need to go and learn the basics, because you lack the grasp of the fundamentals required for advanced programming.
    With that in mind, the following is the answer to your question. If you can't understand it, it means that you lack the fundamentals necessary for JMF programmming, and you need to invest a significant amont of time aquiring those. My explanation should be quite clear to anyone with the proper Java programming fundamentals.
    AVTransmit2 is sample code that can broadcast a single media source (live audio or live video or audio file or video file or video/audio file). It does not have the capability to broadcast more than once source, which is required for live audio and video support. It is designed to take in a single media locator, and broastcast it.
    To meet your specifications, you will need to modify the main method so it is capable of passing in multiple media locators, and thus creating multiple instances of the AVTransmit2 class. To do this, you will either need to modify the command-line argument logic so it supports parsing multiple source arguments simultaniously.
    Or, you could just rip out the command-line stuff and hard-code it for live audio and video. That's the "easy" way.
    The default media locator for audio capture is javasound://0 and the default media locator for video capture (under Windows) is vfw://0

  • Using iTunes/Airplay for streaming live audio/video on local network?

    I'm wondering if I can use iTunes to stream live audio and/or video to other computers, Airport Express, or Apple TVs on a local wifi network. I'm willing to jailbreak or hack anything if necessary.
    So this is what I am hoping to do:
    Camera-->Streaming Computer-->Airplay-->Local Wi-fi network-->Devices recieving audio/video

    This device should be doing UPnP by default so you will not need most of the info on this page.
    What the Link does have is the default access info and pictures.
    In the Wan page turn Off the DOS or SPI firewall. (it will have one or the other)
    Check in the Box to Disable.
    Save Settings.
    If this device is behind a Cable modem then also Allow it to Respond to Internet Pings on the same page.
    (this a Check the Box to Do)
    Save settings (Again if you did them above)
    7:30 PM Monday; April 28, 2008

  • Can i make a karoke video

    I do not do much video work, but my buddies wrote a song and they want a clip behind them with the lyrics, and a boucing ball going in sync with the song. Can this be done with or without a plugin or can i do it in fce. Thanks

    Hi maddanj,
    To make an audio-only Facetime call, you would simply click the phone icon instead of the video camera icon, as noted in the following article:
    FaceTime for Mac (Yosemite): Make and receive FaceTime calls
    Regards,
    - Brenden

  • Can I make  the Help Center application work like other apps

    Hi, I've searched all over the place to find the commands I need to enter into Terminal to make the Help Center application work like an ordinary application, ie so that a help center window can remain open whilst using the appliction it refers to, I did it a long time ago on my Imac using Snow Leopard, but I just can't remember what I did or where I found the Terminal commands to do it (Old age is creeping up on me ). I would like to do the same for my mid 2012 MacBook Air running Mountain Lion any help would be greatly appreciated thanks Peter

    OK I finally found it :- open Terminal and type the following:-
    defaults write com.apple.helpviewer DevMode -bool true

  • HT201177 My Face time device is working, but I can't make a Skype video call. How do I connect the camera when I am on a Skype video call?

    My built in Face time device is working, the green light on top of my iMac is on, but when I make a Skype video call the other party cannot see me, even I can see them. How do I connect the built in camera to my video Skype call? Thanks for your help, Helmut

    Assuming you have set up your Preferences correctly in Skype, sometimes Skype doesn't seem to automatically trigger the camera. When that happens just click on the camera icon that appears at the bottom of the screen when making a call:

Maybe you are looking for