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.
精彩评论