Why does the chromecast client declare its height and width as 720p to the receiver app?

前端 未结 3 1360
天命终不由人
天命终不由人 2021-02-15 12:28

Why does the chromecast declare its client height and width to be 720p to the receiver app server?

I am trying to display non-video content and assumed I would be able t

3条回答
  •  遇见更好的自我
    2021-02-15 13:31

    It's possible this has changed at some point, but despite the pixel size being reported as 1280x720, it is actually rendering at the full resolution. Just like smartphone viewport scaling, except that I don't see a way to disable it.

    So, even though it says 1280x720, trust that it is rendering at a higher resolution!

    I have uploaded a test image on this question: Getting actual width of Chromecast receiver UI

自定义标题
段落格式
字体
字号
代码语言
提交回复
热议问题