Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
G

G Filkov

@G Filkov
About
Posts
1
Topics
1
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • Recording audio in Unity WebGL game
    G G Filkov

    Hi everybody, I am trying to provide recording functionality (save gameplay as video file) for my Unity WebGL game. I can easily record video stream (via javascript plugin) as let canvasStream = canvas.captureStream(); But I fail to record audio :frowning: I can go with stream = await navigator.mediaDevices.getUserMedia(constraints); But I don’t like this method. It creates popup, interrupting the game. I’d like it to go smoothly, without interruption. I see the WEBAudio object created on the page with WEBAudio.audioInstances, WEBAudio.audioContext, etc. But I failed to get audio stream from there. No errors logged and no audio in my recording. Just video. Appreciate your help and advice on how to get Audio Stream from any of these available objects: WEBAudio WEBAudio.audioContext WEBAudio.audioContext.destination WEBAudio.audioInstances[1].buffer WEBAudio.audioInstances[1].getNumberOfChannels() WEBAudio.audioInstances[2].gain Thank you.

    JavaScript game-dev javascript help tutorial
  • Login

  • Don't have an account? Register

  • Login or register to search.
  • First post
    Last post
0
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups