如何在Android上解码和播放MPEG-TS流(188字节TS包)
我正在制作类似于基于Android的DVB广播电视机的应用程序。我可以收到的数据是一系列MPEG-TS数据包,每个数据包可能为188个字节或204个字节。这不是HLS,也没有携带M3U8文件。我可以问一下如何在Android上解码这些MPEG-TS输入流并播放它们?
收到的数据包是一个符合MPEG-TS封装标准的数据包,类似 在此处输入图像描述
I am making an application similar to DVB broadcast TV player based on Android. The data I can receive is a series of MPEG-TS packets, each packet may be 188 bytes or 204 bytes. This is not HLS and does not carry There are m3u8 files. May I ask how can I decode these MPEG-TS input streams on Android and play them?
The received data packet is a data packet that conforms to the MPEG-TS encapsulation standard, similar to this
enter image description here
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论