Search Unity

Record WebGL audio into a web page

Discussion in 'Web' started by PasqualeWideverse, Feb 20, 2019.

  1. PasqualeWideverse

    PasqualeWideverse

    Joined:
    Nov 26, 2018
    Posts:
    1
    Hi all. I have a project in WebGL build and what i need to do is recording video and audio that coming out from webgl module inside an html page woth javascript. I able to record the video with canvas.captureStream() and MediaRecorder but not the audio.

    I've tried with differents audio record solutions found in google but all the solutions get the audio from webcam.

    As Unity WebGl doc says "we need to use a different implementation, which is internally based on the Web Audio API, which lets the browser handle audio playback and mixing for us".

    What i need to know is how can i "intercept" the webgl audio?
     
  2. Marks4

    Marks4

    Joined:
    Feb 25, 2018
    Posts:
    547
    You can check my new asset, it allows you to record webgl gameplay on any browser, this includes video and audio!