Android Smack 4.1.1 File Transfering, ERROR Could not establish socket

前端 未结 1 1397
广开言路
广开言路 2021-01-16 09:55

I am trying to send files over my android app with smack library 4.1.1, though i am having some errors to do so. The thing is that i don\'t know why it just sends the files

相关标签:
1条回答
  • 2021-01-16 10:21

    I hope this helps anyone, the api works fine even though we need to change some properties in our openfire server:

    1.  xmpp.proxy.enabled – true 
    2.  xmpp.proxy.port – 7777 (7777 is the default but could be another)
    3.  xmpp.proxy.externalip – (host or ip)
    

    At the time it is working very well, need to make more tests though, I am wrong please someone provide any other info to fix this.

    0 讨论(0)
提交回复
热议问题