Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
Chromecast 接收器的最大视频缓冲区大小是多少?我正在使用 MediaSource 滚动我自己的类似 HLS 的实现,并且需要缓冲区限制。
发现我浏览 Chromium 源代码的答案。
https://code.google.com/p/chromium/codesearch#chromium/src/media/filters/source_buffer_platform_lowmem.cc
在撰写本文时:
// 2MB: approximately 1 minute of 256Kbps content. // 30MB: approximately 1 minute of 4Mbps content. kSourceBufferAudioMemoryLimit = 2 * 1024 * 1024; kSourceBufferVideoMemoryLimit = 30 * 1024 * 1024;