Segment.appliedRate

Get appliedRate field.

  1. double appliedRate [@property getter]
    class Segment
    @property
    double
    appliedRate
    ()
  2. double appliedRate [@property setter]

Return Value

Type: double

The applied rate is the rate that has been applied to the stream. The effective/resulting playback rate of a stream is rate * applied_rate. The applied rate can be set by source elements when a server is sending the stream with an already modified playback speed rate. Filter elements that modify the stream in a way that modifies the playback speed should also modify the applied rate. For example the #videorate element when its #videorate:rate property is set will set the applied rate of the segment it pushed downstream. Also #scaletempo applies the input segment rate to the stream and outputs a segment with rate=1.0 and applied_rate=<inputsegment.rate>.