How to use AVSampleBufferDisplayLayer in iOS 8 for RTP H264 Streams with GStreamer?

大憨熊 提交于 2019-11-27 17:54:48

Got it working now. The length of each NALU does not contain the length header itself. So i have do subtract 4 from my info.size before using it for my sourceBytes.

Instructed by your code,I write an program to decode and display a live H.264 stream using AVSampleBufferDisplayLayer.I use live555 rather GSStream to receive H.264 NAL units.

Unfortunately, my app only displays a few frames and then no image can be show any more.Has you app ever met with the same problem?

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!