问题描述
我们目前正在尝试将Lync通信(Lync SDK 2010)整合到我们的应用程序中,我们遇到了
VideoWindows ( CaptureVideoWindow 的问题
AVModality 的 VideoChannel 的em>, RenderVideoWindow :他们总是
null ,即使在成功调用 BeginStart 之后也是如此。这种联系是明确的。我们可以谈。我们自己的视频显示在远程Lync客户端中。
AVModalityState 已连接。 VideoChannelState 从
连接到接收到发送。
我们何时以及如何尝试访问它们并不重要:直接在 BeginStart 之后,在 BeginStart 的
AsyncCallback 中,响应各种状态变化或响应外部触发(用户点击事件);在主/ UI线程或事件/回调线程中。两个视频窗口始终为空。
在示例应用程序中,"%PROGRAMFILES%\ Microsoft Lync \ SDK \Samples \ AudioVideoConversation",一切按预期工作:只要
BeginStart 完成,我们就可以访问非空视频窗口。在我们的小型独立原型项目中,它也有效。但是在我们的实际应用中,它没有。
我们已经对所有内容进行了双重检查,但我们确实已经完成了可能导致此问题的想法。
任何想法,任何提示?我们应该注意什么?
(链接到相应的Stack Overflow线程)
$
We are currently trying to incorporate Lync communication (Lync SDK 2010) into our application and we have run into an issue with theVideoWindows (CaptureVideoWindow, RenderVideoWindow) of theAVModality's VideoChannel: They are always null, even after successfully calling BeginStart. The connection is definitely established. We can talk. Our own video is shown in a remote Lync client.AVModalityState is Connected. VideoChannelState goes fromConnecting to Receive to Send.
It does not matter when and how we try to access them: Directly after BeginStart, in theAsyncCallback of BeginStart, in response to various state changes or in response to an external trigger (user click event); in the main/UI thread or in an event/callback thread. The two video windows are always null.
In the example application "%PROGRAMFILES%\Microsoft Lync\SDK\Samples\AudioVideoConversation", everything works as intended: As soon asBeginStart has finished, we can access the non-null video windows. In our little stand-alone prototype project, it works, too. But in our real application, it does not.
We have double checked everything and we have really run out of ideas of what might cause this problem.
Any ideas, any hints? Anything that we should be aware of?
(Link to corresponding Stack Overflow thread)这篇关于成功调用BeginStart后,AVModality.VideoChannel的VideoWindows为null(COMException HRESULT:0x80029C4A TYPE_E_CANTLOADLIBRARY)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!