File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Other JSE/JEE APIs and the fly likes Jmf problem with webcam and microphone Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Other JSE/JEE APIs
Bookmark "Jmf problem with webcam and microphone" Watch "Jmf problem with webcam and microphone" New topic
Author

Jmf problem with webcam and microphone

nayan rami
Ranch Hand

Joined: Dec 28, 2010
Posts: 30


when i am trying to use my head phone and webcam using jmf it will give me error like
how to resloved it

is there any problem with os or webcam is not supported


java.io.IOException: mark/reset not supported
at java.util.zip.InflaterInputStream.reset(Unknown Source)
at com.ici.media.MediaPlayer$PanelPrefetchImpl.call(MediaPlayer.java:498)
at com.ici.media.MediaPlayer$PanelPrefetchImpl.call(MediaPlayer.java:483)
at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source)
at java.util.concurrent.FutureTask.run(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)


urgently

thanks
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 41112
    
  45
The stack trace doesn't contain any JMF classes - what makes you think that it is involved at all? Have you read the documentation of whatever com.ici.media.MediaPlayer is?


Ping & DNS - my free Android networking tools app
nayan rami
Ranch Hand

Joined: Dec 28, 2010
Posts: 30
can you please explain me an error ..

i don't know about it more....

thanks for your reply....
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 41112
    
  45
I'm not sure what to explain: the stack trace does not contain any JMF classes, so it looks to me as if JMF is not involved. That's why I asked why you think that it is. What the stack trace *does* contain is a class com.ici.media.MediaPlayer - a (possibly commercial) class for which documentation -maybe including working sample code- of some kind should be available wherever you got that class.
nayan rami
Ranch Hand

Joined: Dec 28, 2010
Posts: 30
no document is provided to me so and some one say that application working in his system so when i stated application it will give me error like that and after that it will give a error message in swing like it will not detect webcam an headphone but will work fine in my system i will check it on different platform also that

i think that webcam or microphone is not suppoted with jmf

i it possible?
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 41112
    
  45
no document is provided to me so

Then we can't help with that, since we know nothing about this class.

i think that webcam or microphone is not suppoted with jmf

JMF supports audio and video input, but nothing you've said so far indicates that JMF is involved. So I ask once more: Why do you think this is a JMF issue?
nayan rami
Ranch Hand

Joined: Dec 28, 2010
Posts: 30
because my client side this application works fine and my side it create problem.
so i think like that.
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 41112
    
  45
because my client side this application works fine and my side it create problem.

I'm sorry, but this doesn't make sense. Saying "the code works at location A, but it doesn't work at location B, therefore it is a JMF problem" is like saying "this car ran fine on Monday, but it did not run well on Tuesday, therefore Toyota is at fault" when the car actually appears to be from Tata. I don't think anyone can help without knowing a lot more about the problem (for example, seeing the code in question).
nayan rami
Ranch Hand

Joined: Dec 28, 2010
Posts: 30
thanks

for your and help and your value able time thanks so much
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
 
subject: Jmf problem with webcam and microphone
 
Similar Threads
Exception in thread "pool-1-thread-467"
RejectedExecutionException at Swing application closure time
one problem with SimplePlayerApplet.java (JMF sample code)
Jar files for JSF 2.0 + Primefaces
Unable to launch application under Tomcat 6.0