最新消息:雨落星辰是一个专注网站SEO优化、网站SEO诊断、搜索引擎研究、网络营销推广、网站策划运营及站长类的自媒体原创博客

android - Does Media3 support playing video from a byte array? - Stack Overflow

programmeradmin2浏览0评论

I'm developing an app that uses the SMB protocol to remotely view images and videos. Since I'm using Jetpack for UI development, I prefer using Media3 for video playback.

When reading video files via SMB, I cannot load an entire file into memory at once. Therefore, I plan to load the video in segments into a byte array and have Media3 play it. Is this approach feasible? Does Media3 provide support for streaming or playing video data directly from a byte array (or a custom buffer)? If so, could you point me to relevant documentation or examples? If not, what would be the recommended way to handle large remote video files efficiently with Media3?

发布评论

评论列表(0)

  1. 暂无评论