This week's book giveaway is in the OCMJEA forum.
We're giving away four copies of OCM Java EE 6 Enterprise Architect Exam Guide and have Paul Allen & Joseph Bambara on-line!
See this thread for details.
The moose likes Beginning Java and the fly likes End/Kill Connection to WebCam Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCM Java EE 6 Enterprise Architect Exam Guide this week in the OCMJEA forum!
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "End/Kill Connection to WebCam" Watch "End/Kill Connection to WebCam" New topic
Author

End/Kill Connection to WebCam

A Kesher
Greenhorn

Joined: May 26, 2006
Posts: 3
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
 
 
subject: End/Kill Connection to WebCam