Package | Description |
---|---|
org.gstreamer | |
org.gstreamer.elements | |
org.gstreamer.event | |
org.gstreamer.lowlevel | |
org.gstreamer.media.event | |
org.gstreamer.query |
Modifier and Type | Field and Description |
---|---|
static ClockTime |
ClockTime.NONE |
static ClockTime |
ClockTime.ZERO |
Modifier and Type | Method and Description |
---|---|
static ClockTime |
ClockTime.fromMicros(long microseconds)
Creates a new ClockTime object for a microsecond value.
|
static ClockTime |
ClockTime.fromMillis(long milliseconds)
Creates a new ClockTime object for a millisecond value.
|
static ClockTime |
ClockTime.fromNanos(long nanoseconds)
Creates a new ClockTime object for a nanosecond value.
|
static ClockTime |
ClockTime.fromSeconds(long seconds)
Creates a new ClockTime object for a second value.
|
ClockTime |
Element.getBaseTime()
Returns the base time of the element.
|
ClockTime |
Buffer.getDuration()
Gets the duration in time of the buffer data, can be
NONE
when the duration is not known or relevant. |
ClockTime |
Clock.getInternalTime()
Gets the current internal time of this clock.
|
ClockTime |
Clock.getResolution()
Gets the accuracy of the clock.
|
ClockTime |
Element.getStartTime()
Returns the start time of this element.
|
ClockTime |
Clock.getTime()
Gets the current time of the given clock.
|
ClockTime |
ClockID.getTime()
Gets the time of the clock ID
|
ClockTime |
Buffer.getTimestamp()
Gets the timestamp in time of the buffer data, can be
NONE
when the timestamp is not known or relevant. |
ClockTime |
Pipeline.queryDuration()
Gets the time duration of the current media stream.
|
ClockTime |
Pipeline.queryPosition()
Gets the current position in the media stream in units of time.
|
ClockTime |
Clock.setResolution(ClockTime resolution)
Sets the accuracy of the clock.
|
static ClockTime |
ClockTime.valueOf(long time,
java.util.concurrent.TimeUnit units)
Returns a new ClockTime object that represents the time value.
|
Modifier and Type | Method and Description |
---|---|
int |
ClockTime.compareTo(ClockTime time)
Compares this ClockTime to another.
|
void |
Clock.getCalibration(ClockTime internal,
ClockTime external,
ClockTime rateNumerator,
ClockTime rateDenominator)
Gets the internal rate and reference time of clock.
|
ClockID |
Clock.newPeriodicID(ClockTime startTime,
ClockTime interval)
Gets an ID from this clock to trigger a periodic notification.
|
ClockID |
Clock.newSingleShotID(ClockTime time)
Gets a
ClockID from this clock to trigger a single shot
notification at the requested time. |
boolean |
Pipeline.seek(ClockTime time)
Sets the position in the media stream to time.
|
void |
Element.setBaseTime(ClockTime time)
Set the base time of an element.
|
void |
Clock.setCalibration(ClockTime internal,
ClockTime external,
ClockTime rateNumerator,
ClockTime rateDenominator)
Adjusts the rate and time of this clock.
|
void |
Buffer.setDuration(ClockTime dur) |
ClockTime |
Clock.setResolution(ClockTime resolution)
Sets the accuracy of the clock.
|
void |
Element.setStartTime(ClockTime time)
Set the start time of an element.
|
void |
Buffer.setTimestamp(ClockTime timestamp)
Sets the timestamp in time of the buffer data, can be
NONE
when the timestamp is not known or relevant. |
Modifier and Type | Method and Description |
---|---|
ClockTime |
BaseSink.getLatency() |
ClockTime |
BaseSink.getRenderDelay() |
Modifier and Type | Method and Description |
---|---|
boolean |
BaseSrc.queryLatency(boolean[] live,
ClockTime[] min_latency,
ClockTime[] max_latency) |
boolean |
BaseSrc.queryLatency(boolean[] live,
ClockTime[] min_latency,
ClockTime[] max_latency) |
boolean |
BaseSink.queryLatency(boolean live,
boolean upstream_live,
ClockTime min_latency,
ClockTime max_latency) |
void |
BaseSink.setRenderDelay(ClockTime delay) |
ClockReturn |
BaseSink.waitClock(ClockTime time,
com.sun.jna.Pointer jitter) |
FlowReturn |
BaseSink.waitEOS(ClockTime time,
com.sun.jna.Pointer jitter) |
Modifier and Type | Method and Description |
---|---|
ClockTime |
LatencyEvent.getLatency()
Gets the latency in the latency event.
|
ClockTime |
QOSEvent.getTimestamp()
Gets the timestamp from this event.
|
Constructor and Description |
---|
LatencyEvent(ClockTime latency)
Create a new latency event.
|
NewSegmentEvent(boolean update,
double rate,
ClockTime start,
ClockTime stop,
ClockTime position) |
QOSEvent(double proportion,
long difference,
ClockTime timestamp)
Creates a new quality-of-service event.
|
Modifier and Type | Field and Description |
---|---|
ClockTime |
GstBufferAPI.BufferStruct.duration |
ClockTime |
GstControlSourceAPI.GstValueArray.sample_interval |
ClockTime |
GstBufferAPI.BufferStruct.timestamp |
ClockTime |
GstControlSourceAPI.GstTimedValue.timestamp |
Modifier and Type | Method and Description |
---|---|
boolean |
GstClockAPI.GstClockCallback.callback(Clock clock,
ClockTime time,
ClockID id,
com.sun.jna.Pointer user_data) |
boolean |
GstControlSourceAPI.GstControlSourceGetValueArray.callback(ControlSource self,
ClockTime timestamp,
GstControlSourceAPI.GstValueArray value_array) |
boolean |
GstControlSourceAPI.GstControlSourceGetValue.callback(ControlSource self,
ClockTime timestamp,
GValueAPI.GValue value) |
boolean |
BaseSinkAPI.gst_base_sink_query_latency(BaseSink sink,
boolean live,
boolean upstream_live,
ClockTime min_latency,
ClockTime max_latency) |
void |
BaseSinkAPI.gst_base_sink_set_render_delay(BaseSink sink,
ClockTime delay) |
ClockReturn |
BaseSinkAPI.gst_base_sink_wait_clock(BaseSink sink,
ClockTime time,
com.sun.jna.Pointer jitter) |
FlowReturn |
BaseSinkAPI.gst_base_sink_wait_eos(BaseSink sink,
ClockTime time,
com.sun.jna.Pointer jitter) |
boolean |
BaseSrcAPI.gst_base_src_query_latency(BaseSrc src,
boolean[] live,
ClockTime[] min_latency,
ClockTime[] max_latency) |
boolean |
BaseSrcAPI.gst_base_src_query_latency(BaseSrc src,
boolean[] live,
ClockTime[] min_latency,
ClockTime[] max_latency) |
void |
BaseTransformAPI.gst_base_transform_update_qos(BaseTransform trans,
double proportion,
long diff,
ClockTime timestamp) |
Message |
GstBusAPI.gst_bus_poll(Bus bus,
MessageType events,
ClockTime timeout) |
Message |
GstBusAPI.gst_bus_timed_pop_filtered(Bus bus,
ClockTime timeout,
MessageType types) |
Message |
GstBusAPI.gst_bus_timed_pop(Bus bus,
ClockTime timeout) |
boolean |
GstClockAPI.gst_clock_add_observation(Clock clock,
ClockTime slave,
ClockTime Master,
double[] r_squared) |
ClockTime |
GstClockAPI.gst_clock_adjust_unlocked(Clock clock,
ClockTime internal) |
ClockID |
GstClockAPI.gst_clock_new_periodic_id(Clock clock,
ClockTime start_time,
ClockTime interval) |
ClockID |
GstClockAPI.gst_clock_new_single_shot_id(Clock clock,
ClockTime time) |
void |
GstClockAPI.gst_clock_set_calibration(Clock clock,
ClockTime internal,
ClockTime external,
ClockTime rate_num,
ClockTime rate_denom) |
ClockTime |
GstClockAPI.gst_clock_set_resolution(Clock clock,
ClockTime resolution) |
ClockTime |
GstClockAPI.gst_clock_unadjust_unlocked(Clock clock,
ClockTime external) |
boolean |
GstControlSourceAPI.gst_control_source_get_value_array(ControlSource self,
ClockTime timestamp,
GstControlSourceAPI.GstValueArray value_array) |
boolean |
GstControlSourceAPI.gst_control_source_get_value(ControlSource self,
ClockTime timestamp,
GValueAPI.GValue value) |
boolean |
GstControllerAPI.gst_controller_get_value_arrays(Controller self,
ClockTime timestamp,
GlibAPI.GSList value_arrays) |
GValueAPI.GValue |
GstControllerAPI.gst_controller_get(Controller self,
java.lang.String property_name,
ClockTime timestamp) |
boolean |
GstControllerAPI.gst_controller_sync_values(Controller self,
ClockTime timestamp) |
StateChangeReturn |
GstElementAPI.gst_element_get_state(Element elem,
State[] state,
State[] pending,
ClockTime timeout) |
void |
GstElementAPI.gst_element_set_base_time(Element element,
ClockTime time) |
void |
GstElementAPI.gst_element_set_start_time(Element element,
ClockTime time) |
Event |
GstEventAPI.gst_event_new_latency(ClockTime latency) |
Event |
GstEventAPI.gst_event_new_qos(double proportion,
long diff,
ClockTime timestamp) |
void |
GstEventAPI.gst_event_parse_latency(Event event,
ClockTime[] latency) |
boolean |
GstInterpolationControlSourceAPI.gst_interpolation_control_source_set(InterpolationControlSource self,
ClockTime timestamp,
GValueAPI.GValue value) |
boolean |
GstInterpolationControlSourceAPI.gst_interpolation_control_source_unset(InterpolationControlSource self,
ClockTime timestamp) |
boolean |
GstControllerAPI.gst_object_get_value_arrays(GObject object,
ClockTime timestamp,
GlibAPI.GSList value_arrays) |
void |
GstControllerAPI.gst_object_set_control_rate(GObject object,
ClockTime control_rate) |
boolean |
GstControllerAPI.gst_object_sync_values(GObject object,
ClockTime timestamp) |
void |
GstPipelineAPI.gst_pipeline_set_delay(Pipeline pipeline,
ClockTime delay) |
void |
GstPipelineAPI.gst_pipeline_set_new_stream_time(Pipeline pipeline,
ClockTime time) |
void |
GstQueryAPI.gst_query_parse_latency(Query query,
boolean[] live,
ClockTime[] min_latency,
ClockTime[] max_latency) |
void |
GstQueryAPI.gst_query_parse_latency(Query query,
boolean[] live,
ClockTime[] min_latency,
ClockTime[] max_latency) |
void |
GstQueryAPI.gst_query_set_latency(Query query,
boolean live,
ClockTime min_latency,
ClockTime max_latency) |
Modifier and Type | Field and Description |
---|---|
ClockTime |
PositionChangedEvent.position |
Modifier and Type | Method and Description |
---|---|
ClockTime |
DurationChangedEvent.getDuration() |
ClockTime |
StartEvent.getMediaTime() |
ClockTime |
StopEvent.getMediaTime() |
ClockTime |
PositionChangedEvent.getPosition() |
Constructor and Description |
---|
DurationChangedEvent(MediaPlayer from,
ClockTime newDuration) |
PauseEvent(MediaPlayer source,
State previous,
State current,
State pending,
ClockTime mediaTime) |
PositionChangedEvent(MediaPlayer player,
ClockTime position,
int percent) |
StartEvent(MediaPlayer from,
State previous,
State current,
State target,
ClockTime mediaTime) |
StopEvent(MediaPlayer from,
State previous,
State current,
State target,
ClockTime mediaTime) |
Modifier and Type | Method and Description |
---|---|
ClockTime |
LatencyQuery.getMaximumLatency()
Gets the maximum latency of the live element.
|
ClockTime |
LatencyQuery.getMinimumLatency()
Gets the minimum latency of the live element.
|
Modifier and Type | Method and Description |
---|---|
void |
LatencyQuery.setLatency(boolean live,
ClockTime minLatency,
ClockTime maxLatency)
Answers a latency query.
|