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

tfx_module

1.2.2 • Public • Published

TFX

TFX WebRTC agent

usuage

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

Keywords

none

install

npm i tfx_module

Downloadsweekly downloads

4

version

1.2.2

license

MIT

last publish

collaborators

  • avatar