Skip to content

Error when do a changeroom in AudioBridge plugin #67

Description

@NormandoHall

Hello.

Is it possible that when I perform a changeroom in Janode, I'm getting the following error? This is the log with --janode-log=debug flag:

2026-08-14T04:40:41.403Z - VERBOSE : [tmanager.js] [1643482266961540] created new transaction 3166133045113532, request "message"
2026-08-14T04:40:41.404Z - DEBUG   : [transport-ws.js] [3166133045113506] <ws SND OK> {"janus":"message","body":{"request":"changeroom","room":"Dev-1001","muted":true,"pin":"6d199cc4-1429-4e9a-95e9-12e421317030"},"transaction":"3166133045113532","handle_id":1643482266961540,"session_id":1731845264103649,"apisecret":"xxxxxxxx"}
2026-08-14T04:40:41.406Z - DEBUG   : [transport-ws.js] [3166133045113506] <ws RCV OK> {
   "janus": "ack",
   "session_id": 1731845264103649,
   "transaction": "3166133045113532"
}
2026-08-14T04:40:41.406Z - VERBOSE : [handle.js] [1643482266961540] received ack for transaction 3166133045113532
2026-08-14T04:40:41.406Z - DEBUG   : [transport-ws.js] [3166133045113506] <ws RCV OK> {
   "janus": "event",
   "session_id": 1731845264103649,
   "transaction": "3166133045113532",
   "sender": 1643482266961540,
   "plugindata": {
      "plugin": "janus.plugin.audiobridge",
      "data": {
         "audiobridge": "roomchanged",
         "room": "Dev-1001",
         "id": "c37975b2-e62f-4973-b6df-74a74fc1e7de",
         "participants": []
      }
   }
}
2026-08-14T04:40:41.406Z - VERBOSE : [handle.js] [1643482266961540] received event for transaction 3166133045113532
2026-08-14T04:40:41.406Z - WARNING : [handle.js] [1643482266961540] received event could not be handled by the plugin
2026-08-14T04:40:41.406Z - VERBOSE : [tmanager.js] [1643482266961540] closed with error transaction 3166133045113532, request "message"

Looking at the Janode src, it seems it's not recognizing the roomchanged event emitted by Janus. What can I do?

I do in this way:

await handle.message({
   request  :  'changeroom',
   room     :  'Dev-1001',
   muted    :  true,
   pin      :  '6d199cc4-1429-4e9a-95e9-12e421317030'
});

Thanks!!!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions