public class BufferingMessage extends Message
percent should be a
value between 0 and 100. A value of 100 means that the buffering completed.
See upstream documentation at https://gstreamer.freedesktop.org/data/doc/gstreamer/stable/gstreamer/html/GstMessage.html#gst-message-new-buffering
When percent is < 100 the application should PAUSE a PLAYING pipeline. When percent is 100, the application can set the pipeline (back) to PLAYING. The application must be prepared to receive BUFFERING messages in the PREROLLING state and may only set the pipeline to PLAYING after receiving a message with percent set to 100, which can happen after the pipeline completed prerolling.
Message.TypesNativeObject.Initializer, NativeObject.TypeProvider, NativeObject.TypeRegistration<T extends NativeObject>GTYPE_NAME| Constructor and Description |
|---|
BufferingMessage(GstObject src,
int percent)
Creates a new Buffering message.
|
| Modifier and Type | Method and Description |
|---|---|
int |
getPercent()
Gets the buffering percentage.
|
getSource, getStructure, getTypecopy, getRefCount, isWritable, makeWritableclose, disown, dispose, equals, getPointer, getRawPointer, hashCode, invalidate, toStringpublic BufferingMessage(GstObject src, int percent)
src - The object originating the message.percent - The buffering percentCopyright © 2021 gstreamer-java. All rights reserved.