Video stream received, but no image is there
Hello,
I am developing an application that sends a video stream over the internet, receives it in the other side and display the image.
The stream is received, and I can get the VisualComponent and add it to my panel. The background of the visual component is red, and I see it, but there is no image on it.
I mean, I get the stream, the visual component... but it has not any image on it!!!
Does anybody know what can cause this strange behaviour?
if ((vcRemote = p.getVisualComponent()) != null) {
vcRemote.setBackground(Color.RED);
add(vcRemote, BorderLayout.CENTER);
System.out.println("State of the player " + p.getState() + " =? " + Player.Started);
if (p.getState() != Player.Started)
p.start();
} else {
System.out.println("This is really weird: " + p);
}

