Streaming the audio over wifi(LAN) via a Chrome App

I want to build an app (chrome app on Linux) which can record screen and stream it to the devices connected to this pc.

Application :Suppose a group of people is watching a movie on a PC, I want to stream the audio from this PC to the mobile phones of viewers, so that they can use earphones and listen peacefully (kind of like wireless experience), of course using a LAN(and not internet).

Research: I like to develop chrome apps and extensions as hobby, i came to know that we have a desktopCapture api which can help me capturing the audio/video.

chrome.desktopCapture.chooseDesktopMedia([
  'screen'], function(streamId) {
  navigator.webkitGetUserMedia({
    audio: {
      mandatory: {
        chromeMediaSource: 'system',
        chromeMediaSourceId: streamId
      }
    },
    video: false, // We only want audio for now.
  }, function(stream) {

    // HOW TO STREAM THIS AUDIO ONLY CAPTURED FROM DESKTOP ,SAY 
   //  EPISODE OF GAME OF THRONES PLAYING IN VLC MEDIA PLAYER

  }, function(error) {
    // Handle error
  });
});

Help needed:

Suppose all the viewers’ mobiles phones and the pc, are connected to a local hotspot/router.Every mobile phone then must go the url specified by the ip:address of the pc to make a connection and recieve smooth audio.

Now how do i move ahead from here.Which apis and how to use them, not that experienced in socket programming, but read about something sockets.udp api but couldnt understand.

Can this be done in Linux ?

I searched for similar extensions , found one :
SoundIt chrome app

Any help will be appreciated.