Thank you, i did make some progress converting the data to string type. However i get this error on janus:
Got a DataChannel message (82 bytes): {"textroom":"message","transaction":"tM87rIxIHUrB","room":3456,"text":"undefined"}
[ERR] [plugins/janus_textroom.c:janus_textroom_handle_incoming_request:1507] Not in room 3456
[2428673572326236] SCTP data to send (label=JanusDataChannel, 114 bytes) coming from a plugin.
I'm unable to understand how to join room - there is below code in textroomtest.js but there's no call to the plugin, how does it join the room ?
var register = {
textroom: "join",
transaction: transaction,
room: mytxtroom,
username: mytxtid,
display: username
};
Thanks,
Srinivas