RTPBasePayloadGidBuilderImpl.scaleRtptime

Set scaleRtptime property.

class RTPBasePayloadGidBuilderImpl(T)
T
scaleRtptime
(
bool propval
)

Parameters

propval bool

Make the RTP packets' timestamps be scaled with the segment's rate (corresponding to RTSP speed parameter). Disabling this property means the timestamps will not be affected by the set delivery speed (RTSP speed).

Return Value

Type: T

Builder instance for fluent chaining

Examples

A server wants to allow streaming a recorded video in double speed but still have the timestamps correspond to the position in the video. This is achieved by the client setting RTSP Speed to 2 while the server has this property disabled.