2

I'm currently recording audio with 8000 samples per second, 8 bits per sample, and one channel and sending them to another machine using RTP.

Would I create a two-channel buffer consisting of u-law audio before sending an RTP packet? Something like this:

[uLawLeftEarSample0][uLawRightEarSample0][uLawLeftEarSample1][uLawRightEarSample1][uLawLeftEarSample2][uLawRightEarSample2]...[uLawLeftEarSample8000][uLawRightEarSample8000]

Would something like this be RFC-compliant?

1 Answer 1

0

When testing my code with VLC as the player, the "two-channel" u-law rtp payload would be read as if it was mono. It looks like I'll have to use a profile that supports two-channels such as MP3 or WAV. More here.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.