How to do video conferencing using jmf

hi guys, can anybody help me out on developing a videoconferencing using jmf.
ASAP PLZZZZZZZ.
my email id is .
[email protected]
siddhartha

Hi,
Here is the sample code for playing the movie.
public class MoviePlayer extends JFrame implements ControllerListener {
private Player player = null;
public static void main(String args[]) {
new MoviePlayer(args[0]);
public MoviePlayer(String movieFile) {
getContentPane().setLayout(new BorderLayout());
setSize(new Dimension(200, 200));
setVisible(true);
setTitle(movieFile);
loadMovie(movieFile);
addWindowListener(new WindowAdapter() {
public void windowClosing(WindowEvent we) {
player.stop();
player.deallocate();
System.exit(1);
private void loadMovie(String movieFile) {
try {
MediaLocator ml = new MediaLocator("file:" + movieFile);
player = Manager.createPlayer(ml);
player.addControllerListener(this);
player.start();
} catch (IOException ioe) {
ioe.printStackTrace();
} catch (NoPlayerException npe) {
npe.printStackTrace();
public synchronized void controllerUpdate(ControllerEvent ce) {
if (ce instanceof RealizeCompleteEvent) {
Component comp;
if ((comp = player.getVisualComponent()) != null)
getContentPane().add(comp, BorderLayout.CENTER);
if ((comp = player.getControlPanelComponent()) != null)
getContentPane().add(comp, BorderLayout.SOUTH);
validate();
I hope this will help you.
Thanks
Bakrudeen
Technical Support Engineer
Sun MicroSystems Inc, India

Similar Messages

  • Source code for audio- video conferencing using JMF

    i am doing a project on VIDEO CONFERNCING using JMF. i am using the HP WEBCAM of my laptop. guys i desperately need help. plz give me the code if any of has it.plz plz its urgent

    i am doing a project on VIDEO CONFERNCING using JMF. i am using the HP WEBCAM of my laptop. guys i desperately need help. plz give me the code if any of has it.plz plz its urgentYou can't get the code for the whole application.....
    but you can get plenty of code to get started on making your own video conf. application using JMF here .
    Also, there is a [JMF Forum|http://forums.sun.com/forum.jspa?forumID=28] here. If you face any problems while coding, you can post your queries there.
    Thanks!

  • Video Conferencing using java

    hi,
    i am developing video conferencing project using JMF.
    and using AVReceive2 and AVTransmit2.
    i am able to send and receive audio and video between two pc's where one transmits and one receives.
    but how to use AVReceive2 and AVTransmit2 for more than two pc's when any one doesnot have information that other user is transmitting.
    What i mean is that when one user wants to connect to another user then how can second (receiver) know that someone is sending him data.
    Basically when to run the AVReceive2 program on second PC..

    hello anyonebaris,
    Am currently working wid this topic of audio video conferencing using java.....N i wud be glad if u wud try helping me out....
    I wanted to find out the actual function the server performs while the audio video transmission is going on in a JMF based platform ...Am using java 1.5 ...n JMF 1.2.1...
    Is the server monitoring the clients and how..??..what function is it performing while establishing the link between the two clients...??
    .....................Plz try 2 help me out....
    ---------Thanx in advance

  • Video Conferencing using JSP

    I am working on a interactive application whereby i can communicate with my peer for the purpose of elearning. Some of the functions i need to do is to interface video conferencing, live chat, live application sharing. All this to be real time.
    Anyone any advice on how to go about do it?
    Urgent advcie needed! Thanks!

    I don�t know about the video stuff, but I think that it is possible to use an applet for the chat, and filesharing.
    Andreas

  • Video conferencing using RTP

    IM doing my final project in video conferencing...
    i want know how to send video and audio sametime by live capture..
    if we use vfw://0 it is for live video
    r dsound://0 for live audio
    what is the command for sending both the items

    I am doing the project with user interface,OK ,most people do...
    So we will be giving the address at start of inititalisation.whats the problem in this, you would have to save that address in some variable....
    we will not be able to type the command once the project is opened.What?? which command?
    we will be locating the medias by getting the commands like vfw://0 (for video) and dsound://(for audio) in a text box.
    Likewise how can we get the live audio and video simultaneously??the method is already explained in Reply#2, what is the problem with that?
    I like to know whether these commands will work for transmitting both
    vfw://0&dsound://0
    vfw://&dsound://0
    dsound://0&vfw://0No... if you think that is what JMStudio shows you, it is lying ;-)... you can't even merge the two Datasources together and make a processor to transmit them, it has always failed (thats my experience). You just have to create 2 processors, one for video, one for audio and similarly two RTPManager instances (with same target and source ip addresses but different ports) and then when you say start transmission (by clicking a button or something) you have to start the processors and output streams from the RTPManager, thats all.... at the receiver side, you just have to make a player with the rtp address given in Reply#2 and start the player.
    Thanks!

  • P2p video streaming using jmf (is it possible to "forward" the stream ?)

    Hello
    In my project a peer will start streaming captured video from the webcam to his neighbors and then his neighbors will have to display the video and forward(stream) it to their neighbors and so on . So my question is can i do this using jmf , a simple scenario will be : peer_1 streams to peeer_2 and then peer_2 to forward(stream) the video received from peer_1 to peer_3 .
    I've read the jmf2_0 guide and i've seen that it's only possible to stream from a server to a client and that's about it , but i want also the client to pass the stream forward to another client ... like for example [http://img72.imageshack.us/img72/593/p2pjmf.gif|http://img72.imageshack.us/img72/593/p2pjmf.gif]
    I want to know at least if this it's possible with jmf or should i start looking for another solution ? and do you have any examples of such projects or examples of forwarding the stream with jmf ....
    thanks for any suggestions

    _Cris_ wrote:
    I want to know at least if this it's possible with jmf or should i start looking for another solution ? and do you have any examples of such projects or examples of forwarding the stream with jmf .... You can do what with JMF. Once you receive the stream, it's just a video stream. You can do anything you want with it...display it, record it, or send it as an RTP stream.

  • How to Access Canon Visualizer Using JMF

    HI all,
    I am using Cannon Visualizer RE-455X and its also a video camera for used for document image capturing.i am trying to access it using jMF.but my capture device is not detected by JSF.please can enyone one help me to fix this.I nave installed JMF but i am not sure it happen well.

    but my capture device is not detected by JSF.perhaps you meant JMF..... JMF does not support all cameras. [This page|http://java.sun.com/javase/technologies/desktop/media/jmf/2.1.1/formats.html] lists supported capture devices at the bottom. In general for windows, all the cameras supporting vfw are supported. Check whether your camera supports it.
    please can enyone one help me to fix this.If JMF can't detect it, then no one can possibly help..... Have you installed the driver for your camera? Have you tried clicking 'File>Preferences>Capture Devices> Detect Capture Devices' button in JMStudio?
    I nave installed JMF but i am not sure it happen well.If JMF can play audio/video files for you then its installed correctly.
    Thanks!

  • How to record video for use in IMovie?

    Hello. I'm new to MAC & IMovie, and I would appreciate knowing how to capture my video recordings using my USB linked video camera, instead of FaceTime. I would like to record a series of videos, and then import them and edit them in IMovie. Thank you.

    Hey videoiq2014!
    Here are the instructions for achieving this goal:
    iMovie (2013): Record video with the FaceTime HD camera
    https://support.apple.com/kb/PH14675
    While the title of this article is meant for the FaceTime camera, in step 2, the article instructs you to choose the camera you wish to record with. In this step, you should choose your USB camera. Thanks for coming to the Apple Support Communities!
    Regards,
    Braden

  • How to transfer multimedia file using JMF/RTP through Bluetooth

    Hi,
    I am trying to stream a multimedia file via bluetooth but I don't know how to wrap RTP into bluetooth connection.
    I also tried to cut the multimedia file in small pieces but they can't be read by the player.
    How can I stream a multimedia file via Bluetooth using JMF ??
    Regards,
    Danix

    -danix- wrote:
    Hi,
    I am trying to stream a multimedia file via bluetooth but I don't know how to wrap RTP into bluetooth connection.I know absolutely nothing about Bluetooth networking, but I assume you don't wrap protocols into connections with it...
    How can I stream a multimedia file via Bluetooth using JMF ??You'd need to write a custom RTPConnector that would transmit the RTP packets over a Bluetooth connection rather than the standard UDP socket...
    [http://java.sun.com/javase/technologies/desktop/media/jmf/2.1.1/solutions/RTPConnector.html]
    There's some code to get you started. You'll need to update the SockOutputStream & SockOutputStream classes of the RTPConnector to read/write to a Bluetooth connection rather than a UDP socket.
    Good luck.

  • Does Video Conferencing use multicast?

    We want to enable vide conferencing between multiple remote sites, however, our providers backbone does not support multicast traffic.
    The question I have is if I have 2 users in Boston, 2 in NYC and 2 in SF for video conferencing, is the traffic output from a MCU a multicast or unicast to the remote sites?
    This is with the MCU at the NYC location.

    H.323 uses unicast traffic. Some vtc endpoints are also capavle of generation a mutlicats video stream, but that is not a part of the H.323 feature set. Multicast is not supported on the public internet, and very few if any providers are going to allow it on their backbone.

  • Trying to bypass CAC for Video Conferencing using EnableBWPolicyOverride

    Scenario:
    CAC enabled and bandwith policy defined for all company sites. Video bandwidth very restricted (250 Kbps).
    VIP users were granted a Voice Policy with EnableBWPolicyOverride=TRUE (VIP users must bypass CAC).
    Test:
    P2P Video Calls between VIP users bypass CAC, allowing high video resolutions (Ok!).
    Video Conferences between VIP users don't bypass CAC, limiting video to low resolution (NOT ok).
    Is this expected, that Video Conferencing will not respect the EnableBWPolicyOverride=TRUE from the Voice Policy? (I know, it's a VOICE Policy and I'm tlaking about VIDEO. But remember, on P2P video call the bypass worked.
    Any ideas?

    Hi,
    Bandwidth policy override enables administrators to override call admission control policy decisions for a particular user, however, the policy will be overridden only for incoming calls to the user and not for outgoing calls that are placed by
    the user. So I think the policy does not apply to video conference.
    Best Regards,
    Eason Huang
    Eason Huang
    TechNet Community Support

  • How to download video files using http urls through OSB

    Hi all,
    I am working on a requirement where I need to download the video using http url of that video through OSB. Is it possible to convert the video files hosted in a server into base64 code using OSB ? Kindly help me on this.
    Thanks
    Edited by: 887737 on Jul 25, 2012 3:26 AM

    Hi,
    I believe you can get the video file using file transport and then convert it into base64 using a java call out...
    This may help...
    https://blogs.oracle.com/ateamsoab2b/entry/an_example_of_how_to
    Cheers,
    Vlad

  • How can I video conference using a MacPro and a Apple Cinema Display ?

    Is there any way to video conference using iChat with a MacPro and an Apple Cinema Display? There is no built in iSight in these displays.

    Logitech is releasing a camera just for macs. That should do the trick.
    http://www.logitech.com/index.cfm/webcam_communications/webcams/devices/4528&cl= us,en

  • 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

Maybe you are looking for

  • Password report for EM jobs

    We have multiple EM jobs that run against a node using the root password. Whenever the root password changes, we go in to each job and update the password. Sometimes, we miss a couple. Does anyone know if there is a location in the tables of the repo

  • Invoice new pricing

    Hi All, In the copy control between delivery and billing, there is a pricing type. This determines whether at the time of invoicing new automatic pricing has to be carried out? Also, in V/08 where you define the pricing procedure..there is a pricing

  • When downloading itunes updates, i get an error that reads file folder for itunes media has an invalid character

    The error message read "file folder iTunes media has invalid character".

  • Cache de activated on J2EE Engine

    Hi All, I have de activated the cache on the J2EE Engine using the following settings: Visual Admin - Services - HTTP Provider - De activate Check box for 'Set Cache'. This implies that the cache feature of J2EE Engine is not available anymore. My qu

  • Photoshop to illustrator sizing problem

    Hello All, This should be fairly simple, but I haven't had this problem before. I have a photo that I need to increase the size of the canvass and add a black vignette around,  then update this file in illustrator where it is placed. Every time I cha