how to get audio frames from RTP payload

Just have a drink and chat
vashek
New Cone
New Cone
Posts: 1
Joined: 13 Jun 2007 07:02

how to get audio frames from RTP payload

Postby vashek » 21 Jun 2007 16:17

Hi,

We are developing a stream player(client) in BREW(wireless application platform). We are using RTSP/RTP/UDP to get RTP packets from server. After executing "PLAY" RTSP command we are continuously getting RTP packets from specified UDP port.

following are the one of the RTP packet header info
version - 2
padding bit on - 0
extension - 0
cc - 0
marker bit - 1
pay load type - 96 (i.e information is dynamic)
seqNumber - 19765
dateStamp - 1851292439
SSRC - 117749842


After executing DESCRIBE command we are getting following SDP output
v=0
o=- 1 3509544167 IN IP4 127.0.0.0
s=QuickTime
c=IN IP4 0.0.0.0
t=0 0
a=range:npt=now-
a=control:*
m=audio 0 RTP/AVP 96
a=rtpmap:96 MP4A-LATM/16000/1
a=fmtp:96 profile-level-id=15;object=2;cpresent=0;config=400028103FC0
b=AS:16
a=control:trackID=1

after stripping RTP header what's next? In RFC 3016 they mentioned that each RTP payload may contain one or more audio frames, How can we parse RTP payload to get info like No. of audio frames present in payload, size of the each frame etc... I have searched the web but i could not able to find the RTP payload structure.

Regards
keshav

Return to “Coffee Corner”

Who is online

Users browsing this forum: No registered users and 35 guests