node package manager
Share your code. npm Orgs help your team discover, share, and reuse code. Create a free org »



TFX WebRTC agent


Import the scripts form the module directly , while keeping the websrever around node_modules package too.

Methods are provided for following

First Header Second Header
TFXlocalVideo Get local Video
TFXremoteVideo Get Remote Videos
TFXlocalStream get Media Stream/Track Obvject for local Stream
TFXremoteStream get Media Stream/Track Obvject for remote Stream
TFXgetRoom Create a Room based on enetered name
TFXjoinRoom Get a existing room based on enteered name
TFXclose Close the current TFX session
TFXPluginFunction Add plugins
TFXPluginShareFunction Add screenshare Plugin
TFXstats Get stats report form WebRTC call
TFXvoiceoff/TFXvoiceon Mute and Unmute audio
TFXvideooff/TFXvideoon Mute and Unmute video

Creating a Sample webrtc based video call requires

    <script src="js/control.js"></script>
    <script src="js/tfx.js"></script>
    <script src="js/widget.js"></script>
    <script src="js/broplug.js"></script>

This also includes unit test cases