如何在我的Asp.Net站点上为网页使用流媒体服务 [英] How Do I Use Streaming Media Service For A Web Page On My Asp.Net Site

查看:198
本文介绍了如何在我的Asp.Net站点上为网页使用流媒体服务的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个ASP.NET网站,其页面上有一个媒体播放器,可以从服务器上的文件夹中播放视频文件。它下载整个视频然后开始播放。



我想在下载时使用流媒体服务播放此视频。



为此我从Microsoft站点下载了Windows6.1-KB963697-x64.msu,并将其安装在我的Windows Server 2008 R2(x-64)上。它安装成功。然后我使用服务器管理器将流媒体服务添加到角色。它也已在服务器上成功添加。



当我想在此流媒体服务上发布我的网站时出现问题,即在我的包含视频的网页上添加发布点文件。我选择在发布向导上发布动态网页,并在发布向导(http://www.example.com/Pagename.aspx)上的示例中给出我的媒体网页。这会导致服务器与服务不兼容的错误。服务器权限声称服务器没有任何问题,因为我没有使用正确的流程来使用流媒体服务。他们还确认,直到将流媒体服务安装到角色之前的所有步骤都可以。



我需要帮助才能在已安装的流媒体服务上发布网页。



请指导如何使发布向导成功。



非常感谢你的支持help

解决方案

尝试使用Wcf(Rest)服务,它提供流数据作为输出,并尝试从客户端异步调用它。我认为这将工作...

I have an ASP.NET website with a media player on its page to play a video file from a folder on the server. It downloads the entire video and then starts playing.

I want to use Streaming media service to play this video as it downloads.

For this I have downloaded Windows6.1-KB963697-x64.msu from the Microsoft site and installed it on my Windows server 2008 R2 (x-64). It was installed successfully. Then I used the Server Manager to add the Streaming Media Service to Roles. It has also been added successfully on the server.

Problem comes when I want to publish my site on this Streaming media service i.e. add a publish point with my webpage containing video file. I select the publishing of dynamic web page on the publishing wizard and write the of my web page for the media as give in the example on the publishing wizard (http://www.example.com/Pagename.aspx). This gives an error that server is not compatible with the services. The server authorities have claimed that there is nothing wrong with the server and the error comes because I have not used the correct procedure for using Streaming media service. They also confirm that all my steps till installation of Streaming Media Service to Role is OK.

I need help to publish the web page on the already installed Streaming media service.

Please help me by guiding how to make the publishing wizard a success.

Many thanks for your help

解决方案

try using Wcf(Rest) service which gives you stream data as output and try calling it asynchronously from client.I think this will work...


这篇关于如何在我的Asp.Net站点上为网页使用流媒体服务的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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