[{"data":1,"prerenderedAt":154},["ShallowReactive",2],{"post-broadcasting-audio-over-a-local-area-network-lan":3},{"id":4,"title":5,"author":6,"slug":7,"thumbnail":8,"tabTitle":9,"postDescription":10,"previewText":11,"postType":12,"isLive":13,"hidden":14,"content":15,"updatedDate":153,"createdDate":11},"Pp23aZdwtQNKv2RDUQLv","Broadcasting audio over a Local Area Network (LAN)","Steve Harrington","broadcasting-audio-over-a-local-area-network-lan","https://igeddit.ca/img/vlc-broadcast-social.webp","Streaming audio (LAN)","Ever had the need to stream audio over a LAN? Here's how you do it using VLC.","","post",true,false,{"content":16,"type":152},[17,20,28,33,45,50,57,62,67,70,75,78,83,88,91,96,99,104,109,112,131,136,139,144,147],{"attrs":18,"type":19},{"src":8},"image",{"attrs":21,"content":23,"type":27},{"textAlign":22},"left",[24],{"type":25,"text":26},"text","I had to do this for a recent client of mine, and if it's something you need to do too, this guide will save you a lot of time...and it's free.","paragraph",{"content":29,"type":27,"attrs":32},[30],{"text":31,"type":25},"Here's what we're trying to achieve: a speaker speaks on his computer, and everyone who subscribes to the speaker's channel AND is on the local area network, will hear the speaker's audio. An important point here is that all the computers have to be on the same network.",{"textAlign":22},{"attrs":34,"content":35,"type":27},{"textAlign":22},[36,38],{"type":25,"text":37},"If you don't already own VLC, download it: ",{"text":39,"marks":40,"type":25},"https://www.videolan.org/",[41],{"attrs":42,"type":44},{"href":39,"target":43},"_blank","link",{"type":27,"content":46,"attrs":49},[47],{"text":48,"type":25},"You will need VLC on both the broadcasting computer and the listening computer. Let's start!",{"textAlign":22},{"type":51,"content":52,"attrs":55},"heading",[53],{"text":54,"type":25},"Setting up the audio broadcast computer",{"level":56,"textAlign":22},3,{"content":58,"type":27,"attrs":61},[59],{"type":25,"text":60},"The following are directions to set up a microphone on a source computer to broadcast to all listening computers over the network.",{"textAlign":22},{"attrs":63,"type":27,"content":64},{"textAlign":22},[65],{"type":25,"text":66},"In VLC, navigate to File > Open Capture Device",{"attrs":68,"type":19},{"src":69},"https://igeddit.ca/img/vlc-open-capture-device.png",{"attrs":71,"content":72,"type":27},{"textAlign":22},[73],{"text":74,"type":25},"In the \"Open Source\" panel, choose \"Capture\" > Input Devices. Ensure Video is unchecked and Audio is checked. Select \"Stream output\". Select your input device for your microphone, in my case I have a \"Scarlett 8i6 USB\". Once you're done with these settings, select \"Settings\".",{"type":19,"attrs":76},{"src":77},"https://igeddit.ca/img/vlc-stream-audio.png",{"type":27,"content":79,"attrs":82},[80],{"type":25,"text":81},"Check \"Stream\". The \"Type\" should be \"HTTP\".  The \"Address\" is the IP of the broadcasting computer. On Windows you can get the IP from the command line by typing \"ipconfig\" on a Mac it's \"ifconfig\". In my case it was \"192.168.2.10\" but I can adlmost guarantee that yours will be different. Set the \"Port\" to \"8080\"",{"textAlign":22},{"content":84,"type":27,"attrs":87},[85],{"type":25,"text":86},"Under \"Transcoding options\" ensure only the \"Audio\" is selected. Set the Bitrate to \"16\" and the Channels to \"1\". Setting a low bitrate and only 1 channel will mean that less data is travelling over the network and the quality will still be very good. Click \"OK\" and when you return to the previous page, click \"Open\".",{"textAlign":22},{"attrs":89,"type":19},{"src":90},"https://igeddit.ca/img/vlc-stream-settings.png",{"attrs":92,"content":93,"type":27},{"textAlign":22},[94],{"type":25,"text":95},"You will see a new entry in your Playlist; mine is named \"avaudiocapture\". Right click that entry and choose \"Play\"...your audio is now streaming over the network.",{"attrs":97,"type":19},{"src":98},"https://igeddit.ca/img/vlc-broadcast-audio-play.png",{"attrs":100,"type":51,"content":101},{"level":56,"textAlign":22},[102],{"text":103,"type":25},"Setting up the other computers to receive the broadcast",{"type":27,"content":105,"attrs":108},[106],{"type":25,"text":107},"On any and all of the subscribing computers open VLC. Navigate to File > Open Network",{"textAlign":22},{"type":19,"attrs":110},{"src":111},"https://igeddit.ca/img/vlc-othercomputer-open-network.png",{"type":27,"content":113,"attrs":130},[114,116,121,123,128],{"type":25,"text":115},"Enter he IP  address of the broadcasting computer, in this case: “",{"marks":117,"type":25,"text":120},[118],{"type":44,"attrs":119},{"href":120,"target":43},"http://192.168.2.10”",{"type":25,"text":122},". In my case that was all I needed, but it might not work unless you add the port number. So if it's not working try: “",{"marks":124,"type":25,"text":127},[125],{"attrs":126,"type":44},{"href":120,"target":43},"http://192.168.2.10:8080”",{"text":129,"type":25},".",{"textAlign":22},{"content":132,"type":27,"attrs":135},[133],{"type":25,"text":134},"Click “Open”.",{"textAlign":22},{"attrs":137,"type":19},{"src":138},"https://igeddit.ca/img/vlc-othercomputer-input-ip.png",{"attrs":140,"type":27,"content":141},{"textAlign":22},[142],{"text":143,"type":25},"You should now see that broadcasting IP in your Playlist. Right click it and choose \"Play\". You should now hear the audio whenever the speaker speaks on the broadcasting computer.",{"attrs":145,"type":19},{"src":146},"https://igeddit.ca/img/vlc-othercomputer-play-ip.png",{"attrs":148,"content":149,"type":27},{"textAlign":22},[150],{"text":151,"type":25},"That's all. I'd love to hear about your use case!","doc","2024-07-11",1773873177669]