Screen mirrorring using chrome cast example code or tutorial [closed]

依然范特西╮ 提交于 2020-01-01 19:31:09

问题


I am looking to build a sample app that has the capability to just cast my android screen on to the TV screen. Most of the sample applications(including googles official sample cast applications) I see have the capability to cast audio and video as well. I know their is google's chromecast app which does the same(screen mirroring), but I need to integrate same functionality in my app. So any kind of code example or tutorial that point me in the direction of screen mirroring using cast SDK will be much appreciated.


回答1:


You cannot programmatically initiate mirroring your phone screen outside of your app; you can only use the Remote Display APIs to mirror a view from within your own app; read about the Remote Display apis.



来源:https://stackoverflow.com/questions/41499247/screen-mirrorring-using-chrome-cast-example-code-or-tutorial

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