pause() {
        this.paused = true;
        this.setSpeaking(false);
        if(this.current) {
            if(!this.current.pausedTimestamp) {
                this.current.pausedTimestamp = Date.now();
            }
            if(this.current.timeout) {
                clearTimeout(this.current.timeout);
                this.current.timeout = null;
            }
        }
    }
/**
    * Pause sending audio (if playing)
    */
Pause sending audio (if playing)
Pause sending audio ( if playing )
pause() {
        this.paused = true;
        this.setSpeaking(false);
        if(this.current) {
            if(!this.current.pausedTimestamp) {
                this.current.pausedTimestamp = Date.now();
            }
            if(this.current.timeout) {
                clearTimeout(this.current.timeout);
                this.current.timeout = null;
            }
        }
    }
pause ( ) { this . paused = true ; this . setSpeaking ( false ) ; if ( this . current ) { if ( ! this . current . pausedTimestamp ) { this . current . pausedTimestamp = Date . now ( ) ; } if ( this . current . timeout ) { clearTimeout ( this . current . timeout ) ; this . current . timeout = null ; } } }
Pause sending audio (if playing)
Pause sending audio ( if playing )