Player APIs (BrightScript & Ja...
JavaScript APIs
compositor
5min
the compositor object allows you to perform actions related to the video compositor compositor idl interface compositor { void pause(int timeout ms); void resume(); int getcrc(); }; object creation to create a compositor object, first load the brightsign/compositor module using the require() method then create an instance of the screenshot class var compositorclass = require("@brightsign/compositor"); var compositor = new compositorclass(); compositor pause() void pause(int timeout ms) suspends graphics compositor updates for the specified number of milliseconds (or until the resume() method is called), up to a maximum interval of 10 seconds while the graphics compositor is paused, no visual elements will be updated (except for html video docid\ e6ujleh69q0jmmv8kytrp , rotextwidget docid\ gqenktmmfazejdlzhttiz , and off screen chromium textures) use this method to combine intensive graphics and layout operations into a single v sync update resume() void resume() resumes the graphics compositor if it has been paused with the pause() method getcrc() int getcrc() returns the crc of the y and cb signals as a single integer this method allows the script to compare two moments in the graphics output if the return values differ, then the output is not identical