tokenManager = $tokenManager; $this->streamerFactory = $streamerFactory; } public function show(SongPlayRequest $request, Song $song, ?bool $transcode = null, ?int $bitRate = null) { return $this->streamerFactory ->createStreamer($song, $transcode, $bitRate, floatval($request->time)) ->stream(); } }