mediasfu-vue 1.1.2 → 1.1.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 (3) hide show
  1. package/CHANGELOG.md +5 -0
  2. package/README.md +30 -17
  3. package/package.json +4 -3
package/CHANGELOG.md ADDED
@@ -0,0 +1,5 @@
1
+ # Changelog
2
+
3
+ ## 1.1.3 — 2026-09-16
4
+
5
+ - Requires `mediasfu-shared` 1.2.2 or later. That release reports the room layout to the recording service as soon as a recording starts, instead of waiting for the next participant or screen change.
package/README.md CHANGED
@@ -318,6 +318,23 @@ do not add polling. Never call `getUpdatedAllParams()` from a template,
318
318
  computed getter, watcher, or timer because it republishes. Pure reads use
319
319
  `getCurrentParams()`.
320
320
 
321
+ ## Virtual backgrounds and breakout rooms in a custom Vue UI
322
+
323
+ Keep `ModernBackgroundModal` wired to the newest room publication and use the
324
+ room's visibility flag and updater rather than a second Vue ref. Render local
325
+ camera media from `useMediasfuHeadless().localVideo`; it resolves the active
326
+ processed/virtual stream before the raw camera, so self-view matches the stream
327
+ published to everyone else.
328
+
329
+ Reuse `ModernBreakoutRoomsModal` with the same live room bag when you want the
330
+ built-in planner. Save assignments before Start and show action errors in your
331
+ page. Filtering tiles is not a breakout transition: the SDK must update room
332
+ membership and pause/resume consumers for the participant's active room.
333
+
334
+ ## Host leave and rejoin
335
+
336
+ Hosts can choose **Leave room** or **End for everyone**. **Leave room** keeps the room running so the host can rejoin later; **End for everyone** closes it for all participants. Programmatic callers pass `endRoomOnHostExit: false` to leave without ending the room; the default is `true`.
337
+
321
338
  ## Release checklist
322
339
 
323
340
  - Test microphone/camera denial, no-device state, autoplay policy, device
@@ -327,9 +344,22 @@ computed getter, watcher, or timer because it republishes. Pure reads use
327
344
  - Stop app-created tracks and await Leave before unmounting the room.
328
345
  - Keep reusable Cloud credentials and privileged room operations on your server.
329
346
 
347
+ ## Troubleshooting
348
+
349
+ | What you see | Likely cause | What to do |
350
+ |---|---|---|
351
+ | "Unable to connect. Check your credentials and try again." | The room service rejected the credentials, or your create/join backend returned an error. | Check the API username and key on your server, and make sure your create/join adapters pass the room service's response through. For MediaSFU Open, confirm that `local-link` points to a server the browser can reach. |
352
+ | The camera or microphone never starts | The page is not a secure context, or the browser permission was denied. | Serve the app over HTTPS (or `localhost` during development) and allow camera and microphone access for the site. |
353
+ | "You must turn on your video before you can start recording" | The recording is set to capture video while your camera is off. | Turn the camera on first, or switch the recording to audio only. The same applies to audio recordings and the microphone. |
354
+ | "You can only re-configure recording after pausing it" | Recording settings are locked while a recording is running. | Pause the recording, change the settings, then resume. |
355
+ | "You cannot turn off your camera while recording video…" | Turning the camera off would interrupt the recording. | Pause or stop the recording first. |
356
+ | A message ending in "Access denied by host." | The host has restricted that action for participants. | Ask the host to change the participant's permissions. |
357
+ | "Screen share is not allowed when whiteboard is active" | Screen sharing and the whiteboard cannot run at the same time. | Close the whiteboard, then start screen sharing. |
358
+
330
359
  ## Documentation
331
360
 
332
361
  - [Detailed repository guide](README_DETAILED.md)
362
+ - [Changelog](CHANGELOG.md)
333
363
  - [SDK guides and generated API references](https://mediasfu.com/docs/)
334
364
  - [Complete headless guide](https://mediasfu.com/docs/usage/headless)
335
365
  - [REST API Sandbox — run GET/POST requests and copy code](https://mediasfu.com/sandbox)
@@ -339,19 +369,6 @@ computed getter, watcher, or timer because it republishes. Pure reads use
339
369
 
340
370
  ## Working examples
341
371
 
342
- ## Virtual backgrounds and breakout rooms in a custom Vue UI
343
-
344
- Keep `ModernBackgroundModal` wired to the newest room publication and use the
345
- room's visibility flag and updater rather than a second Vue ref. Render local
346
- camera media from `useMediasfuHeadless().localVideo`; it resolves the active
347
- processed/virtual stream before the raw camera, so self-view matches the stream
348
- published to everyone else.
349
-
350
- Reuse `ModernBreakoutRoomsModal` with the same live room bag when you want the
351
- built-in planner. Save assignments before Start and show action errors in your
352
- page. Filtering tiles is not a breakout transition: the SDK must update room
353
- membership and pause/resume consumers for the participant's active room.
354
-
355
372
  - [MediaSFU QuickStart Apps](https://github.com/MediaSFU/MediaSFU-QuickStart-Apps) — runnable Cloud, MediaSFU Open, custom-prejoin, backend-proxy, and custom-UI examples across SDKs.
356
373
  - [SpacesTek Initial](https://github.com/MediaSFU/SpacesTekInitial) → [Final](https://github.com/MediaSFU/SpacesTekFinal) → [Advanced](https://github.com/MediaSFU/SpacesTekAdvanced) — a staged path from a starter room to a product-owned Spaces-style experience.
357
374
  - [MediaSFU Agents](https://github.com/MediaSFU/Agents) — multimodal voice/vision agent starters across supported frameworks.
@@ -359,8 +376,4 @@ membership and pause/resume consumers for the participant's active room.
359
376
 
360
377
  ## License
361
378
 
362
- ### Host leave and rejoin
363
-
364
- Hosts now see **Leave room** and **End for everyone**. The first keeps the room active and allows rejoin. Programmatic callers pass `endRoomOnHostExit: false`; existing calls default to `true`.
365
-
366
379
  MIT. See [LICENSE](LICENSE).
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "mediasfu-vue",
3
- "version": "1.1.2",
3
+ "version": "1.1.3",
4
4
  "private": false,
5
5
  "type": "module",
6
6
  "publishConfig": {
@@ -24,7 +24,8 @@
24
24
  "dist/",
25
25
  "src/",
26
26
  "README.md",
27
- "README_DETAILED.md"
27
+ "README_DETAILED.md",
28
+ "CHANGELOG.md"
28
29
  ],
29
30
  "scripts": {
30
31
  "dev": "vite",
@@ -100,7 +101,7 @@
100
101
  },
101
102
  "dependencies": {
102
103
  "bootstrap": "^5.3.8",
103
- "mediasfu-shared": "^1.2.0",
104
+ "mediasfu-shared": "^1.2.2",
104
105
  "universal-cookie": "^8.0.1"
105
106
  },
106
107
  "devDependencies": {