Windows Azure到Windows Phone媒体流 [英] Windows Azure to Windows Phone Media Streaming

查看:65
本文介绍了Windows Azure到Windows Phone媒体流的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好,我只是想检查一下。

Hi Guys, I just wanted to check something.

我已经设置了一个Azure SQL数据库,并通过Windows Azure存储上传了一个视频作为BLOB,它有一个发布URL。

I've set up an Azure SQL Database, and have uploaded a video through Windows Azure Storage as a BLOB, which has a publish URL.

我有一个Azure SQL数据库,其中包含一个名为"video"的表格。它有两列,"video_id"和"video_id"。列和"video_file_ref"列。

I have an Azure SQL database with a table called "video" that has two columns, a "video_id" column and a "video_file_ref" column.

在Windows Phone 8上是否有任何方法可以"解析""video_file_ref"的URL。通过SQL数据库在设备上显示的列?

Is there any way on Windows Phone 8 to 'Parse' the URL of the "video_file_ref" column to display on the device through the SQL Database?

基本上,我希望应用程序从"数据库"列获取流式传输的URL " video_file_ref"并将其绑定到我的XAML中的MediaElement,MediaElement绑定很重要,而不是在MediaElement Source中提供直接流
链接,因为这对我的应用程序结构至关重要。有关编码解决方案的任何指导吗?我对所有建议/想法等都持开放态度。它是否必须通过WCF / REST呼叫?如果是,我该如何处理? 

So essentially, I want the application to obtain the URL for streaming from the Database column "video_file_ref" and bind this to a MediaElement in my XAML, the MediaElement binding is important to have, as opposed to providing a direct streaming link in the MediaElement Source, as this is essential for my application structure. Any guidance on a coded solution to this? I'm open to any and all suggestions/ideas etc. Would it have to be through a WCF/REST call? If so, how do I proceed? 

为了进一步简化,我想  将URL存储到SQL数据库中的视频,并拥有客户端程序(Windows Phone 8)在这种情况下)
检索URL并在MediaElement标签中显示URL中的图像。

To simplify further, I want to store the URL to the video in SQL Database, and have the client program (Windows Phone 8 in this case) retrieve the URL and display the image from the URL in a MediaElement tag.

帮助可视化的图片:

推荐答案

那究竟是什么问题?

So what exactly is the question?

你只是想知道如何绑定什么东西到XAML的属性?

Do you simply want to know how to bind something to a property in XAML?


这篇关于Windows Azure到Windows Phone媒体流的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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