Turns off this videorecorder.

Library hooks will be disabled and cassettes ejected.

@api

@return void
192145
public function turnOff()
    {
        if ($this->isOn) {
            $this->disableLibraryHooks();
            $this->eject();
            $this->isOn = false;
        }
    }
1154524
function () {
      this.clear();
      this.stop();
      this.state = 'recording';
      this.controller.connection.protocol = this.recordProtocol;
      this.setGraphic('connect');
      this.controller.emit('playback.record', this)
    }
398928
public function disable()
    {
        $url = UrlHelper::buildUrl(Urls::URL_QUERY_CACHE, ['properties']);
        $this->getConnection()->put($url, $this->json_encode_wrapper(['mode' => 'off']));
    }
1076339
final public function disable()
    {
        $this->enforceRules = false;
        foreach ($this->store as $store) {
            $store->disable();
        }
    }
834591
function stopAudioCapture() {

        // Disconnect media source node from script processor
        if (source)
            source.disconnect();

        // Disconnect associated script processor node
        if (processor)
            processor.disconnect();

        // Stop capture
        if (mediaStream) {
            var tracks = mediaStream.getTracks();
            for (var i = 0; i < tracks.length; i++)
                tracks[i].stop();
        }

        // Remove references to now-unneeded components
        processor = null;
        source = null;
        mediaStream = null;

        // End stream
        writer.sendEnd();

    }
827238
public function stop()
	{
		if($this->_started)
		{
			$this->onStop();
			foreach($this->plugins() as $plugin) $plugin->stop();
		}
	}
829414
public function end()
    {
        if ($this->_discardActiveBufferOnEnd) {
            $this->_discardActiveBufferOnEnd = false;
            ob_end_clean();

            return;
        }
        if ($this->_active) {
            $mode = end($this->_active);
            $active = key($this->_active);
            $content = ob_get_clean();
            if ($mode === ViewBlock::OVERRIDE) {
                $this->_blocks[$active] = $content;
            } else {
                $this->concat($active, $content, $mode);
            }
            array_pop($this->_active);
        }
    }
1178529
public function stop()
    {
        $this->getGarbageCollector()->stop();
        $this->getStartupBeanTaskGarbageCollector()->stop();
        $this->getObjectFactory()->stop();
    }
812334
public function disable()
    {
        if (!$this->enabled) {
            return;
        }
        $this->enabled = false;
        if ($this->ev instanceof \Event) {
            $this->ev->del();
        } elseif ($this->ev instanceof \EventListener) {
            $this->ev->disable();
        }
    }
277363
public function unsetHook()
    {
        if ($this->hook_reference !== null)
        {
            Hook::unsubscribe(Hook::SHUTDOWN_HOOK, $this->hook_reference);
        }
    }
861772
def close(self):
        """"""
        if not self.closed:
            check(_coreaudio.ExtAudioFileDispose(self._obj))
            self.closed = True
606102
public function remove()
    {
        $this->debug->groupCollapsed(__METHOD__);
        $name = $this->data['name'];
        $this->trashCollectFiles($this->data);
        $this->data = array();
        unset($_SESSION['form_persist'][$name]);
        if (empty($_SESSION['form_persist'])) {
            unset($_SESSION['form_persist']);
        }
        $this->debug->groupEnd();
    }
1261682
private void doClose()
	{
		// set visible, if system tray active and frame is iconified
		if (useSystemTray && (getExtendedState()&ICONIFIED)!=0) setVisible(true);
		
		doStopPlaying();
		getSeekBarPanel().pauseThread();
		getVULMeterPanel().pauseThread();
		getVURMeterPanel().pauseThread();
		getSALMeterPanel().pauseThread();
		getSARMeterPanel().pauseThread();
		getLEDScrollPanel().pauseThread();
		writePropertyFile();
		if (audioProcessor!=null) audioProcessor.removeListener(this);
		
		MultimediaContainerManager.removeMultimediaContainerEventListener(this);

		useSystemTray = false; setSystemTray();

		for (Window win : windows)
		{
			win.setVisible(false);
			win.dispose();
		}
		setVisible(false);
		dispose();
		
		System.exit(0); // this should not be needed! 
	}
813747
public function stop()
    {
        $this->_stop = microtime(true);
        $this->duration = $this->_stop - $this->_start;
        if (function_exists('memory_get_usage')) {
            $this->_memoryStop = memory_get_usage();
            $this->memory = $this->_memoryStop - $this->_memoryStart;
        }
        if (Zend_Registry::get('db') && Zend_Registry::get('db')->getProfiler() instanceof Kwf_Db_Profiler) {
            $this->_queriesStop =  Zend_Registry::get('db')->getProfiler()->getQueryCount();
            $this->queries = $this->_queriesStop - $this->_queriesStart;
        }

        if (Zend_Registry::get('config')->debug->firephp && class_exists('FirePHP') && FirePHP::getInstance() && FirePHP::getInstance()->detectClientExtension()) {
            p($this->identifier.': '.$this->addInfo.' '.implode('; ', $this->getOutput()));
        }
        $this->stopped = true;
    }
409273
def stop_recording():
    
    global _recording
    if not _recording:
        raise ValueError('Must call "start_recording" before.')
    recorded_events_queue, hooked = _recording
    unhook(hooked)
    return list(recorded_events_queue.queue)
984200
def _stop(self):
        
        self._pause()
        self._cmds_q.put(("stop",))
        try:
            self._recorder.terminate()
        except Exception:
            pass
        self._recording = False
565276
public function stop() {
        if ($this->watcher === null) {
            return;
        }

        Loop::cancel($this->watcher);
        $this->watcher = null;
    }