Gst.RTSP.Range – gstreamer-rtsp-1.0 Reference Manual
Packages
gstreamer-rtsp-1.0
Gst
RTSP
Range
convert_units
free
get_times
parse
to_string
max
min
Range
Object Hierarchy:
Description:
[
CCode
( has_type_id =
false
) ]
[
GIR
( name =
"RTSPRange"
) ]
public
struct
Range
Provides helper functions to deal with time ranges.
Namespace:
Gst.RTSP
Package:
gstreamer-rtsp-1.0
Content:
Static methods:
public
static
bool
convert_units
(
TimeRange
range,
RangeUnit
unit)
Converts the range in-place between different types of units.
public
static
void
free
(
TimeRange
range)
Free the memory allocated by
range
.
public
static
bool
get_times
(
TimeRange
range,
out
ClockTime
min,
out
ClockTime
max)
Retrieve the minimum and maximum values from
range
converted to
ClockTime
in
min
and
max
.
public
static
Result
parse
(
string
rangestr,
out
TimeRange
range)
Parse
rangestr
to a
TimeRange
.
public
static
string
to_string
(
TimeRange
range)
Convert
range
into a string representation.
Fields:
public
int
min
public
int
max