SIP/SDP中的H.264 SPS/PPS语法 [英] Syntax of H.264 SPS/PPS in SIP/SDP offer

查看:339
本文介绍了SIP/SDP中的H.264 SPS/PPS语法的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

根据RFC 6184:

According to RFC 6184:

H.264的附件B定义了一种封装过程来传输 面向字节流的网络上的NALU.在此范围内 备忘录,附件B不相关.

Annex B of H.264 defines an encapsulation process to transmit such NALUs over bytestream-oriented networks. In the scope of this memo, Annex B is not relevant.

我看到了很多这样的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语法的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆