コード例 #1
0
 private void SetKeying(DeckLinkOutput.KeyerMode mode)
 {
     if (_supportsInternalKeying || _supportsExternalKeying)
     {
         DeckLinkPlugin.SwitchKeying(_deviceIndex, mode != DeckLinkOutput.KeyerMode.None, mode == DeckLinkOutput.KeyerMode.External);
         _keyingMode = mode;
     }
 }
コード例 #2
0
        public void StopOutput()
        {
#if UNITY_EDITOR_WIN || UNITY_STANDALONE_WIN
            _currentOutputMode = null;
            _isStreamingOutput = false;
            IsStreaming        = _isStreamingOutput || _isStreamingInput;
            ResetFPS();
            DeckLinkPlugin.StopOutputStream(_deviceIndex);
            _keyingMode = DeckLinkOutput.KeyerMode.None;
#endif
        }