From 6387379d4cb5e37782d89b1e04b5aa9a4f9ae254 Mon Sep 17 00:00:00 2001 From: Alessandro Toppi Date: Fri, 2 Feb 2024 12:40:07 +0100 Subject: [PATCH] videoroom: fix "streams" parsing in configured event --- src/plugins/videoroom-plugin.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/plugins/videoroom-plugin.js b/src/plugins/videoroom-plugin.js index ddf8a44..9e745ab 100644 --- a/src/plugins/videoroom-plugin.js +++ b/src/plugins/videoroom-plugin.js @@ -418,7 +418,7 @@ class VideoRoomHandle extends Handle { janode_event.event = PLUGIN_EVENT.CONFIGURED; janode_event.data.feed = this.feed; /* [multistream] add streams info */ - if (typeof streams !== 'undefined') janode_event.data.streams = message_data.streams; + if (typeof message_data.streams !== 'undefined') janode_event.data.streams = message_data.streams; janode_event.data.configured = message_data.configured; break; }