mediasfu-vue 1.0.4 β 1.0.6
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.
- package/README.md +39 -28
- package/dist/index.cjs +546 -520
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.ts +2 -5
- package/dist/index.js +544 -518
- package/dist/index.js.map +1 -1
- package/dist/mediasfu-vue.css +161 -198
- package/package.json +9 -6
- package/src/App.vue +2 -3
- package/src/AppBroadcast.vue +2 -2
- package/src/AppChat.vue +2 -2
- package/src/AppConference.vue +2 -2
- package/src/AppGeneric.vue +2 -2
- package/src/AppWebinar.vue +2 -2
- package/src/components/backgroundComponents/BackgroundModal.vue +6 -3
- package/src/components/displayComponents/CardVideoDisplay.vue +33 -13
- package/src/components/displayComponents/FlexibleVideo.vue +24 -45
- package/src/components/mediasfuComponents/MediasfuGeneric.vue +2 -3
- package/src/components/screenboardComponents/Screenboard.css +68 -32
- package/src/components/screenboardComponents/Screenboard.vue +34 -23
- package/src/components/screenboardComponents/canvasCoordinates.ts +58 -0
- package/src/consumers/prepopulateUserMedia.ts +50 -4
- package/src/examples/example-custom-components.vue +2 -2
- package/src/main.ts +7 -0
- package/src/modern/display_components/ModernFlexibleVideo.vue +31 -54
- package/src/modern/mediasfu_components/ModernMediasfuGeneric.vue +0 -4
- package/src/modern/modal_components/ModernBackgroundModal.vue +8 -5
- package/src/types/mediapipe.d.ts +6 -0
- package/src/utils/demoCloudConfig.ts +29 -5
package/README.md
CHANGED
|
@@ -43,9 +43,9 @@
|
|
|
43
43
|
|
|
44
44
|
---
|
|
45
45
|
|
|
46
|
-
|
|
46
|
+
## Build real-time communication into Vue
|
|
47
47
|
|
|
48
|
-
MediaSFU Vue
|
|
48
|
+
MediaSFU Vue combines a Vue 3 WebRTC client, Composition API-friendly components, prebuilt room experiences, and lower-level customization APIs for video meetings, voice and video calls, webinars, interactive livestreams, chat, recording, screen sharing, whiteboards, polls, live captions, translation, and AI-assisted communication.
|
|
49
49
|
|
|
50
50
|
It is designed for teams that want to start with prebuilt room UI and then progressively customize or replace that UI without rebuilding the media runtime, signaling, or room orchestration from scratch.
|
|
51
51
|
|
|
@@ -56,6 +56,16 @@ It is designed for teams that want to start with prebuilt room UI and then progr
|
|
|
56
56
|
- Connect to MediaSFU Cloud or your self-hosted MediaSFU Open deployment.
|
|
57
57
|
- Use Vue 3 and Composition API-friendly wrappers without losing access to the broader MediaSFU product model.
|
|
58
58
|
|
|
59
|
+
### Common Vue product shapes
|
|
60
|
+
|
|
61
|
+
| You are building | Start with | Extend with |
|
|
62
|
+
| --- | --- | --- |
|
|
63
|
+
| Team meetings or embedded video calls | `MediasfuGeneric` or `MediasfuConference` | branding, waiting rooms, screen sharing, annotation, recording |
|
|
64
|
+
| A webinar or virtual event | `MediasfuWebinar` | panelists, permissions, audience controls, polls |
|
|
65
|
+
| An interactive livestream or host-led broadcast | `MediasfuBroadcast` | custom host controls, layouts, recording |
|
|
66
|
+
| A support, community, or chat-first room | `MediasfuChat` | audio/video escalation, moderation, custom messages |
|
|
67
|
+
| A fully branded Vue collaboration workspace | `ModernMediasfuGeneric` or headless mode | `uiOverrides`, custom cards, `sourceParameters` |
|
|
68
|
+
|
|
59
69
|
## Quick Start: First Working Room
|
|
60
70
|
|
|
61
71
|
```bash
|
|
@@ -152,6 +162,24 @@ For demos without a backend connection, seed the UI locally:
|
|
|
152
162
|
</template>
|
|
153
163
|
```
|
|
154
164
|
|
|
165
|
+
## Common questions
|
|
166
|
+
|
|
167
|
+
### Is MediaSFU Vue only a UI component package?
|
|
168
|
+
|
|
169
|
+
No. It includes prebuilt Vue room UI and the browser-side WebRTC/session runtime. A MediaSFU-compatible backend still provides signaling, room lifecycle, and SFU media routing.
|
|
170
|
+
|
|
171
|
+
### Can I keep my existing Vue design system?
|
|
172
|
+
|
|
173
|
+
Yes. Replace targeted surfaces with `uiOverrides`, custom cards, and custom components, or use `:returnUI="false"` to place the runtime behind a completely custom Vue interface.
|
|
174
|
+
|
|
175
|
+
### Can I self-host MediaSFU?
|
|
176
|
+
|
|
177
|
+
Yes. Pass `localLink` for a MediaSFU Open deployment, or use MediaSFU Cloud when you prefer managed room and media infrastructure.
|
|
178
|
+
|
|
179
|
+
### Which collaboration features are included?
|
|
180
|
+
|
|
181
|
+
The SDK supports meeting, webinar, broadcast, and chat experiences with screen sharing and annotation, recording, whiteboards, polls, breakout rooms, live captions, translation, and extensible AI-agent workflows.
|
|
182
|
+
|
|
155
183
|
---
|
|
156
184
|
|
|
157
185
|
## Required: Import CSS Styles
|
|
@@ -168,24 +196,9 @@ This is required for all MediaSFU components to render with proper styling. With
|
|
|
168
196
|
|
|
169
197
|
---
|
|
170
198
|
|
|
171
|
-
##
|
|
172
|
-
|
|
173
|
-
MediaSFU also supports AI phone agents and telephony workflows on top of the same broader communications platform.
|
|
174
|
-
|
|
175
|
-
Call the live demos:
|
|
176
|
-
|
|
177
|
-
- πΊπΈ **+1 (785) 369-1724** - Mixed Support Demo
|
|
178
|
-
- π¬π§ **+44 7445 146575** - AI Conversation Demo
|
|
179
|
-
- π¨π¦ **+1 (587) 407-1990** - Technical Support Demo
|
|
180
|
-
- π¨π¦ **+1 (647) 558-6650** - Friendly AI Chat Demo
|
|
199
|
+
## Related MediaSFU capabilities: AI phone agents, SIP, and PSTN
|
|
181
200
|
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
- Deploy AI phone agents in about 30 minutes
|
|
185
|
-
- Works with SIP providers such as Twilio, Telnyx, and Zadarma
|
|
186
|
-
- Supports AI-to-human handoffs, analytics, and transcription
|
|
187
|
-
|
|
188
|
-
π **[Complete SIP/PSTN Documentation β](https://mediasfu.com/telephony)**
|
|
201
|
+
The wider MediaSFU platform also supports SIP/PSTN calling and AI phone-agent workflows, including provider integrations, human handoff, analytics, and transcription. These services are separate from the Vue browser SDK but can complement the same communication product. See the [MediaSFU telephony documentation](https://mediasfu.com/telephony).
|
|
189
202
|
|
|
190
203
|
---
|
|
191
204
|
|
|
@@ -283,12 +296,12 @@ const connectionPresets = computed(() => ({
|
|
|
283
296
|
},
|
|
284
297
|
hybrid: {
|
|
285
298
|
credentials,
|
|
286
|
-
localLink: '
|
|
299
|
+
localLink: 'https://your-mediasfu-server.example.com',
|
|
287
300
|
connectMediaSFU: true,
|
|
288
301
|
},
|
|
289
302
|
ce: {
|
|
290
303
|
credentials: undefined,
|
|
291
|
-
localLink: '
|
|
304
|
+
localLink: 'https://your-mediasfu-server.example.com',
|
|
292
305
|
connectMediaSFU: false,
|
|
293
306
|
},
|
|
294
307
|
}));
|
|
@@ -2646,7 +2659,7 @@ export type PreJoinPageType = (options: PreJoinPageOptions) => Vue.JSX.Element;
|
|
|
2646
2659
|
* userName: "Prince",
|
|
2647
2660
|
* }}
|
|
2648
2661
|
* connectMediaSFU={true}
|
|
2649
|
-
* localLink="
|
|
2662
|
+
* localLink="https://your-mediasfu-server.example.com"
|
|
2650
2663
|
* />
|
|
2651
2664
|
* );
|
|
2652
2665
|
* };
|
|
@@ -3143,7 +3156,7 @@ const App = () => {
|
|
|
3143
3156
|
// Example:
|
|
3144
3157
|
/*
|
|
3145
3158
|
const credentials = {};
|
|
3146
|
-
const localLink = '
|
|
3159
|
+
const localLink = 'https://your-mediasfu-server.example.com';
|
|
3147
3160
|
const connectMediaSFU = localLink.trim() !== '';
|
|
3148
3161
|
*/
|
|
3149
3162
|
|
|
@@ -3155,7 +3168,7 @@ const App = () => {
|
|
|
3155
3168
|
apiUserName: 'dummyUsr',
|
|
3156
3169
|
apiKey: '1234567890abcdef1234567890abcdef1234567890abcdef1234567890abcdef',
|
|
3157
3170
|
};
|
|
3158
|
-
const localLink = '
|
|
3171
|
+
const localLink = 'https://your-mediasfu-server.example.com';
|
|
3159
3172
|
const connectMediaSFU = localLink.trim() !== '';
|
|
3160
3173
|
*/
|
|
3161
3174
|
|
|
@@ -3373,7 +3386,7 @@ const App = () => {
|
|
|
3373
3386
|
// Example:
|
|
3374
3387
|
/*
|
|
3375
3388
|
const credentials = {};
|
|
3376
|
-
const localLink = '
|
|
3389
|
+
const localLink = 'https://your-mediasfu-server.example.com';
|
|
3377
3390
|
const connectMediaSFU = localLink.trim() !== '';
|
|
3378
3391
|
*/
|
|
3379
3392
|
|
|
@@ -3385,7 +3398,7 @@ const App = () => {
|
|
|
3385
3398
|
apiUserName: 'dummyUsr',
|
|
3386
3399
|
apiKey: '1234567890abcdef1234567890abcdef1234567890abcdef1234567890abcdef',
|
|
3387
3400
|
};
|
|
3388
|
-
const localLink = '
|
|
3401
|
+
const localLink = 'https://your-mediasfu-server.example.com';
|
|
3389
3402
|
const connectMediaSFU = localLink.trim() !== '';
|
|
3390
3403
|
*/
|
|
3391
3404
|
|
|
@@ -5244,5 +5257,3 @@ If you need further assistance or have any questions, feel free to ask!
|
|
|
5244
5257
|
MIT Β© [MediaSFU](https://www.mediasfu.com)
|
|
5245
5258
|
|
|
5246
5259
|
|
|
5247
|
-
|
|
5248
|
-
|