Configuring the WebRTC stack
Create a .npmrc file with the next content
sippo_stack = "<stack>"
where stack is one of:
Make sure the @quobis NPM scope is configured in the machine. This will be accomplished with the next command:
npm config set @quobis:registry http://npm.internal.quobis.com:4873/
After check it, install dependencies
Note that this will be needed every time the stack being used is changed.
And to continuously run the tests and watch for changes:
npm run tdd
Publishing the package
Generating a distributable file
npm run dist
A standalone package with UMD wrapping will be generated. It can export the
Sippo global variable
or be required as a CommonJS or an AMD module.
Generating the API documentation
npm run doc
The API documentation will be generated in the
Cleaning the source code
npm run clean
All the compiled files will be removed.
SippoJS defines six log levels:
By default, WARN level is used. This means only messages with
WARN level are printed.
To enable the debug message you can use the
sippodebug property for the local
storage of the domain where SippoJS is being used. For example, pasting the next
code to the browser console will enable every debug message:
localStorage.sippodebug = '*'
About the requirements
WebRTC adapter is currently required in almost every case to insulate the app from spec changes and prefix differences. You can obtain more information at: