Skip to content

twentyoneisawesome/Teams-VideoApp-example

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

37 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

This repo demonstrate a minimal Teams video app.

Install the video app in Teams

  1. Host the app directory in a public accessible HTTPS server. You can use github page as the host.
  2. Replace the name, appId, and contentUrl in meta/manifest.json.
    1. The contentUrl should point to your app directory, like https://lubobill1990.github.io/Teams-VideoApp-example/app/
    2. appId can be any unique GUID
  3. zip the meta directory, choose the zip file after clicking Upload a custom app
  4. Go to a teams meeting, enable the video, and activate the video app.

Develop video app in browser

  1. open terminal
  2. cd to the directory of README.md
  3. run yarn install
  4. run yarn start-app
  5. run yarn start-container
  6. open https://localhost:9000/index.html in your browser
  7. change videoFrameHandler function in app/index.js

WASM

  1. using emsdk 2.0.30, reference https://emscripten.org/docs/getting_started/downloads.html for installing and change version to 2.0.30 by emsdk activate 2.0.30
  2. compile to wasm by emcc -o wasm-ccall.js -s TOTAL_MEMORY=64MB -s "EXPORTED_RUNTIME_METHODS=['ccall', 'cwrap']" -O3 wasm-ccall.cpp

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 51.0%
  • C++ 30.3%
  • HTML 18.4%
  • CSS 0.3%