Win a copy of Think Java: How to Think Like a Computer Scientist this week in the Java in General forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

End/Kill Connection to WebCam

 
A Kesher
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi All

<<This question is in regard to JMF specificaly the Capture capability>>

I can display live feed from a camera, that is not a problem.

My problem is that I want to end the connection so different Format s can be applied, then initialize the connection.

Code is as follows to set it up.





How can I stop/end/kill the connection? None of this works, it causes the JRE to freeze.




Any order of the above and variations such as calling the deallocate() method of Player etc does not have the desired effect. I cannot end the connection.

Anybody know how to do it or know of a workaround that would do it?



Thank You Very Much
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic