Example #1
0
        private void OnInTransitionChanged()
        {
            int inTransition;

            m_mixEffectBlock1.GetInTransition(out inTransition);

            if (inTransition == 0)
            {
                long programId;
                int  keyOnnAir;

                m_mixEffectBlock1.GetProgramInput(out programId);
                m_switcherKey.GetOnAir(out keyOnnAir);

                _reportProgrammView?.Invoke(programId, keyOnnAir == 1 ? true : false);

                //long previewId;
                //m_mixEffectBlock1.GetPreviewInput(out previewId);
            }
        }