Skip to main content
added 9 characters in body
Source Link

I am able to Record and Run Audio from my Microphone using this code snippet:

  void OnGUI() {
        if (GUI.Button(new Rect(0, 0, 100, 20), "record")) {
           // Microphone.End(Microphone.devices[0]);
            audsourceAttached.clip = Microphone.Start(Microphone.devices[0], false, 3, 44100);
        }
        if (GUI.Button(new Rect(0, 30, 100, 20), "Stop"))
        {
            //Microphone.End(Microphone.devices[0]);
            audsourceAttached.Play();
        }
    }

Now I am willing to send this Audioaudio across Network (on my local network-another instance of the game). How can I do this? 

I tried to find this on google but unable to find any useful solution/links.   

How can I send audio through microphone like real-time Chat in a game/etc.

I am able to Record and Run Audio from my Microphone using this code snippet

  void OnGUI() {
        if (GUI.Button(new Rect(0, 0, 100, 20), "record")) {
           // Microphone.End(Microphone.devices[0]);
            audsourceAttached.clip = Microphone.Start(Microphone.devices[0], false, 3, 44100);
        }
        if (GUI.Button(new Rect(0, 30, 100, 20), "Stop"))
        {
            //Microphone.End(Microphone.devices[0]);
            audsourceAttached.Play();
        }
    }

Now I am willing to send this Audio across Network (on my local network-another instance of the game). How can I do this? I tried to find this on google but unable to find any useful solution/links.  How can I send audio through microphone like real-time Chat in a game/etc.

I am able to Record and Run Audio from my Microphone using this code snippet:

  void OnGUI() {
        if (GUI.Button(new Rect(0, 0, 100, 20), "record")) {
           // Microphone.End(Microphone.devices[0]);
            audsourceAttached.clip = Microphone.Start(Microphone.devices[0], false, 3, 44100);
        }
        if (GUI.Button(new Rect(0, 30, 100, 20), "Stop"))
        {
            //Microphone.End(Microphone.devices[0]);
            audsourceAttached.Play();
        }
    }

Now I am willing to send this audio across Network (on my local network-another instance of the game). How can I do this? 

I tried to find this on google but unable to find any useful solution/links. 

How can I send audio through microphone like real-time Chat in a game/etc.

Bumped by Community user
added 23 characters in body
Source Link

I am able to Record and runRun Audio from my Microphone using this code snippet

  void OnGUI() {
        if (GUI.Button(new Rect(0, 0, 100, 20), "record")) {
           // Microphone.End(Microphone.devices[0]);
            audsourceAttached.clip = Microphone.Start(Microphone.devices[0], false, 3, 44100);
        }
        if (GUI.Button(new Rect(0, 30, 100, 20), "Stop"))
        {
            //Microphone.End(Microphone.devices[0]);
            audsourceAttached.Play();
        }
    }

Now I am willing to send this audiosend this Audio across networkNetwork (on my local network-another instance of the game). How can I do this? I tried to find this on google but unable to find any useful linkssolution/links. How can I send audio through microphone like real-time chatChat in a game/etc.

I am able to Record and run Audio from my Microphone using this code snippet

  void OnGUI() {
        if (GUI.Button(new Rect(0, 0, 100, 20), "record")) {
           // Microphone.End(Microphone.devices[0]);
            audsourceAttached.clip = Microphone.Start(Microphone.devices[0], false, 3, 44100);
        }
        if (GUI.Button(new Rect(0, 30, 100, 20), "Stop"))
        {
            //Microphone.End(Microphone.devices[0]);
            audsourceAttached.Play();
        }
    }

Now I am willing to send this audio across network (on my local network-another instance of the game). How can I do this? I tried to find this on google but unable to find any useful links. How can I send audio through microphone like real-time chat.

I am able to Record and Run Audio from my Microphone using this code snippet

  void OnGUI() {
        if (GUI.Button(new Rect(0, 0, 100, 20), "record")) {
           // Microphone.End(Microphone.devices[0]);
            audsourceAttached.clip = Microphone.Start(Microphone.devices[0], false, 3, 44100);
        }
        if (GUI.Button(new Rect(0, 30, 100, 20), "Stop"))
        {
            //Microphone.End(Microphone.devices[0]);
            audsourceAttached.Play();
        }
    }

Now I am willing to send this Audio across Network (on my local network-another instance of the game). How can I do this? I tried to find this on google but unable to find any useful solution/links. How can I send audio through microphone like real-time Chat in a game/etc.

edited title
Source Link

how How to Send voiceVoice over unity networkingUnity Networking - UNET

I am able to recordRecord and run audioAudio from my microphoneMicrophone using this code snippet

  void OnGUI() {
        if (GUI.Button(new Rect(0, 0, 100, 20), "record")) {
           // Microphone.End(Microphone.devices[0]);
            audsourceAttached.clip = Microphone.Start(Microphone.devices[0], false, 3, 44100);
        }
        if (GUI.Button(new Rect(0, 30, 100, 20), "Stop"))
        {
            //Microphone.End(Microphone.devices[0]);
            audsourceAttached.Play();
        }
    }

Now I am willing to send this audio across network (on my local network-another instance of the game). How can iI do this? I tried to find this on google but unable to find any useful linklinks. How can iI send audio through microphone like real-time chat.

how to Send voice over unity networking

I am able to record and run audio from my microphone using this code snippet

  void OnGUI() {
        if (GUI.Button(new Rect(0, 0, 100, 20), "record")) {
           // Microphone.End(Microphone.devices[0]);
            audsourceAttached.clip = Microphone.Start(Microphone.devices[0], false, 3, 44100);
        }
        if (GUI.Button(new Rect(0, 30, 100, 20), "Stop"))
        {
            //Microphone.End(Microphone.devices[0]);
            audsourceAttached.Play();
        }
    }

Now I am willing to send this audio across network (on my local network-another instance of the game). How can i do this? I tried to find this on google but unable to find any useful link. How can i send audio through microphone like real-time chat.

How to Send Voice over Unity Networking - UNET

I am able to Record and run Audio from my Microphone using this code snippet

  void OnGUI() {
        if (GUI.Button(new Rect(0, 0, 100, 20), "record")) {
           // Microphone.End(Microphone.devices[0]);
            audsourceAttached.clip = Microphone.Start(Microphone.devices[0], false, 3, 44100);
        }
        if (GUI.Button(new Rect(0, 30, 100, 20), "Stop"))
        {
            //Microphone.End(Microphone.devices[0]);
            audsourceAttached.Play();
        }
    }

Now I am willing to send this audio across network (on my local network-another instance of the game). How can I do this? I tried to find this on google but unable to find any useful links. How can I send audio through microphone like real-time chat.

added 13 characters in body
Source Link
Loading
added 63 characters in body
Source Link
Loading
Tweeted twitter.com/StackGameDev/status/842149628355182594
edited title
Link
Loading
Source Link
Loading