sending endpoint text message Error: Channel support is disabled
See original GitHub issueThis Issue tracker is only for reporting bugs and tracking code related issues.
I am attempting to send a message via Jitsi
Description
`var domain = ‘beta.meet.jit.si’ //‘meet.jit.si’ var options = { roomName: ‘fry_room’, width: 490, height: 470, parentNode: jitsi_id // document.querySelector(‘#meet’) } var api = new JitsiMeetExternalAPI(domain, options) function text_listener(data){ console.log("got text data: " + JSON.stringify(data)) } api.addEventListener(‘endpointTextMessageReceived’, text_listener); api.executeCommand(‘sendEndpointTextMessage’, api._myUserID, ‘programmatic text’);
Current behavior
Text does not show up in the local or remote gui but rather errors with: Logger.js:154 2020-04-11T17:53:23.026Z [modules/API/API.js] <Object.send-endpoint-text-message>: Failed sending endpoint text message Error: Channel support is disabled! at t.value (VM1479 lib-jitsi-meet.min.js:1) at oe.sendEndpointMessage (VM1479 lib-jitsi-meet.min.js:10) at Object.sendEndpointMessage (VM1480 app.bundle.min.js:126) at Object.send-endpoint-text-message (VM1480 app.bundle.min.js:126) at b.on (VM1480 app.bundle.min.js:126) at n.size.n.forEach.e (VM1480 app.bundle.min.js:29) at Set.forEach () at p.emit (VM1480 app.bundle.min.js:29) at p._onMessageReceived (VM1480 app.bundle.min.js:29) at postis.listen.e (VM1480 app.bundle.min.js:29) at u (VM1480 app.bundle.min.js:152)
Expected Behavior
Seeing the text in the GUI on both the sender and the reciever. Seeing my text_listener function called.
Possible Solution
See description, but I don’t really care if that’s the approach. Any way I can send a text message via Jitsi from one jitsi client to another, both “broadcase” to all participants, and to target it to one participant would be great.
Steps to reproduce
See description
Environment details
Mac OS, code in description evaled in Electron V4
Issue Analytics
- State:
- Created 3 years ago
- Reactions:3
- Comments:11 (1 by maintainers)
Top GitHub Comments
Hi @wuttke! What was your mistake? Having the same problem right now.
Doesn’t work for me - same exception. I tried
configOverwrite: { openBridgeChannel: 'datachannel' }
(also tried passing ‘true’) and beta.meet.jit.si.EDIT: works for me! - silly mistake 😉