set Playback Speed
Sets the playback speed for this player instance.
Adjusts the speed at which the media plays, allowing for slow motion or fast-forward effects.
Example usage:
SurfaceView surfaceView = findViewById(R.id.surface_view);
SandboxedPlayer player = new SandboxedPlayer(context, surfaceView);
player.setPlaybackSpeed(2.0f); // Double speed
Log.d("Client", "Speed set to: " + player.getPlaybackSpeed());
Content copied to clipboard
Parameters
speed
Playback speed (e.g., 1.0 for normal, 2.0 for double speed).