Windows媒体服务器事件通知插件无法正常工作 [英] Windows media server Event notification plug-in not working

查看:55
本文介绍了Windows媒体服务器事件通知插件无法正常工作的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在Windows 2003服务器系统上使用的是Windows Media服务器,版本:9.0。我已经配置了媒体服务器,我可以轻松地在内联网上的其他客户端系统上传输内容。我还创建了一个Event Notification插件,它在注册表中注册,媒体服务器也可以从注册表中获取插件。我可以在Windows Media Server中启用/禁用我的这个插件。但问题是,我在我的插件的OnEvent()方法中处理了事件WMS_EVENT_TYPE.WMS_EVENT_CONNECT。我的插件还有一个名为GetHandledEvents()的方法,它注册WMS_EVENT_CONNECT。在OnEvent()中,我在事件的情况下放置了一个消息框,WMS_EVENT_TYPE.WMS_EVENT_CONNECT发生在服务器上。问题是消息框永远不会出现。我也禁用了服务器上的所有授权插件。我不确定是否会调用此OnEvent()。我已经尝试了很多工作,但我做不到。请帮帮我....





解决方案



我不确定你所面临的行为。你可能需要通过以下链接:


使用C#创建插件



希望这有帮助。



Thanks


阿沙


I am using a Windows Media server, ver : 9.0 on my windows 2003 server system. I've configured the Media server and I can easily stream the content on other client systems on my intranet. I've also created an Event Notification plugin which gets registered in the registry as well as the media server can fetch the plug-in from the registry. I can enable/disable this plug-in of mine in the Windows Media Server. But the problem is that, I've handled the event WMS_EVENT_TYPE.WMS_EVENT_CONNECT in the OnEvent() method of my plug-in. My plug-in also has a method called GetHandledEvents(), which registers the WMS_EVENT_CONNECT. In the OnEvent(), I've put a message box in the case of the event ,WMS_EVENT_TYPE.WMS_EVENT_CONNECT, takes place on the server. The problem is the message box never appears. I've disabled all the authorization plug-in on the server as well. I am not sure whether this OnEvent() gets called or not. I've tried a lot to make it work but I couldn't. Please help me....

 

 

 

解决方案

Hi,

 

I am not sure about the behaviour you are facing .You may have to go through the below link :

Using C# to Create a Plug-in

 

Hope this helps.

 

Thanks

Asha


这篇关于Windows媒体服务器事件通知插件无法正常工作的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆