黑莓减少音频播放器缓冲区
我正在实现音频流应用程序,它通过实现自定义数据源和 Sourcestream 手动处理流处理过程。
从我的所有测试中,我发现黑莓音频播放器有内部缓冲区,必须在开始播放之前填充该缓冲区。这会导致播放器开始前有大约 2 秒的延迟。
我想消除这种延迟并尽快开始播放(最大延迟 300 毫秒)。
有谁知道如何欺骗玩家或减少其内部缓冲区大小?
这个问题适用于黑莓操作系统版本> = 5.0
I am implementing audio streaming app which handles the streaming process manually by implementing custom Datasource and Sourcestream.
From all my tests I found that the blackberry audio player has internal buffer which has to be filled before it starts playing. This causes about 2 seconds delay before the player starts.
I want to eliminate that delay and start playing as soon as possible (~300ms delay max).
Does anyone know a way to trick the player or reduce its internal buffer size?
This question is for blackberry os version >= 5.0
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
事实证明,缓冲区大小无法消除。这个缓冲区是在 os 5 中期版本中引入的。在以前的版本中,您只有必须填充的初始缓冲区。
It turns out that the buffer size cannot be eliminated. This buffer is introduced somewhere in mid os 5 version. In previous versions you only have initial buffer you have to fill.