0.3.33 • Published 2 years ago

mytaverse-agora-module v0.3.33

Weekly downloads
-
License
MIT
Repository
-
Last release
2 years ago

Mytaverse Agora Module

Especially for reactJs

Build Status

This module is especially a react hook which contains the actions on the video/voice chat such as toggle voice, channel change, share screen etc. Among the actions we have the following:

  • Active Proxy.
  • Change Device Input/Output
  • Disconnect
  • Init
  • Region Change
  • Share Camera
  • Shara Screen
  • Subscribe
  • Toggle Voice
  • Unsubscribe
  • Change Role

Arquirectura

We can see diagrams of the architecture of this module in the following link: https://miro.com/app/board/uXjVOlm16oo=/

Terminology

  • ActionsHook: It is the react hook that contains the main functions to call the module's actions.
  • Actions: The actions are each of the events that the user can carry out with respect to the video/voice chat, either through an interface event or a logical event of the module.
  • Context: Is all the data where the business rules operate (connection status, current channel, user role, etc) and all the audio/video resources for the agora sdk (tracks, client agora, listeners agora , etc)
  • Worker: It is an entity in charge of monitoring the list of actions to be done, this worker removes the action from a queue and sends it to the action's own manager.
  • Manager: Is the entity that contains both the invocation of the business rules, as well as the call to the operations of the agora sdk such as join, publish, leave, etc. this manager is the one who alters the state of an action.
  • Rules: These are the definition of the business rules, for example the pertinent validations of the module context, such as validation of the connection status, of the channel where the user is connected, of the user role, etc.
  • Operations: Represent the logic that interacts with the agora sdk directly, here we will find the implementation of the use of the agora sdk such as to join a channel, to mute an audio or video track, or to change the role. etc.
  • Logger: It is the entity that is in charge of processing the output of the actions, this entity can define engines, by default the available engines are console and view.

Tech

Main modules/module dependencies:

Installation

This module requires Node.js v10+ to run.

For production environments...

npm i mytaverse-agora-module --save

For development environments...

npm i mytaverse-agora-module --save-dev
npm install mytaverse-agora-module@0.3.22 --save --legacy-peer-deps

Building for source

For production release:

npx -typescript tsc

License

MIT

0.3.31

2 years ago

0.3.33

2 years ago

0.3.32

2 years ago

0.2.27

2 years ago

0.2.26

2 years ago

0.2.25

2 years ago

0.2.24

2 years ago

0.2.23

2 years ago

0.2.22

2 years ago

0.2.21

2 years ago

0.2.20

2 years ago

0.2.19

2 years ago

0.2.18

2 years ago

0.2.17

2 years ago

0.1.49

2 years ago

0.1.41

2 years ago

0.1.42

2 years ago

0.1.43

2 years ago

0.1.44

2 years ago

0.1.45

2 years ago

0.1.46

2 years ago

0.1.47

2 years ago

0.1.48

2 years ago

0.2.16

2 years ago

0.2.15

2 years ago

0.2.14

2 years ago

0.2.12

2 years ago

0.2.11

2 years ago

0.2.10

2 years ago

0.1.40

2 years ago

0.3.0

2 years ago

0.3.6

2 years ago

0.1.38

2 years ago

0.3.5

2 years ago

0.1.39

2 years ago

0.3.8

2 years ago

0.3.7

2 years ago

0.3.2

2 years ago

0.3.1

2 years ago

0.3.4

2 years ago

0.3.3

2 years ago

0.1.30

2 years ago

0.1.31

2 years ago

0.1.32

2 years ago

0.1.33

2 years ago

0.1.34

2 years ago

0.1.35

2 years ago

0.1.36

2 years ago

0.1.37

2 years ago

0.1.27

2 years ago

0.1.28

2 years ago

0.1.29

2 years ago

0.1.20

2 years ago

0.1.21

2 years ago

0.1.22

2 years ago

0.1.23

2 years ago

0.1.24

2 years ago

0.1.25

2 years ago

0.1.26

2 years ago

0.1.16

2 years ago

0.1.17

2 years ago

0.1.18

2 years ago

0.1.19

2 years ago

0.3.30

2 years ago

0.3.29

2 years ago

0.3.20

2 years ago

0.2.50

2 years ago

0.3.28

2 years ago

0.3.27

2 years ago

0.3.26

2 years ago

0.3.25

2 years ago

0.3.24

2 years ago

0.3.23

2 years ago

0.3.22

2 years ago

0.3.21

2 years ago

0.3.19

2 years ago

0.3.18

2 years ago

0.2.41

2 years ago

0.2.40

2 years ago

0.3.9

2 years ago

0.3.17

2 years ago

0.2.49

2 years ago

0.3.16

2 years ago

0.2.48

2 years ago

0.3.15

2 years ago

0.2.47

2 years ago

0.3.14

2 years ago

0.2.46

2 years ago

0.3.13

2 years ago

0.2.45

2 years ago

0.3.12

2 years ago

0.2.44

2 years ago

0.3.11

2 years ago

0.2.43

2 years ago

0.3.10

2 years ago

0.2.42

2 years ago

0.2.39

2 years ago

0.2.30

2 years ago

0.2.38

2 years ago

0.2.37

2 years ago

0.2.36

2 years ago

0.2.35

2 years ago

0.2.34

2 years ago

0.2.33

2 years ago

0.2.32

2 years ago

0.2.31

2 years ago

0.2.1

2 years ago

0.2.0

2 years ago

0.2.29

2 years ago

0.2.28

2 years ago

0.2.7

2 years ago

0.2.6

2 years ago

0.2.9

2 years ago

0.2.8

2 years ago

0.2.3

2 years ago

0.2.5

2 years ago

0.2.4

2 years ago

0.1.15

2 years ago

0.1.14

2 years ago

0.1.13

2 years ago

0.1.12

2 years ago

0.1.11

2 years ago

0.1.10

2 years ago

0.1.9

2 years ago

0.1.8

2 years ago

0.1.7

2 years ago

0.1.6

2 years ago

0.1.5

2 years ago

0.1.4

2 years ago

0.1.3

2 years ago

0.1.1

2 years ago

0.1.0

2 years ago