@unboundcx/video-sdk-client 2.0.6 → 2.0.7

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.
@@ -855,8 +855,13 @@ export class MediasoupManager extends EventEmitter {
855
855
  producer.close();
856
856
  this.producers.delete(type);
857
857
 
858
- // Notify server with correct event name and format
859
- await this.connection.request("media.produce.close", {
858
+ // Notify server. Event name is `media.produceClose` (camelCase
859
+ // suffix) — must match the handler registration in app1-socket's
860
+ // /video routes and app1-video-server's NATS handler map. A dotted
861
+ // variant ("media.produce.close") gets silently dropped server-side
862
+ // and the SDK then times out after 5s with the producer still
863
+ // active on the SFU — remote consumers see a frozen frame.
864
+ await this.connection.request("media.produceClose", {
860
865
  producer: {
861
866
  id: producer.id,
862
867
  producerType: type,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@unboundcx/video-sdk-client",
3
- "version": "2.0.6",
3
+ "version": "2.0.7",
4
4
  "description": "Framework-agnostic WebRTC video meeting SDK powered by mediasoup",
5
5
  "type": "module",
6
6
  "main": "index.js",