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

Image error from Zello android app #234

Open
Allanksr opened this issue Oct 11, 2024 · 0 comments
Open

Image error from Zello android app #234

Allanksr opened this issue Oct 11, 2024 · 0 comments

Comments

@Allanksr
Copy link

Allanksr commented Oct 11, 2024

When I send an image from Zello Android app, I get this error: Missing image height
I,m unable to receive image data using Api.
I think this issue is not related to the Zello Android app, because on web version I get image data correctly.
I'm implementing this version of the SDK

implementation 'com.zello:zello-channel-sdk:0.5.2'

override fun onError(session: Session, error: InformationalError) {
	customLog(myTag, "onError error: ${error.errorMessage}")
	super.onError(session, error)
}

override fun onImageMessage(session: Session, imageInfo: ImageInfo) {
	customLog(myTag, "onImageMessage imageInfo: $imageInfo")
}

here works perfectly

session.on(ZCC.Constants.EVENT_INCOMING_IMAGE, (incomingImageSender) => {
	console.log("EVENT_INCOMING_IMAGE", incomingImageSender.messageData.from.toString())
})
session.on(ZCC.Constants.EVENT_INCOMING_IMAGE_DATA, (incomingImageData) => {
	console.log("EVENT_INCOMING_IMAGE_DATA", incomingImageData.messageData )
})
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