fivem-game-view
v1.0.0
Published
FiveM Realtime GameView for HTML
Downloads
22
Readme
fivem-game-view
fivem-game-view is an npm library for gamerender in realtime
Installation
npm i fivem-game-view
Usage
import { GameView } from 'fivem-game-view'
const gameview = new GameView()
Functions
Render GameView to a canvas element
Can be used for a lot of stuff: video calls, video record, live stream ...
Start canvas render
const canvas = document.getElementById("videocall-canvas"); gameview.createGameView(canvas);
Stop canvas render
gameview.stop();