I've already tried to find a forum on the JVLC page but couldn't find one. That's why I post my question to this forum.
I am using the JVLC project to play h.264 streams in my java swing application.
Therefore I embedded a JVLCPanel in one of my Swing panels and connected a CheckBox with the
Code: Select all
jvlc.playlist.add(...)
Code: Select all
jvlc.playlist.play(-1, null)
When I just play one stream everything works fine. But when I open a second Panel that also contains an embedded JVLCPanel the second video stream isn't displayed in the second embedded JVLCPanel. It is displayed in a separate video frame, but not in the embedded one.
I think that there could be something wrong at instantiating a jvlc object. Because when I destroy (jvlc.destroy()) the first jvlc object and open a new SwingPanel with an embedded JVLCPanel and a corresponding jvlc object, the video is displayed correctly in the embedded JVLCPanel.
Does anybody know about this problem or perhaps can give some help?
thanks a lot,
Callisto