Network Stream video+audio FFmpeg

My Problem

I'm trying to stream my desktop screen with the audio from the default device to my other computer in the local network. The desktop stream is working well using Gdigrab, but the audio is not working. I've tried some things and I've looked through the FFmpeg documentation. Excuse me if I'm getting something wrong here, but I'm currently learning FFmpeg.

What I've tried so far:

ffmpeg -f gdigrab  -framerate 90 -video_size 1920x1080
-i desktop -vcodec libx264 -pix_fmt yuv420p -preset 
ultrafast -f mpegts udp://ip 
-acodec libmp3lame -ab 32k -ac 1 -re -f udp://ip

Is it possible to stream audio and video like this with FFmpeg?


Finally was able to solve my problem using the following command.

$ ffmpeg -f gdigrab -framerate 60 -video_size 1920x1080 -i desktop \
    -f dshow -i audio="virtual-audio-capturer" -vcodec libx264 \
   -preset ultrafast -tune zerolatency -pix_fmt yuv422p -f mpegts udp://ip

Works excellent!