WebRTC Samples > WebRTC Audio Publish & Play
The goal of this sample is to let you publish audio only WebRTC stream to Ant Media Server from your web browser and listen to it in a separate window by playing the audio stream from Ant Media Server.
- Allow access to your camera and microphone.
- Click “Start Publishing” button below.
- Click “Play with WebRTC” button that should automatically appear above to play the stream in a new tab.