如何在 Xamarin.forms 中播放 RTMP 服务器地址(共享) [英] How to play RTMP server address in Xamarin.forms (Shared)

查看:90
本文介绍了如何在 Xamarin.forms 中播放 RTMP 服务器地址(共享)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想在Xamarin.forms(共享)中播放RTMP服务器地址,因为我是初学者,对Xamarin.Forms(共享)了解不多.那么,有人可以帮忙吗?如何播放带有RTMP服务器地址的视频?

I want to play RTMP server address in Xamarin.forms (Shared), as I am a beginner and don't know much about the Xamarin.Forms(Shared). So, can anybody help in this? How to play a video with RTMP server address?

提前致谢.

推荐答案

你可以使用 LibVLCSharp 播放 RTMP 流
我自己使用,工作完美无瑕.我遇到了 ExoPlayer 绑定 xamarinXamarin 的媒体管理器

You could use LibVLCSharp to play RTMP stream
I am using by myself and works flawlessly easy. I had issues with ExoPlayer bindings for xamarin or MediaManager for xamarin

各种示例,其中还包括 xamarin.formshttps://code.videolan.org/mfkl/libvlcsharp-samples

Various Samples, which also includes xamarin.forms https://code.videolan.org/mfkl/libvlcsharp-samples

对于流媒体,您可以使用
https://github.com/rhedgpeth/Xamarin-Yasea

For streaming you could use
https://github.com/rhedgpeth/Xamarin-Yasea

这篇关于如何在 Xamarin.forms 中播放 RTMP 服务器地址(共享)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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