【问题标题】:media format over SIP?SIP 上的媒体格式?
【发布时间】:2013-03-15 07:15:10
【问题描述】:

我是新手,需要您的帮助。我有一个如下所示的 SIP 标头,这对我来说很奇怪@@ 请告诉我这是哪种媒体及其属性。谢谢你。 (对不起,因为我英语不好:()

b=AS:512
t=0 0
m=audio 49198 RTP/AVP 115 102 9 15 0 8 s18 106 99 101
a=rtpmap:115 G7221/32000
a=fmtp:115 bitratg=48000
a=rtpmap:102 G7221/16000
a=fmtp:102 bitrate=32000
a=rtpmap:9 G722/8000
a=rtpmap:15 G728/8000
a=rtpmap:0 PCMU/8000
a=rtpmap:8 PCMA/8000
a=rtpmap:18 G729/8000
a=fmtp:18 annexb=no
a=rtpmap:106 SIREN22/48000
a=fmtp:106 bitrate=64000
a=rtpmap:99 SIREN14/16000
a=fmtp:99 bitrate=48000
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-15
a=sendrecv
m=video 49200 RTP/AVP 109 110 111 96 34 31
b=TIAS:512000
a=content:main
a=label:1
a=rtpmap:109 H264/90000
a=fmtp:10= profile-level-id=42801f; max-mbps=108000; max-fs=3600; sar=13
a=rtpmap:110 H264/90000
a=fmtp:110 profile-level-id=42801f; packetization-mode=1; max-mbps=108000; max-fs=3600; sar=13
a=rtpmap:111 H264/90000
a=fmtp:111 profile-level-id=64001f; packetization-mode=1; max-mbps=108000; max-fs=3600; sar=13
a=rtpmap:96 H263-1998/90000
a=fmtp:96 CIF=1;QCIF=1;SQCIF=1;J;T
a=rtpmap:34 H263/90000
a=fmtp:34 CIF=1;QCIF=1;SQCIF=1
a=rtpmap:31 H261/90000
a=fmtp:31 CIF=1;QCIF=1
a=sendrecv
VideoMode:9

【问题讨论】:

  • 这有什么奇怪的?

标签: sip rtp


【解决方案1】:

看看https://www.rfc-editor.org/rfc/rfc4566 - 它描述了每个领域。从定义可用编解码器列表的m=... 行开始。然后检查每个人的a=...,找出它是什么编解码器(a=rtpmap:)以及它使用的参数(a=fmp:)。

【讨论】:

【解决方案2】:

SDP 格式错误,因为

m=audio 49198 RTP/AVP 115 102 9 15 0 8 s18 106 99 101
                                       ^^^ - this isn't a number

虽然m= 行中的格式仅定义为标记,因为它使用RTP/AVP 配置文件,这些MUST be payload type numbers

【讨论】:

  • 只要去掉 s 就可以很好地与 "a" 定义对齐。
  • 我不明白你的意思。
猜你喜欢
  • 1970-01-01
  • 1970-01-01
  • 2015-06-17
  • 2011-02-25
  • 1970-01-01
  • 2015-01-15
  • 1970-01-01
  • 2013-02-12
  • 2010-10-14
相关资源
最近更新 更多