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.
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>
Thanks, ill take a look at it.
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
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
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
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!
This thread is over a year old. Please ask your question in your own new thread.