setPlaybackSpeed

open fun setPlaybackSpeed(speed: Float)

Sets the playback speed. Passing 0 or a negative value will reset player to use default playback speed of 1. onPlaybackSpeedChanged will be called when the currently active playback speed changes.

Parameters

speed

factor by which playback speed should be changed