public void onUserSubStreamAvailable(string userId, bool available)
        {
            Log.I($"onUserSubStreamAvailable userId:{userId} available:{available}");
            if (userId == "source")
            {
                this.Dispatcher.BeginInvoke(new Action(() => {
                    if (available)
                    {
                        // 远端辅流自定义渲染 View 动态绑定和监听 SDK 渲染回调
                        trtcCloud.startRemoteSubStreamView(userId, IntPtr.Zero);

                        TXLiteAVVideoView videoView = RenderMapView;
                        videoView.RegEngine(userId, TRTCVideoStreamType.TRTCVideoStreamTypeSub, trtcCloud, false);
                        videoView.SetRenderMode(TRTCVideoFillMode.TRTCVideoFillMode_Fit);
                        videoView.Margin   = new Thickness(0);
                        Loading.Visibility = Visibility.Hidden;
                        IsHaveStream       = true;

                        if (keyboardListener == null)
                        {
                            keyboardListener = new KeyboardListener();
                        }
                        keyboardListener.KeyEvent       += KeyboardListener_KeyEvent;
                        keyboardListener.IsBlockKeyboard = true;

                        var o = new JObject
                        {
                            ["cmd"] = "GetScreenCount"
                        };
                        var data = Encoding.UTF8.GetBytes(o.ToString());
                        trtcCloud?.sendCustomCmdMsg(3, data, (uint)data.Length, true, true);
                    }
                    else
                    {
                        // 远端辅流自定义渲染 View 移除绑定
                        trtcCloud.stopRemoteSubStreamView(userId);
                        Loading.Content    = "远程已断开";
                        Loading.Visibility = Visibility.Visible;
                        IsHaveStream       = false;

                        if (keyboardListener != null)
                        {
                            keyboardListener.KeyEvent       -= KeyboardListener_KeyEvent;
                            keyboardListener.IsBlockKeyboard = false;
                            keyboardListener.Dispose();
                            keyboardListener = null;
                        }
                    }
                }));
            }
        }