Is there any way to change the quality of the video?(有什么办法可以改变视频的质量吗?)
问题描述
我正在查看 android youtube API 文档和示例应用程序.我找不到任何描述加载视频和设置其质量(低或高)的 API.
I am looking at the android youtube API docs and the sample applications. I cannot find any API that describes loading a video and setting its quality (to low or high).
有没有办法改变视频的质量?
Is there a way to change the quality of a video?
Android-youtube-接口
推荐答案
据我了解,Youtube 实施了一项政策,根据您的带宽和可能的屏幕尺寸来控制质量.在现已弃用的较旧的基于 Web 的 API 中,它可能会列出质量编码并直接流式传输所需的版本.但这不再是一种选择.
To my understanding Youtube implemented a policy to control quality based on your bandwidth and possibly screen size. In the now deprecated older web based API it was possibly to list quality encodings and stream the desired version directly. But this is no longer an option.
这篇关于有什么办法可以改变视频的质量吗?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持编程学习网!
本文标题为:有什么办法可以改变视频的质量吗?


基础教程推荐
- 固定小数的Android Money Input 2022-01-01
- “让"到底是怎么回事?关键字在 Swift 中的作用? 2022-01-01
- Android ViewPager:在 ViewPager 中更新屏幕外但缓存的片段 2022-01-01
- 在 iOS 上默认是 char 签名还是 unsigned? 2022-01-01
- Android文本颜色不会改变颜色 2022-01-01
- LocationClient 与 LocationManager 2022-01-01
- 使用 Ryzen 处理器同时运行 WSL2 和 Android Studio 2022-01-01
- 如何使用 YouTube API V3? 2022-01-01
- 如何使 UINavigationBar 背景透明? 2022-01-01
- :hover 状态不会在 iOS 上结束 2022-01-01