p5LiveMedia
p5LiveMedia copied to clipboard
use of 'this' keyword
A student ran into an issue when making a room system using this library. Basically, it is not currently possible to create a p5LiveMedia object outside of the p5js' setup() function because it needs a reference to the p5js object.
As a workaround, I created a global reference for the p5js object, but it would be great if the library could try to manage this internally...