Results 1 to 8 of 8

Thread: video chat

  1. #1
    hero is offline Member
    Join Date
    Jul 2009
    Posts
    20
    Rep Power
    0

    Question video chat

    I would like to create a video chat program, a guest and a host version, wich constantly transfers video and audio across a network.

    But at the moment i haven't any idea if its possible in java and what library I should use.
    I also didn't find any good tutorials on the internet.

    Any suggestions?

    Kind regards,
    Hero

  2. #2
    MuslimCoder is offline Senior Member
    Join Date
    Jan 2009
    Posts
    119
    Rep Power
    0

    Default

    Hello, Good news for you... I got to do some reading on capturing video from the webcam because I was interested in making an application that does that, and I came across the Java Media Frame Work. It is a library that provides you with that.

    All the best with that.. I dont think it would be too hard.<smile>

  3. #3
    hero is offline Member
    Join Date
    Jul 2009
    Posts
    20
    Rep Power
    0

    Default

    Thanks, ill take a look at it.

  4. #4
    hero is offline Member
    Join Date
    Jul 2009
    Posts
    20
    Rep Power
    0

    Default

    When i try to import and use the JMF library, i get an error.

    for example when i try to create the type player:
    public Player audioPlayer = null;

    Access restriction: The type Player is not accessible due to restriction on
    required library C:\Program Files\Java\jre6\lib\ext\jmf.jar

  5. #5
    atapoor is offline Member
    Join Date
    May 2010
    Posts
    2
    Rep Power
    0

    Default atapoor

    Hi all
    I have faced the same problem. I have used Player class using eclipse IDE, but it shows error line. when locate mouse on the class, it shows this message:Access restriction: The type Player is not accessible due to restriction on required library C:\Program Files\Java\jre6\lib\ext\jmf.jar

  6. #6
    atapoor is offline Member
    Join Date
    May 2010
    Posts
    2
    Rep Power
    0

    Default atapoor

    HI hero
    my problem was solved in this way: I went in the drive in which system has been installed then program file-> java ->jre6 ->lib and there was a folder by the name of "ext".
    1- remove this folder
    2- download jmf-2_1_1e-alljava.zip and extract it
    3- open eclipse and click on "project" option and choose "properties"
    4- click on "java build path" and choose "Libraries" tab and click on "Add External Jar" and go to lib folder of jmf-2_1_1e-alljava
    hope this solve the problem

  7. #7
    Fabken is offline Member
    Join Date
    Nov 2010
    Posts
    18
    Rep Power
    0

    Default

    Hello everybody with that problem in eclipse.
    There is an easy solution for it, it's caused by eclipse itself, but you can change it.
    1) Open Eclipse and than go under window click preferences.
    2) Click on Java & than compiler & than error/warnings.
    3) Go to deprecated and restricted API.
    4) Make sure Deprecated API is set to warning, and both checkboxes are checked.
    And forbidden reference and discouraged reference is also set to warning.

    Here you go this should solve your problem!

  8. #8
    sunde887's Avatar
    sunde887 is offline Moderator
    Join Date
    Jan 2011
    Location
    Richmond, Virginia
    Posts
    3,069
    Blog Entries
    3
    Rep Power
    8

    Default

    This thread is over a year old. Please ask your question in your own new thread.

    Closing.

Similar Threads

  1. Chat application with RMI
    By dhaval.rajput.p in forum Advanced Java
    Replies: 0
    Last Post: 07-11-2009, 10:12 AM
  2. [SOLVED] SSL Chat
    By Koren3 in forum Networking
    Replies: 0
    Last Post: 04-24-2009, 01:56 PM
  3. Video tutorial on EJB
    By mdeepaks in forum Enterprise JavaBeans (EJB)
    Replies: 1
    Last Post: 01-31-2009, 05:57 AM
  4. Help in Chat application
    By zocky in forum Networking
    Replies: 0
    Last Post: 11-08-2007, 07:19 PM
  5. video stream
    By Alan in forum Advanced Java
    Replies: 2
    Last Post: 05-17-2007, 08:12 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •