如何从mediastream设置MediarElement源集 [英] How to set MediarElement Source Set From mediastream

查看:121
本文介绍了如何从mediastream设置MediarElement源集的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我使用MediaElement工具而不是MediaPlayerElement,因为版本。

I am using MediaElement tool instead of MediaPlayerElement because of the version.

但下面的代码显示错误

mediaElement。 Source = MediaSource.CreateFromMediaStreamSource(mediaStreamSource);

mediaElement.Source = MediaSource.CreateFromMediaStreamSource(mediaStreamSource);

这里是链接

https://docs.microsoft.com/en-us/windows/uwp/audio-video-camera/media-compositions-and-editing

https://docs.microsoft.com/en-us/windows/uwp/audio-video-camera/media-compositions-and-editing

推荐答案

随着只有你是什么 已经表明很难说出你的问题可能是什么。 首先你知道错误,但我们没有。

With only what you  have shown it is hard to say what your problem might be.  First off you know the error but we don't.





这篇关于如何从mediastream设置MediarElement源集的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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