|
@@ -2727,6 +2727,18 @@ export default {
|
2727
|
2727
|
*/
|
2728
|
2728
|
convertVideoToDesktop: true,
|
2729
|
2729
|
|
|
2730
|
+ /**
|
|
2731
|
+ * Callback invoked when the connection has been closed
|
|
2732
|
+ * automatically. Triggers cleanup of screensharing if active.
|
|
2733
|
+ *
|
|
2734
|
+ * @returns {void}
|
|
2735
|
+ */
|
|
2736
|
+ onConnectionClosed: () => {
|
|
2737
|
+ if (this._untoggleScreenSharing) {
|
|
2738
|
+ this._untoggleScreenSharing();
|
|
2739
|
+ }
|
|
2740
|
+ },
|
|
2741
|
+
|
2730
|
2742
|
/**
|
2731
|
2743
|
* Callback invoked to pass messages from the local client back
|
2732
|
2744
|
* out to the external client.
|