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

issue with strophe.ibb.js when file is transfered #126

Open
vullivijaya opened this issue Apr 17, 2017 · 17 comments
Open

issue with strophe.ibb.js when file is transfered #126

vullivijaya opened this issue Apr 17, 2017 · 17 comments

Comments

@vullivijaya
Copy link

Hi Friends,

I am able to send file successfully for first time to other selected user by using strophe.si-filetransfer.js and strophe.ibb.js. when I am trying to send second file i am able to send file name using striphe.si-filetransfer.js but when ibb.open function returning timeout issues. Please let me know solution.

For example:

if chat hav a,b and c users are online

"a" can able to send file "b" and "a" can able to send "c" user for first time. When "a" user send second file to same user "b" then connection.ibb.open function returning timeout issue. Please suggest on this issue

thank you in advance
Vijaya

@krishtce
Copy link

I am also facing the same issue. Have you resolved this issue? If so, please share your opinion

@vullivijaya
Copy link
Author

Yes I resolved. ibbHandler: function(type, from, sid, data, seq) { in this before default case ( default:) break; missed in swtich case. Check it that function with case close:

@krishtce
Copy link

krishtce commented May 21, 2017 via email

@vullivijaya
Copy link
Author

is it working for you

@krishtce
Copy link

krishtce commented May 21, 2017 via email

@vullivijaya
Copy link
Author

hi krishtce did you work any functionality about adding contacts and favorites

@vullivijaya
Copy link
Author

I am getting some error while adding contact

@krishtce
Copy link

krishtce commented May 26, 2017 via email

@vullivijaya
Copy link
Author

I am able to send only 2mb files using chunks more than that i am also getting hanging

@krishtce
Copy link

krishtce commented May 26, 2017 via email

@vullivijaya
Copy link
Author

No I used chunks means dividing file into 0 to 10000 bytes, 10000bytes into 20000 bytes and etc. Like this we need to do upto total bytes

@vullivijaya
Copy link
Author

when 0 to 10000 bytes data came send to other user like this i repeat and upto final stage and then merged into single ibbHandler: function(type, from, sid, data, seq) {

@vullivijaya
Copy link
Author

function

@krishtce
Copy link

krishtce commented May 26, 2017 via email

@vullivijaya
Copy link
Author

did you done login functionality?

@krishtce
Copy link

krishtce commented May 28, 2017 via email

@illusion007
Copy link

I am not able to Receive the file, can any one help me.

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

3 participants