mediasfu-shared 1.0.1 → 1.0.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (127) hide show
  1. package/LICENSE +21 -21
  2. package/README.md +103 -222
  3. package/dist/index.cjs +7634 -2180
  4. package/dist/index.cjs.map +1 -1
  5. package/dist/index.d.ts +4203 -273
  6. package/dist/index.js +7663 -2209
  7. package/dist/index.js.map +1 -1
  8. package/package.json +96 -78
  9. package/src/ProducerClient/producerClientEmits/joinRoomClient.ts +57 -0
  10. package/src/ProducerClient/producerClientEmits/updateRoomParametersClient.ts +401 -0
  11. package/src/consumers/addVideosGrid.ts +3 -2
  12. package/src/consumers/changeVids.ts +111 -41
  13. package/src/consumers/checkPermission.ts +35 -1
  14. package/src/consumers/connectIps.ts +3 -1
  15. package/src/consumers/connectLocalIps.ts +3 -1
  16. package/src/consumers/connectRecvTransport.ts +96 -1
  17. package/src/consumers/consumerResume.ts +2 -2
  18. package/src/consumers/dispStreams.ts +83 -37
  19. package/src/consumers/frameworkConsumerContract.ts +6 -0
  20. package/src/consumers/generatePageContent.ts +24 -10
  21. package/src/consumers/getPipedProducersAlt.ts +112 -16
  22. package/src/consumers/gridLayout/addVideosGrid.engine.ts +42 -0
  23. package/src/consumers/gridLayout/prepopulateUserMedia.engine.ts +444 -0
  24. package/src/consumers/mixStreams.ts +45 -14
  25. package/src/consumers/onScreenChanges.ts +25 -10
  26. package/src/consumers/prepopulateUserMedia.ts +3 -2
  27. package/src/consumers/processConsumerTransports.ts +68 -23
  28. package/src/consumers/processConsumerTransportsAudio.ts +146 -17
  29. package/src/consumers/reUpdateInter.ts +61 -21
  30. package/src/consumers/readjust.ts +30 -14
  31. package/src/consumers/reorderStreams.ts +76 -42
  32. package/src/consumers/resumePauseAudioStreams.ts +66 -17
  33. package/src/consumers/resumePauseStreams.ts +53 -10
  34. package/src/consumers/socketReceiveMethods/joinConsumeRoom.ts +8 -0
  35. package/src/consumers/socketReceiveMethods/newPipeProducer.ts +114 -0
  36. package/src/consumers/socketReceiveMethods/producerClosed.ts +13 -0
  37. package/src/consumers/streamSuccessScreen.ts +2 -2
  38. package/src/consumers/streamSuccessVideo.ts +5 -0
  39. package/src/consumers/translationConsumerSwitch.ts +321 -0
  40. package/src/index.ts +85 -1
  41. package/src/methods/coHostMethods/modifyCoHostSettings.ts +9 -9
  42. package/src/methods/displaySettings/modifyDisplaySettings.ts +5 -0
  43. package/src/methods/index.ts +66 -0
  44. package/src/methods/message/sendMessage.ts +12 -29
  45. package/src/methods/panelists/focusPanelists.ts +83 -0
  46. package/src/methods/panelists/index.ts +3 -0
  47. package/src/methods/panelists/launchPanelists.ts +13 -0
  48. package/src/methods/panelists/updatePanelists.ts +135 -0
  49. package/src/methods/permissions/index.ts +3 -0
  50. package/src/methods/permissions/launchPermissions.ts +13 -0
  51. package/src/methods/permissions/updateParticipantPermission.ts +127 -0
  52. package/src/methods/permissions/updatePermissionConfig.ts +52 -0
  53. package/src/methods/polls/pollUpdated.ts +88 -0
  54. package/src/methods/recording/confirmRecording.ts +15 -12
  55. package/src/methods/recording/recordResumeTimer.ts +2 -2
  56. package/src/methods/recording/recordStartTimer.ts +2 -2
  57. package/src/methods/recording/timeLeftRecording.ts +25 -0
  58. package/src/methods/requests/hostRequestResponse.ts +158 -0
  59. package/src/methods/settings/modifySettings.ts +17 -17
  60. package/src/methods/socketReceive/allMembers.ts +450 -0
  61. package/src/methods/socketReceive/allMembersRest.ts +480 -0
  62. package/src/methods/socketReceive/allWaitingRoomMembers.ts +35 -0
  63. package/src/methods/socketReceive/banParticipant.ts +73 -0
  64. package/src/methods/socketReceive/controlMediaHost.ts +280 -0
  65. package/src/methods/socketReceive/disconnect.ts +40 -0
  66. package/src/methods/socketReceive/disconnectUserSelf.ts +56 -0
  67. package/src/methods/socketReceive/getDomains.ts +112 -0
  68. package/src/methods/socketReceive/meetingEnded.ts +49 -0
  69. package/src/methods/socketReceive/meetingStillThere.ts +26 -0
  70. package/src/methods/socketReceive/panelistReceiveMethods.ts +195 -0
  71. package/src/methods/socketReceive/participantRequested.ts +48 -0
  72. package/src/methods/socketReceive/permissionReceiveMethods.ts +59 -0
  73. package/src/methods/socketReceive/personJoined.ts +35 -0
  74. package/src/methods/socketReceive/producerMediaClosed.ts +223 -0
  75. package/src/methods/socketReceive/producerMediaPaused.ts +267 -0
  76. package/src/methods/socketReceive/producerMediaResumed.ts +157 -0
  77. package/src/methods/socketReceive/reInitiateRecording.ts +53 -0
  78. package/src/methods/socketReceive/receiveMessage.ts +117 -0
  79. package/src/methods/socketReceive/recordingNotice.ts +286 -0
  80. package/src/methods/socketReceive/roomRecordParams.ts +122 -0
  81. package/src/methods/socketReceive/screenProducerId.ts +61 -0
  82. package/src/methods/socketReceive/startRecords.ts +46 -0
  83. package/src/methods/socketReceive/stoppedRecording.ts +44 -0
  84. package/src/methods/socketReceive/translationReceiveMethods.ts +581 -0
  85. package/src/methods/socketReceive/updateConsumingDomains.ts +128 -0
  86. package/src/methods/socketReceive/updateMediaSettings.ts +45 -0
  87. package/src/methods/socketReceive/updatedCoHost.ts +75 -0
  88. package/src/methods/socketReceive/userWaiting.ts +45 -0
  89. package/src/methods/stream/clickAudio.ts +380 -0
  90. package/src/methods/stream/clickChat.ts +36 -0
  91. package/src/methods/stream/clickScreenShare.ts +173 -0
  92. package/src/methods/stream/clickVideo.ts +28 -6
  93. package/src/methods/stream/index.ts +1 -0
  94. package/src/methods/utils/SoundPlayer.ts +31 -0
  95. package/src/methods/utils/checkLimitsAndMakeRequest.ts +156 -2
  96. package/src/methods/utils/createResponseJoinRoom.ts +47 -0
  97. package/src/methods/utils/createRoomOnMediaSFU.ts +160 -0
  98. package/src/methods/utils/formatNumber.ts +42 -0
  99. package/src/methods/utils/generateRandomMessages.ts +70 -0
  100. package/src/methods/utils/generateRandomParticipants.ts +100 -0
  101. package/src/methods/utils/generateRandomPolls.ts +43 -0
  102. package/src/methods/utils/generateRandomRequestList.ts +51 -0
  103. package/src/methods/utils/generateRandomWaitingRoomList.ts +17 -0
  104. package/src/methods/utils/getModalPosition.ts +23 -0
  105. package/src/methods/utils/getOverlayPosition.ts +37 -0
  106. package/src/methods/utils/initialValuesState.ts +405 -0
  107. package/src/methods/utils/joinRoomOnMediaSFU.ts +124 -0
  108. package/src/methods/utils/liveSubtitle.ts +107 -0
  109. package/src/methods/utils/meetingTimeRemaining.ts +33 -0
  110. package/src/methods/utils/meetingTimer/startMeetingProgressTimer.ts +72 -0
  111. package/src/methods/utils/producer/aParams.ts +10 -0
  112. package/src/methods/utils/producer/hParams.ts +26 -0
  113. package/src/methods/utils/producer/screenParams.ts +13 -0
  114. package/src/methods/utils/producer/vParams.ts +26 -0
  115. package/src/methods/utils/producer/videoCaptureConstraints.ts +65 -0
  116. package/src/methods/utils/resolveMediaSFURoomApi.ts +28 -0
  117. package/src/methods/utils/sleep.ts +24 -0
  118. package/src/methods/utils/translationLanguages.ts +308 -0
  119. package/src/methods/utils/webrtc.ts +44 -0
  120. package/src/methods/welcome/handleWelcomeRequest.ts +11 -2
  121. package/src/methods/welcome/index.ts +5 -1
  122. package/src/methods/whiteboard/captureCanvasStream.ts +128 -0
  123. package/src/producers/producerEmits/joinConRoom.ts +2 -2
  124. package/src/producers/producerEmits/joinLocalRoom.ts +240 -0
  125. package/src/producers/producerEmits/joinRoom.ts +129 -0
  126. package/src/types/shared-base-types.ts +14 -3
  127. package/src/types/types.ts +255 -0
package/LICENSE CHANGED
@@ -1,21 +1,21 @@
1
- MIT License
2
-
3
- Copyright (c) 2025 MediaSFU
4
-
5
- Permission is hereby granted, free of charge, to any person obtaining a copy
6
- of this software and associated documentation files (the "Software"), to deal
7
- in the Software without restriction, including without limitation the rights
8
- to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
- copies of the Software, and to permit persons to whom the Software is
10
- furnished to do so, subject to the following conditions:
11
-
12
- The above copyright notice and this permission notice shall be included in all
13
- copies or substantial portions of the Software.
14
-
15
- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
- IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
- FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
- AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
- LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
- OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
- SOFTWARE.
1
+ MIT License
2
+
3
+ Copyright (c) 2025 MediaSFU
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
package/README.md CHANGED
@@ -1,222 +1,103 @@
1
- <p align="center">
2
- <img src="https://www.mediasfu.com/logo192.png" width="100" alt="MediaSFU Logo">
3
- </p>
4
-
5
- <p align="center">
6
- <a href="https://twitter.com/media_sfu">
7
- <img src="https://img.shields.io/badge/Twitter-1DA1F2?style=for-the-badge&logo=twitter&logoColor=white" alt="Twitter" />
8
- </a>
9
- <a href="https://www.mediasfu.com/forums">
10
- <img src="https://img.shields.io/badge/Community-Forum-blue?style=for-the-badge&logo=discourse&logoColor=white" alt="Community Forum" />
11
- </a>
12
- <a href="https://github.com/MediaSFU">
13
- <img src="https://img.shields.io/badge/GitHub-181717?style=for-the-badge&logo=github&logoColor=white" alt="Github" />
14
- </a>
15
- <a href="https://www.mediasfu.com/">
16
- <img src="https://img.shields.io/badge/Website-4285F4?style=for-the-badge&logo=google-chrome&logoColor=white" alt="Website" />
17
- </a>
18
- <a href="https://www.youtube.com/channel/UCELghZRPKMgjih5qrmXLtqw">
19
- <img src="https://img.shields.io/badge/YouTube-FF0000?style=for-the-badge&logo=youtube&logoColor=white" alt="Youtube" />
20
- </a>
21
- </p>
22
-
23
- <p align="center">
24
- <a href="https://opensource.org/licenses/MIT">
25
- <img src="https://img.shields.io/badge/License-MIT-yellow.svg?style=flat-square" alt="License: MIT" />
26
- </a>
27
- <a href="https://mediasfu.com">
28
- <img src="https://img.shields.io/badge/Built%20with-MediaSFU-blue?style=flat-square" alt="Built with MediaSFU" />
29
- </a>
30
- <a href="https://www.typescriptlang.org">
31
- <img src="https://img.shields.io/badge/TypeScript-007ACC?style=flat-square&logo=typescript&logoColor=white" alt="TypeScript" />
32
- </a>
33
- <a href="https://www.npmjs.com/package/mediasfu-shared">
34
- <img src="https://img.shields.io/npm/v/mediasfu-shared.svg?style=flat-square" alt="npm version" />
35
- </a>
36
- <a href="https://www.npmjs.com/package/mediasfu-shared">
37
- <img src="https://img.shields.io/npm/dm/mediasfu-shared.svg?style=flat-square" alt="npm downloads" />
38
- </a>
39
- </p>
40
-
41
- <h1 align="center">mediasfu-shared</h1>
42
-
43
- <p align="center">
44
- <strong>Core Shared Library for MediaSFU SDKs</strong>
45
- </p>
46
-
47
- ---
48
-
49
- ## 📦 About
50
-
51
- `mediasfu-shared` is the universal shared library that powers all MediaSFU framework-specific SDKs (React, Vue, Angular, etc.). It provides the core WebRTC functionality, media handling, socket communication, and state management that enables real-time video conferencing, screen sharing, recording, and interactive features across all MediaSFU implementations.
52
-
53
- This package contains framework-agnostic implementations of:
54
- - **Media Consumers** - WebRTC transport and stream management
55
- - **Core Methods** - Room creation, participant handling, recording controls
56
- - **Socket Management** - Real-time communication with MediaSFU servers
57
- - **Type Definitions** - Comprehensive TypeScript types for all MediaSFU features
58
- - **Utility Functions** - Helper methods for media processing and state management
59
-
60
- ## 🎯 Key Features
61
-
62
- - ✅ **Framework Agnostic** - Pure TypeScript/JavaScript implementation
63
- - ✅ **WebRTC Integration** - Full mediasoup-client support for advanced WebRTC features
64
- - ✅ **Type-Safe** - Complete TypeScript definitions for all APIs
65
- - ✅ **Real-Time Communication** - Socket.io integration for instant updates
66
- - **Modular Architecture** - Import only what you need for optimal bundle size
67
- - ✅ **Production Ready** - Battle-tested in MediaSFU's production environment
68
-
69
- ## 📥 Installation
70
-
71
- ```bash
72
- npm install mediasfu-shared
73
- ```
74
-
75
- ### Peer Dependencies
76
-
77
- This package requires the following peer dependencies:
78
-
79
- ```bash
80
- npm install socket.io-client mediasoup-client
81
- ```
82
-
83
- ## 🚀 Usage
84
-
85
- ### Importing Core Functions
86
-
87
- ```typescript
88
- import {
89
- connectSocket,
90
- joinRoomClient,
91
- updateRoomParametersClient,
92
- createDeviceClient,
93
- SocketManager
94
- } from 'mediasfu-shared';
95
-
96
- // Initialize socket connection
97
- const socket = await connectSocket({
98
- apiUserName: 'your-api-username',
99
- apiKey: 'your-api-key',
100
- apiToken: 'your-api-token',
101
- link: 'https://mediasfu.com/socket'
102
- });
103
-
104
- // Create SocketManager instance
105
- const socketManager = new SocketManager({ socket });
106
- ```
107
-
108
- ### Using Consumers
109
-
110
- ```typescript
111
- import {
112
- consumerResume,
113
- addVideosGrid,
114
- prepopulateUserMedia
115
- } from 'mediasfu-shared';
116
-
117
- // Resume a paused consumer
118
- await consumerResume({
119
- id: 'consumer-id',
120
- parameters: roomParameters,
121
- socket: socketManager.socket
122
- });
123
-
124
- // Add video streams to grid
125
- await addVideosGrid({
126
- consumers: activeConsumers,
127
- parameters: roomParameters
128
- });
129
- ```
130
-
131
- ### Type Definitions
132
-
133
- ```typescript
134
- import type {
135
- Participant,
136
- Transport,
137
- Stream,
138
- EventType,
139
- ShowAlert,
140
- CoHostResponsibility,
141
- Settings
142
- } from 'mediasfu-shared';
143
-
144
- const participant: Participant = {
145
- id: 'participant-123',
146
- name: 'John Doe',
147
- audioID: 'audio-stream-id',
148
- videoID: 'video-stream-id',
149
- islevel: '1'
150
- };
151
- ```
152
-
153
- ## 🏗️ Package Structure
154
-
155
- ```
156
- mediasfu-shared/
157
- ├── consumers/ # WebRTC consumer management
158
- │ ├── addVideosGrid
159
- │ ├── consumerResume
160
- │ └── prepopulateUserMedia
161
- ├── methods/ # Core functionality methods
162
- │ ├── breakoutRoomsMethods/
163
- │ ├── recordingMethods/
164
- │ ├── participantsMethods/
165
- │ ├── messageMethods/
166
- │ ├── mediaMethods/
167
- │ └── utils/
168
- ├── producers/ # Producer client implementations
169
- ├── sockets/ # Socket.io management
170
- ├── types/ # TypeScript type definitions
171
- └── index.ts # Main entry point
172
- ```
173
-
174
- ## 📚 Documentation
175
-
176
- For detailed documentation on specific methods and types, please visit:
177
-
178
- - **Main Documentation**: [https://mediasfu.com/documentation](https://mediasfu.com/documentation)
179
- - **API Reference**: [https://mediasfu.com/docs](https://mediasfu.com/docs)
180
- - **React SDK**: [mediasfu-reactjs](https://www.npmjs.com/package/mediasfu-reactjs)
181
- - **Vue SDK**: [mediasfu-vue](https://www.npmjs.com/package/mediasfu-vue)
182
-
183
- ## 🔗 Related Packages
184
-
185
- `mediasfu-shared` is used by all MediaSFU framework-specific packages:
186
-
187
- - **[mediasfu-reactjs](https://www.npmjs.com/package/mediasfu-reactjs)** - React components and hooks
188
- - **[mediasfu-vue](https://www.npmjs.com/package/mediasfu-vue)** - Vue 3 components and composables
189
- - **[mediasfu-angular](https://www.npmjs.com/package/mediasfu-angular)** - Angular components and services
190
-
191
- ## 🤝 Integration with MediaSFU Community Edition (CE)
192
-
193
- This package is designed to work seamlessly with [MediaSFU CE](https://github.com/MediaSFU/MediaSFUOpen), our open-source community edition server. MediaSFU CE provides:
194
-
195
- - Complete WebRTC SFU server implementation
196
- - Recording and streaming capabilities
197
- - Breakout rooms and advanced features
198
- - Free for self-hosting
199
-
200
- ## 💬 Support
201
-
202
- Need help? We're here for you!
203
-
204
- - **GitHub Issues**: [Report bugs or request features](https://github.com/MediaSFU/MediaSFU-Shared/issues)
205
- - **Email Support**: info@mediasfu.com
206
-
207
- ## 📄 License
208
-
209
- This project is licensed under the **MIT License** - see the [LICENSE](LICENSE) file for details.
210
-
211
- ---
212
-
213
- <p align="center">
214
- Made with ❤️ by the <a href="https://mediasfu.com">MediaSFU</a> Team
215
- </p>
216
-
217
- <p align="center">
218
- <a href="https://mediasfu.com">Website</a> •
219
- <a href="https://twitter.com/media_sfu">Twitter</a> •
220
- <a href="https://github.com/MediaSFU">GitHub</a> •
221
- <a href="https://www.linkedin.com/company/mediasfu">LinkedIn</a>
222
- </p>
1
+ # mediasfu-shared
2
+
3
+ `mediasfu-shared` is the framework-agnostic MediaSFU runtime package. It exposes the shared room helpers, mediasoup/socket flows, state utilities, and TypeScript types used by the MediaSFU SDK family.
4
+
5
+ ## When To Use This Package
6
+
7
+ Use `mediasfu-shared` when you want to:
8
+
9
+ - build your own browser client on top of MediaSFU primitives without adopting a framework-specific UI package
10
+ - share MediaSFU room, media, and participant logic across React, Vue, Angular, Svelte, or plain TypeScript codebases
11
+ - import low-level helpers such as `createRoomOnMediaSFU`, `joinRoomOnMediaSFU`, `connectSocket`, `SocketManager`, and the exported consumers, methods, and types entry points
12
+
13
+ ## Installation
14
+
15
+ ```bash
16
+ npm install mediasfu-shared mediasoup-client socket.io-client
17
+ ```
18
+
19
+ `mediasoup-client` and `socket.io-client` are peer dependencies, so install them in the host app.
20
+
21
+ ## Backend Requirement
22
+
23
+ The cloud room helpers in this package target `https://mediasfu.com/v1/rooms/` by default.
24
+
25
+ - Use MediaSFU Cloud when you want managed room creation, signaling, and media routing. Pass `apiUserName` and `apiKey`.
26
+ - Use MediaSFU Open / Community Edition when you self-host. Pass a non-MediaSFU `localLink` such as `http://localhost:3000`.
27
+
28
+ ## Quick Example
29
+
30
+ ```ts
31
+ import {
32
+ SocketManager,
33
+ connectSocket,
34
+ createRoomOnMediaSFU,
35
+ joinRoomOnMediaSFU,
36
+ } from 'mediasfu-shared';
37
+
38
+ const createResult = await createRoomOnMediaSFU({
39
+ payload: {
40
+ action: 'create',
41
+ userName: 'Ada',
42
+ duration: 60,
43
+ capacity: 10,
44
+ },
45
+ apiUserName: 'your-api-username',
46
+ apiKey: 'your-64-character-api-key',
47
+ });
48
+
49
+ const joinResult = await joinRoomOnMediaSFU({
50
+ payload: {
51
+ action: 'join',
52
+ meetingID: 'room123',
53
+ userName: 'Ben',
54
+ },
55
+ apiUserName: 'your-api-username',
56
+ apiKey: 'your-64-character-api-key',
57
+ });
58
+
59
+ const socket = await connectSocket({
60
+ apiUserName: 'your-api-username',
61
+ apiKey: 'your-64-character-api-key',
62
+ apiToken: 'your-api-token',
63
+ link: 'https://mediasfu.com/socket',
64
+ });
65
+
66
+ const socketManager = new SocketManager({ socket });
67
+
68
+ console.log(createResult.success, joinResult.success, socketManager.socket.connected);
69
+ ```
70
+
71
+ ## Import Paths
72
+
73
+ - `mediasfu-shared` exposes the full public runtime surface.
74
+ - `mediasfu-shared/consumers` is useful when you want consumer/grid helpers only.
75
+ - `mediasfu-shared/methods` is useful when you want action utilities and room helpers.
76
+ - `mediasfu-shared/types` is useful when you only need TypeScript contracts.
77
+
78
+ ## Documentation
79
+
80
+ - Main docs: [https://mediasfu.com/documentation](https://mediasfu.com/documentation)
81
+ - User guide: [https://mediasfu.com/user-guide](https://mediasfu.com/user-guide)
82
+ - MediaSFU Open / CE: [https://github.com/MediaSFU/MediaSFUOpen](https://github.com/MediaSFU/MediaSFUOpen)
83
+
84
+ Generate package-local API docs with:
85
+
86
+ ```bash
87
+ npm run build-docs
88
+ ```
89
+
90
+ ## Related Packages
91
+
92
+ - [mediasfu-reactjs](https://www.npmjs.com/package/mediasfu-reactjs)
93
+ - [mediasfu-vue](https://www.npmjs.com/package/mediasfu-vue)
94
+ - [mediasfu-angular](https://www.npmjs.com/package/mediasfu-angular)
95
+
96
+ ## Support
97
+
98
+ - GitHub issues: [https://github.com/MediaSFU/MediaSFU-Shared/issues](https://github.com/MediaSFU/MediaSFU-Shared/issues)
99
+ - Email: info@mediasfu.com
100
+
101
+ ## License
102
+
103
+ MIT. See [LICENSE](LICENSE).