org.gstreamer.event
Class LatencyEvent
java.lang.Object
org.gstreamer.lowlevel.NativeValue
org.gstreamer.lowlevel.Handle
org.gstreamer.lowlevel.NativeObject
org.gstreamer.lowlevel.RefCountedObject
org.gstreamer.MiniObject
org.gstreamer.Event
org.gstreamer.event.LatencyEvent
public class LatencyEvent
- extends Event
Notification of new latency adjustment.
The event is sent upstream from the sinks and
notifies elements that they should add an additional latency to the
timestamps before synchronising against the clock.
The latency is mostly used in live sinks and is always expressed in
the time format.
Methods inherited from class org.gstreamer.lowlevel.NativeObject |
classFor, disown, dispose, equals, finalize, getNativeAddress, handle, hashCode, initializer, initializer, instanceFor, invalidate, isDisposed, nativeValue, objectFor, objectFor, toString |
Methods inherited from class java.lang.Object |
clone, getClass, notify, notifyAll, wait, wait, wait |
LatencyEvent
public LatencyEvent(NativeObject.Initializer init)
- This constructor is for internal use only.
- Parameters:
init
- initialization data.
LatencyEvent
public LatencyEvent(ClockTime latency)
- Create a new latency event.
- Parameters:
latency
- the new latency value to add to timestamps.
getLatency
public ClockTime getLatency()
- Gets the latency in the latency event.
- Returns:
- the latency.