简体   繁体   中英

Retrieving audio codec use in soft phone in C#

I'm creating a program that would would determine what audio codec is being used. I used X-lite for my soft phone. any Idea?? or should I use open source soft phone?

Rather than trying to integrate directly with the xlite softphone your best bet would be to use a packet capture tool and extract the codec from an RTP packet. Specifically the RTP header Payload Type field will indicate the codec in use.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM