aMSN Forums
June 19, 2013, 01:05:18 pm *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
News: New forum for aMSN !!
 
   Home   Help Search Login Register  
Pages: [1]
  Print  
Author Topic: how to decode RTP payload MSN audio conversation?  (Read 5396 times)
denemeler
Newbie

Offline Offline

Posts: 6


View Profile
« on: December 16, 2008, 07:59:44 am »

Hi

I have some rtp packet. I want to decode rtp payload. I know farsight doing that but there is no sip packet only rtp.
Can I do that with farsight even if there is no sip packet?
if I can do, How can I do with farsight?
I want to appreciate if you give some tips.

thanks
Logged
kakaroto
Administrator
Super Power User
*****
Offline Offline

Posts: 9428


View Profile WWW
« Reply #1 on: December 16, 2008, 02:02:47 pm »

hi..
well, this is an amsn forum, not a SIP/RTP forum, I suggest you read the RFCs about RTP to see how you can depayload it....
in short, it will depend on the packet, you read the RTP header, then depending on the payload type, you would know which codec is contained in it, and each codec would have its own depayloader, and the depayloader would read an extra header if it exists (depends on the codec) with varying length (depends on the codec), then would read the payload.
SIP is useful here because it gives you a mapping between payload types (dynamic) and the codecs they represent.. without SIP, you only have a number (payload type) and have no way of knowing which codec it refers to, so you have no way of knowing how to depayload it...
each codec has an RFC describing how to payload/depayload it.. use google!
Logged

KaKaRoTo
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.11 | SMF © 2006-2009, Simple Machines LLC Valid XHTML 1.0! Valid CSS!