public class LatencyQuery extends Query
See upstream documentation at https://gstreamer.freedesktop.org/data/doc/gstreamer/stable/gstreamer/html/GstQuery.html#gst-query-new-latency
Query.TypesMiniObject.HandleNativeObject.Initializer, NativeObject.TypeProvider, NativeObject.TypeRegistration<T extends NativeObject>GTYPE_NAME| Constructor and Description |
|---|
LatencyQuery()
Constructs a new query stream position query object.
|
| Modifier and Type | Method and Description |
|---|---|
long |
getMaximumLatency()
Gets the maximum latency of the live element.
|
long |
getMinimumLatency()
Gets the minimum latency of the live element.
|
boolean |
isLive()
Gets whether the element has a live element upstream or not.
|
void |
setLatency(boolean live,
long minLatency,
long maxLatency)
Answers a latency query.
|
String |
toString()
Gets the latency as a user-readable string.
|
getStructurecopy, getRefCount, isWritable, makeWritableclose, disown, dispose, equals, getPointer, getRawPointer, hashCode, invalidatepublic LatencyQuery()
public void setLatency(boolean live,
long minLatency,
long maxLatency)
live - if there is a live element upstreamminLatency - the minimal latency of the live elementmaxLatency - the maximal latency of the live elementpublic boolean isLive()
public long getMinimumLatency()
public long getMaximumLatency()
public String toString()
toString in class NativeObjectCopyright © 2021 gstreamer-java. All rights reserved.