Building minimal P2P audio streaming application

Subscribe to RSS news feed

Voice chat is a peer-to-peer audio communication application.

Simple peer-to-peer audio chat sample

Voice Chat is a voice chat sample where TCP/IP network streaming components are used to send and receive audio and text. It includes server and client parts. Server part should be running on one machine while client part on another. Streaming is done in both directions using one connection. No configuration is required for the server. Client must know the IP address (or DNS name) of server machine. This demo uses GSM codec to save the network traffic, and you can choose the sampling rate.

This demo can also use silence detection mechanism to reduce the network traffic. In addition to voice, you can exchange with short text messages.

For more advanced audio streaming application, refer to Talk Now or Net Talk samples.


Precompiled binary of this sample is included in the Demos package.