try {
player = Manager.createPlayer(ds);
} catch (NoPlayerException e4) {
// TODO Auto-generated catch block
e4.printStackTrace();
}
player.realize();
blockingRealize();
player.start();
put whren I do the same with a processor it doesn't work:
try {
player = Manager.createProcessor(ds);
} catch (NoPlayerException e4) {
// TODO Auto-generated catch block
e4.printStackTrace();
}
player.realize();
blockingRealize();
player.start()
The processor starts but it doesn't read from the file nor is there any output. Does someone has any suggestions?
And in both variants when I do any call on the player/processor I get a OpenError: Not initialized (eventough if the player works). Has anyone any idea?
Regards, Robert
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I can create a player in the following way:
try {
player = Manager.createPlayer(ds);
} catch (NoPlayerException e4) {
// TODO Auto-generated catch block
e4.printStackTrace();
}
player.realize();
blockingRealize();
player.start();
put whren I do the same with a processor it doesn't work:
try {
player = Manager.createProcessor(ds);
} catch (NoPlayerException e4) {
// TODO Auto-generated catch block
e4.printStackTrace();
}
player.realize();
blockingRealize();
player.start()
The processor starts but it doesn't read from the file nor is there any output. Does someone has any suggestions?
And in both variants when I do any call on the player/processor I get a OpenError: Not initialized (eventough if the player works). Has anyone any idea?
Regards, Robert
I think you have to call player.setContentType(null); before realize() to make it work.
Thanks for your help.
Now it works.
But the call was player.setContentDescriptor(null);
Regards, Robert