GIMP Python or C Script, Access Canvas Constantly in Background

Exception or error: I’m having some trouble determining if I can run a background process which accesses the current canvas continuously. Basically I’d like to monitor the existing canvas and pipe that information to a network protocol (NDI or something similar) so that I can “live edit” an image. Frame rate isn’t incredibly critical here …