Skip to content

CiscoDevNet/webex-meeting-types-samples

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

webex-meeting-types-samples

Overview

Demonstrates 'webpack' bundling of the Webex JavaScript SDK and Momentum-UI style assets for use in browser voice/video meeting application integrations. The resulting page/bundle is served via a simple light web server as a single-page app.

Includes examples of accessing/joining various meeting types, including:

  • 1:1 Webex cloud calling
  • Space multi-user cloud calling
  • Scheduling and joining Webex scheduling meetings
  • PMR meetings
  • Webex Calling/PSTN dialing
  • SIP calling/meetings

Bundling framework demonstrated:

This project was built/tested using:

https://developer.webex.com/docs/sdks/browser

Getting started

  1. From a terminal, clone this repo using git:

    git clone https://github.com/CiscoDevNet/webex-meeting-types-samples.git
  2. Install dependencies:

    cd webex-meeting-types-samples
    npm install
  3. Open the project in VS Code:

    code .
  4. In VS Code from the Run and Debug tab, select "Build" from the dropdown menu and click the green run button.

    Or, from the terminal:

    npm run build
  5. To launch the webserver, use the "Launch" dropdown option from the Run and Debug tab.

    Or, from the terminal:

    npm run launch

    This should open the target page in your default browser. If not, browse to https://localhost:3000

  6. You can test the sample by logging into developer.webex.com and grabbing a Personal Access Token from the Getting Started page, then dialing another Webex Teams user via their Webex Id/email

    Note: Don't connect and dial based on the same user - that won't work!

Hints

  • There is a workaround in webpack/webpack.config.js for an issue Webpack has with the fs module that's a dependency of webex, but not actually needed in browser usage:
    ...
    node: {
    fs: 'empty'
    }
    ...
  • See package.json for the browserlists array of target browsers/versions

Releases

No releases published

Packages

No packages published