SDP media field format

Posted by TacB0sS on Stack Overflow See other posts from Stack Overflow or by TacB0sS
Published on 2010-05-28T15:29:44Z Indexed on 2010/05/28 16:11 UTC
Read the original article Hit count: 321

Filed under:
|
|
|
|

Hey,

I would like to create a SDP media field with its attributes, and there are a few things I don't understand. I've skimmed and read the relevant RFC and I understand most of what each field means, but what I don't understand is how do I derive from the Audio/Video Format of the JMF, which parameters of the format compose the rtpmap registry entries I need to use. I see many times the fields

m=audio 12548 RTP/AVP 0 8 101
a=rtpmap:0 PCMU/8000
a=rtpmap:8 PCMA/8000
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-16
a=silenceSupp:off - - - -
a=ptime:20
a=sendrecv

these are received from the pbx server I'm connecting to, what do they mean in the terms of the JMF audio format properties. (I do understand these are standard audio format commonly used in telecommunication)

UPDATE:

I was more wondering about the format parameter '0 8 101' at the end of

m=audio 12548 RTP/AVP 0 8 101

Thanks in advance,

Adam Zehavi.

© Stack Overflow or respective owner

Related posts about media

Related posts about sip