omides248
omides248

Reputation: 178

How create raw of rtp audio?

I have one packet rtp, this packet have payload and payload is (PAYLOAD FILE): enter image description here

I get raw file for this payload with Audacity and result is (RAW FILE): enter image description here

How does convert fe to 00 00 80 39 ? I will do with python ? How arrange raw file for create stereo ?

I will create stereo wav file of rtp. My file is float 32.

Exp 2: Payload: enter image description here

RAW(Audacity): enter image description here

Upvotes: 0

Views: 595

Answers (1)

mail2subhajit
mail2subhajit

Reputation: 1150

RTP payload will have separate channel payload for each Audio channel ( Audio payload e.g. - LLLL...RRRR.. as per rfc specification.

Stereo Audio data is interleaved with - LR LR LR - data ( L- Left R - Right channel Audio data)

Write code that will convert the Mono byte array(payload) to stereo data.

you can chose any programming language of your choice.

Upvotes: 1

Related Questions