Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
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
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "End/Kill Connection to WebCam" Watch "End/Kill Connection to WebCam" New topic

End/Kill Connection to WebCam

A Kesher

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
I agree. Here's the link:
subject: End/Kill Connection to WebCam
It's not a secret anymore!