- Host the app directory in a public accessible HTTPS server. You can use github page as the host.
- Replace the
name
,appId
, andcontentUrl
inmeta/manifest.json
.- The contentUrl should point to your app directory, like
https://lubobill1990.github.io/Teams-VideoApp-example/app/
- appId can be any unique GUID
- The contentUrl should point to your app directory, like
- zip the meta directory, choose the zip file after clicking Upload a custom app
- Go to a teams meeting, enable the video, and activate the video app.
- open terminal
cd
to the directory of README.md- run
yarn install
- run
yarn start-app
- run
yarn start-container
- open
https://localhost:9000/index.html
in your browser - change
videoFrameHandler
function inapp/index.js
- using emsdk 2.0.30, reference
https://emscripten.org/docs/getting_started/downloads.html
for installing and change version to 2.0.30 byemsdk activate 2.0.30
- compile to wasm by
emcc -o wasm-ccall.js -s TOTAL_MEMORY=64MB -s "EXPORTED_RUNTIME_METHODS=['ccall', 'cwrap']" -O3 wasm-ccall.cpp