chromecast客户端为什么向接收器应用程序声明其高度和宽度为720p? [英] Why does the chromecast client declare its height and width as 720p to the receiver app?

查看:76
本文介绍了chromecast客户端为什么向接收器应用程序声明其高度和宽度为720p?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

为什么chromecast向接收方应用服务器声明其客户端高度和宽度为720p?

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

我尝试显示非视频内容,并假设我会能够使用完整的1080p分辨率。该设备向电视报告它的分辨率为1080p 60hz,但是如果您查看设备上的开发人员工具,则它只会将我的接收器应用显示为1280x720。

I am trying to display non-video content and assumed I would be able to use the full 1080p resolution. The device reports to the TV that it is in 1080p 60hz but if you look at the on device developer tools it is only displaying my receiver app as 1280x720.

强制页面以全分辨率呈现的方法?

Is there a way to force the page to render at full resolution?

推荐答案

Chromecast设备的图形窗口大小与视频窗口的大小不同-图形窗口使用1280x720分辨率的表面。 window.height和window.width属性将分别报告720和1280。但是,Chromecast能够以1080p分辨率(即1920x1080)显示视频。因此,应用程序不应使用屏幕大小来选择视频内容分辨率。

Chromecast devices have a different Graphics Window size than it's Video window - The Graphics window uses a 1280x720 resolution surface. The window.height and window.width properties are going to report 720 and 1280 respectively. However, Chromecast is capable of displaying video at up to 1080p resolution i.e. 1920x1080. Therefore applications should not use the screen size to select video content resolution.

这篇关于chromecast客户端为什么向接收器应用程序声明其高度和宽度为720p?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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