room module error

hyuk

Member
Uncaught TypeError: Cannot read properties of undefined (reading 'streams') (12240)
at roomHandlers.<computed> [as ${roomId}]
at Object.APP_DATA (12078)
at wsConnection.onmessege (9770)


The above error occurred when joining a room.
Under what circumstances can this error occur?

An error occurred in the code below. (room-module.js)

} else if (data.name == "PUBLISHED") {
participant = participants[data.info.login];
participant.streams[data.info.name] = {
play: play(data.info.name),
stop: stop(data.info.name),
id: id(data.info.name),
streamName: function () {
return data.info.name
}
};
if (callbacks["PUBLISHED"]) {
callbacks["PUBLISHED"](participant);
}
} else if (data.name == "FAILED" || data.name == "UNPUBLISHED") {
 
Top