Skip to content

Commit

Permalink
videoroom: add "streams" parsing to "configured" event
Browse files Browse the repository at this point in the history
  • Loading branch information
atoppi committed Jan 31, 2024
1 parent 8e9e6ef commit 1b7f51c
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/plugins/videoroom-plugin.js
Original file line number Diff line number Diff line change
Expand Up @@ -417,6 +417,8 @@ class VideoRoomHandle extends Handle {
if (typeof message_data.configured !== 'undefined') {
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;
janode_event.data.configured = message_data.configured;
break;
}
Expand Down

0 comments on commit 1b7f51c

Please sign in to comment.