Asmack file transfer progress always at 0.0

前端 未结 2 1041
梦谈多话
梦谈多话 2021-01-17 05:46

Hi there i am using asmack-android-19-0.8.10.jar and openfire to develop file transfer. i refered to harryjoy.me but i have problems when sending the file where transfer.get

2条回答
  •  花落未央
    2021-01-17 06:00

    Implementation looks buggy, e.g.

    
            
                
                    http://jabber.org/protocol/bytestreams
                    http://jabber.org/protocol/ibb
                
            
        
    

    is wrong reply, because XEP-0095 say:

    If acceptable the Receiver MUST select one of the presented stream types to use.

    Try to use only one stream method and/or submit bugreport to Smack.

提交回复
热议问题