xamarin tvos live broadcast

可紊 提交于 2019-12-25 12:40:24

问题


I try to play live broadcast video on xamarin.tvos app, but not found the any solution(i see all live streaming solutions).

How to play live broadcast video(ex. rtmp) on xamarin.tvos app?

thnx all.


回答1:


Apple does not natively support RTMP (Real Time Messaging Protocol) in their OSs (iOS, tvOS, macOS). HTTP Live Streaming (HLS) is natively supported (RFC8216).

There are a number of 3rd-party RTMP libraries (OSS, dual license and commercial/proprietary) that will work on the various Apple OSs.

A Few Examples:

  • SGPlayer (LGPL as it uses FFMPEG)
  • VideoKit (Dual license / GPL and Commercial)
  • VLC (GPL)
  • SmarterStreaming (Dual license)
  • etc...

There are many more libraries with all the core transcoding done in C/C++/ObjC (some have Swift framework wrappers) so you can consume them via a Xamarin.iOS binding library. Google/Bing is your friend...



来源:https://stackoverflow.com/questions/47595602/xamarin-tvos-live-broadcast

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!