Hi, I'm using a PlayBin for some very basic audio streaming. I'm
wondering what the buffer size is thats being used by the PlayBin when
loading data, and whether or not that can be controlled. Here is a
snippet of my code:
PlayBin playbin = new PlayBin("AudioPlayer-" + handle);
if (file != null) {
playbin.setInputFile(file);
}
playbin.getBus().connect(new Bus.ERROR() {
public void errorMessage(GstObject source, int code, String
message) {
System.out.println("Error playing audio stream: " +
message);
}
});
playbin.setVideoSink(ElementFactory.make("fakesink",
"videosink"));
playbin.play();