aspose file tools*
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 Spring in Action this week in the Spring 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
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: End/Kill Connection to WebCam