void MultiVChatForm_Load(object sender, EventArgs e)
        {
            _multiVChatFormGraphics_pb01 = pb_multivchat_01.CreateGraphics();
            _multiVChatFormGraphics_pb02 = pb_multivchat_02.CreateGraphics();
            _multiVChatFormGraphics_pb03 = pb_multivchat_03.CreateGraphics();
            _multiVChatFormGraphics_pb04 = pb_multivchat_04.CreateGraphics();


            _vchatHandlers.onSessionConnectNotify = (channel_id, code, record_addr, record_file) =>
            {
                if (code == 200)
                {
                    StartDevices();
                }
                else
                {
                    NIM.VChatAPI.End();
                }
            };


            NIM.VChatAPI.SetSessionStatusCb(_vchatHandlers);
            //注册音频接收回调
            DeviceAPI.SetAudioReceiveDataCb(AudioDataReceiveCallBack, null);
            //注册视频接收回调
            DeviceAPI.SetVideoReceiveDataCb(VideoDataReceiveCallBack, null);
            //注册视频捕获回调
            DeviceAPI.SetVideoCaptureDataCb(VideoDataCaptureCallBack, null);

            //启动设备在MultimediaHandler onSessionConnectNotify回调通知中
            // StartDevices();
            _audiosetblacklistop = new NIMVChatOptHandler(AudioSetBlackListOP);
        }
 void SetVChatCallbackNull()
 {
     //注册音频接收回调
     DeviceAPI.SetAudioReceiveDataCb(null, null);
     //注册视频接收回调
     DeviceAPI.SetVideoReceiveDataCb(null, null);
     //注册视频捕获回调
     DeviceAPI.SetVideoCaptureDataCb(null, null);
 }
        void SetVChatCallback()
        {
            //注册音频接收回调
            DeviceAPI.SetAudioReceiveDataCb(AudioDataReceiveCallBack, null);
            //注册视频接收回调
            DeviceAPI.SetVideoReceiveDataCb(VideoDataReceiveCallBack, null);
            //注册视频捕获回调
            DeviceAPI.SetVideoCaptureDataCb(VideoDataCaptureCallBack, null);

            _audiosetblacklistop = new NIMVChatOptHandler(AudioSetBlackListOP);
        }