Skip to content

Commit

Permalink
videoroom: fix "streams" parsing in configured event
Browse files Browse the repository at this point in the history
  • Loading branch information
atoppi committed Feb 2, 2024
1 parent 1c07148 commit 6387379
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/plugins/videoroom-plugin.js
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down

0 comments on commit 6387379

Please sign in to comment.