Tears down a producer consumer transport and reconciles shared screen state when a producer closes.
Producer identity and shared room/media callbacks.
Resolves once transport teardown and UI cleanup are complete.
await producerMediaClosed({ producerId: '12345', kind: 'screenshare', parameters,}); Copy
await producerMediaClosed({ producerId: '12345', kind: 'screenshare', parameters,});
Tears down a producer consumer transport and reconciles shared screen state when a producer closes.