Thanks

I have read the various docs and specs. I have even treid to
depacktezi the content as per RFC 3267 but I am not sure what I a
missing here.

I have the Payload as the following bytes, So we can see we dont have
F0, BC or 3C bytes and these bytes are after i remove the RTP header
bytes of 12 bytes.

F3F91B5CE5311C0018217B4BC8C45191 600016B7684299FE00014B36E4392954
F3D099E1E2FA18C1480D2A328A8F214103E0E190326F03FF7C9E00175FA02120
F3F8399AA2FBC500680D49EE1B19C683023FC0ADB4CE87ADF911105F6D362D18
F3CA16C8EB83FE0C20122C23F259426F2FC0168EFF56DAA13205A4EFFD6CAD1C

We can see if the above bytes are interpreted then the CMR is 15--> No
Mode Request;
F bit is zero, so its the last frame; FT bits are 0111, so its 12.2
kbps data and left is the speech data.

Now, I am not sure how i can convert this content into the AMR file as
just by adding the AMR header bytes 2321414D520A, is not making this
content playable.
Can you help me out where is the missing thing or How i need ot modify
this data to run this content as a playable file.

Regards
Nitin

On Feb 14, 9:59 am, Sumedh Jiwane <sumed...@gmail.com> wrote:
> RTP describes different payload format for different codecs. You can study
> the RTP payload format for AMR codec and retrieve the data. You can use
> available RTP de-packetizer if you are using any multimedia framework.
>
> Regards,
> Sumedh
>
>
>
>
>
>
>
> On Mon, Feb 13, 2012 at 8:34 PM, NITIN <nitinkumgo...@gmail.com> wrote:
> > Hi
>
> > I ave captured a pcap form my android device on Wireshark. Now, I have
> > the RTP payload having the AMR content.
>
> > I have extracted the raw RTP packets and now I want to convert that
> > raw data into the AMR file which can be played on any player.
>
> > Just by adding the Header and magic number is not enough to do that.
>
> > Do anybody have idea what is the procedure to do it or is there any
> > library or tool which is capable of doing it.
>
> > Thanks
> > Nitin
>
> > --
> > You received this message because you are subscribed to the Google
> > Groups "Android Developers" group.
> > To post to this group, send email to android-developers@googlegroups.com
> > To unsubscribe from this group, send email to
> > android-developers+unsubscr...@googlegroups.com
> > For more options, visit this group at
> >http://groups.google.com/group/android-developers?hl=en

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to