0

我使用 vidyo.IO 使用以下代码进行通信

    ConnectorPKG.Initialize(); 
var  _connector = new Connector(Handle, Connector.ConnectorViewStyle.ConnectorviewstyleDefault, 8, "all@VidyoClient", "VidyoClient.log", 0);
// This should be called on each window resizing.
_connector.ShowViewAt(Handle, 0, 0, Weidth, Height);
// Registering to events we want to handle.
_connector.RegisterLocalCameraEventListener(new LocalCameraListener(this));
_connector.RegisterLocalWindowShareEventListener(new LocalWindowShareListener(this));
_connector.RegisterLocalMicrophoneEventListener(new LocalMicropfoneListener(this));
_connector.RegisterLocalSpeakerEventListener(new LocalSpeakerListener(this));
_connector.RegisterParticipantEventListener(new ParticipantListener(this));
_connector.RegisterLocalMonitorEventListener(new LocalMonitorListener(this));
_connector.RegisterMessageEventListener(new ChatListener(this));
 _connector.DisableDebug();

然后加入房间后,我使用这样的代码共享窗口

var winToShare = LocalWindows.FirstOrDefault( );
                if (winToShare != null)
                { 
                    winToShare.IsSelected = true;
                    //SetSelectedLocalWindow(winToShare);
                    SharingInProgress = _connector.SelectLocalWindowShare(winToShare.Object);                      
                }

和显示器一样,​​现在我总是收到这个错误

can't share overconstrained frame interval 
4

1 回答 1

0

你在开发什么平台?似乎您可能正在使用 Xamarin 构建移动应用程序,如果是这种情况,您将无法进行窗口/应用程序共享。该功能仅在桌面和 Web 客户端上可用。

于 2018-02-12T16:13:32.630 回答