RTSPRange.convertUnits
bool convertUnits(gstrtsp.rtsptime_range.RTSPTimeRange range, gstrtsp.types.RTSPRangeUnit unit)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 | a #GstRTSPTimeRange |
unit | the unit to convert the range into |
Returns
true if the range could be converted