从播放设备视频到电视上网卡 [英] Playing video from device to TV on LAN

查看:162
本文介绍了从播放设备视频到电视上网卡的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

不知这种技术的名称,用户可以从设备播放视频到电视。它的问世在Android YouTube应用,见下图。我想我的应用程序添加相同的功能,不知从哪里我应该开始?的

I don't know the name of this technology, the user can play videos from device to TV. It's available on the android Youtube app, see the image below. I want to add the same functionality in my app, I don't know from where I should start on this?

推荐答案

嗯,你已经是盘旋在操作栏中的图标。而将其重新presents铸造从应用到电视机一些内容,还有任何数量的方式是铸造,可以通过一个应用程序来实现。没有单一的技术绑定到该图标。

Um, what you have circled is an icon in an action bar. While it represents "casting" some content from an app to a TV, there are any number of ways that "casting" can be implemented by an app. There is no single "technology" tied to that icon.

它可以是:


  • 使用 RemotePlaybackClient ,告诉另一设备(例如,Chromecast的)某些媒体播放,或

  • Using RemotePlaybackClient, to tell another device (e.g., a Chromecast) some media to play back, or

使用谷歌演员SDK,专有一组只有通过Chromecast和Android电视工作的API,或

Using the Google Cast SDK, a proprietary set of APIs that work only with Chromecast and Android TV, or

使用它自己的专有协议来告诉另一个设备有些媒体播放

Using some proprietary protocol of its own to tell another device some media to play back

忽略的图标,你也可以使用 presentation 从你有一个手机或平板电脑上显示的东西在电视上一个单独的用户界面。 presentation 需要某种建立的连接到外部显示器,是有线(HDMI,MHL,SlimPort等)或无线(Miracast的,WiDi技术等。 )。通常情况下,有在这种情况下,操作栏没有投图标,应用程序可以自动检测到它连接到外部显示器并使用它(例如,播放视频就可以了)。

Ignoring the icon, you can also use Presentation to display a separate UI on a TV from what you have on a phone or tablet. Presentation requires some sort of established connection to the external display, be that wired (HDMI, MHL, SlimPort, etc.) or wireless (Miracast, WiDi, etc.). Usually, there is no "cast" icon in an action bar for this case, as the app can automatically detect that it is connected to an external display and make use of it (e.g., play the video on it).

,当然,也有直接连接到电视的Andr​​oid供电设备(消防电视,消防电视棒,电视的Andr​​oid,各种HDMI坚持可在eBay上/阿里巴巴/别处,等)。你不会在这​​些行动的酒吧中投的图标,因为你已经在电视上显示您的用户界面。

And, of course, there are Android-powered devices that connect directly to a TV (Fire TV, Fire TV Stick, Android TV, various "HDMI sticks" available on eBay/Alibaba/elsewhere, etc.). You would not have a "cast" icon in an action bar on those, as you already are displaying your UI on a TV.

下面是从我发表最后半天的研讨会 幻灯片今年让你的应用程序,以显示在电视上内容的各种选项。

Here are slides from a half-day workshop that I delivered last year on the various options for getting your app to display content on a TV.

这篇关于从播放设备视频到电视上网卡的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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