Example #1
0
        public void StopInput()
        {
#if UNITY_EDITOR_WIN || UNITY_STANDALONE_WIN
            _currentMode      = null;
            _isStreamingInput = false;
            IsStreaming       = _isStreamingOutput || _isStreamingInput;
            IsPaused          = false;
            ResetFPS();
            DeckLinkPlugin.StopInputStream(_deviceIndex);
            DeckLinkPlugin.SetTexturePointer(_deviceIndex, System.IntPtr.Zero);
#endif
        }