public function start()
    {
        if (! $this->checkForFFmpeg() ||
            ! $this->checkForDCA() ||
            ! $this->checkForLibsodium()) {
            return false;
        }

        // temp
        if (strtoupper(substr(PHP_OS, 0, 3)) === 'WIN') {
            $this->emit('error', [new \Exception('The voice client does not work on Windows operating systems at the moment.')]);

            return false;
        }

        $this->initSockets();
    }
public function start()
    {
        if (! $this->checkForFFmpeg() ||
            ! $this->checkForDCA() ||
            ! $this->checkForLibsodium()) {
            return false;
        }

        // temp
        if (strtoupper(substr(PHP_OS, 0, 3)) === 'WIN') {
            $this->emit('error', [new \Exception('The voice client does not work on Windows operating systems at the moment.')]);

            return false;
        }

        $this->initSockets();
    }
public function start ( ) { if ( ! $ this -> checkForFFmpeg ( ) || ! $ this -> checkForDCA ( ) || ! $ this -> checkForLibsodium ( ) ) { return false ; } // temp if ( strtoupper ( substr ( PHP_OS , 0 , 3 ) ) === 'WIN' ) { $ this -> emit ( 'error' , [ new \ Exception ( 'The voice client does not work on Windows operating systems at the moment.' ) ] ) ; return false ; } $ this -> initSockets ( ) ; }
Starts the voice client.

@return void
Starts the voice client .