What is the default buffer size of a PlayBin, and can it be modified

22 views
Skip to first unread message

wildabeast

unread,
Feb 9, 2012, 1:34:53 PM2/9/12
to gstreamer-java
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();
Reply all
Reply to author
Forward
0 new messages