RTSPRange.convertUnits

Converts the range in-place between different types of units. Ranges containing the special value #GST_RTSP_TIME_NOW can not be converted as these are only valid for #GST_RTSP_RANGE_NPT.

Parameters

range gstrtsp.rtsptime_range.RTSPTimeRange

a #GstRTSPTimeRange

unit gstrtsp.types.RTSPRangeUnit

the unit to convert the range into

Return Value

Type: bool

true if the range could be converted