wahab mehboob
wahab mehboob

Reputation: 303

how to decode G711 audio packet C#

I am developing a voip type app in which i am capturing G711 packets from the network. Now i need to decode them and need to save it in .wav format and able to listen it. Any sample code or direction which can lead to solve this problem?

Thanks in advance.

Upvotes: 1

Views: 3749

Answers (1)

Erik Funkenbusch
Erik Funkenbusch

Reputation: 93434

g711 is just standard uLaw or aLaw codec, for which there is lots of examples out there.

For example, Mark Sweetgall has an implementation in C# available over on CodeProject.

Upvotes: 1

Related Questions