Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Full image package always corrupted with no ways to convert to image #228

Open
Allanksr opened this issue Jun 14, 2024 · 0 comments
Open

Comments

@Allanksr
Copy link

Allanksr commented Jun 14, 2024

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
*/
}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant