zello-channel-api
zello-channel-api copied to clipboard
Full image package always corrupted with no ways to convert to image
Zello Channel SDKs works fine, but Zello Channel API is broken. https://github.com/zelloptt/zello-channel-api/blob/master/API.md#on_image
session.on(ZCC.Constants.EVENT_INCOMING_IMAGE_DATA, (incomingImageData) => { //here it works })
ws.onmessage = async function(event) { /* on_image { command: 'on_image', channel: 'Some Channel', from: 'SomeUser', message_id: '2406830e84c1bec232cd1c598227b7dec307e9fffba608571b5bdb74dbc64307', source: 'library', type: 'jpeg' } //here it does not work */ }