Saving audio while streaming video using ffmpeg
Firstly, you should stream webcam and mic through the udp multicast address i.e. 224.1.1.1:10001.
Secondly, you execute ffmpeg -i udp://224.1.1.1:10001 out.mp3 or more options of the FFMPEG audio to do the audio extraction on another command prompt.