本文介绍了SIP/SDP中的H.264 SPS/PPS语法的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
根据RFC 6184:
According to RFC 6184:
我看到了很多这样的SPS/PPS的examplex,包括RFC6236
I see a lot of examplex, including in RFC6236, of SPS/PPS like this
a=fmtp:99 packetization-mode=0;profile-level-id=42e011; \
sprop-parameter-sets=Z0LgC5ZUCg/I,aM4BrFSAa
但是,根据H.264,附件B,不应使用逗号,并且必须在SPS和PPS的开头都添加一个序言(然后将SPS/PPS转换为基数64).
However, according to H.264, Annex B, there should be no comma, and a preamble must be added to the beginning of both SPS and PPS (and after that SPS/PPS is converted to base 64).
所以我不知道该怎么做.
So I don't understand what is the right thing to do.
推荐答案
逗号应该在这里.前缀仅适用于MPEG-2.
comma should be there. prefix is for MPEG-2 only.
这篇关于SIP/SDP中的H.264 SPS/PPS语法的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!