Regarding sending a file to Websocket via android application -
i want upload mp3 file via websocket in android application.
i using external library http://autobahn.ws/android/
but problem through library,i cannot upload big file.say 5 mb. tried researching on similar types of libraries.but not found suitable one. has tried upload file on websocket in android application.
thanks
as per mentioned error receiving "websocketexception: frame payload large"
, if go source code of library using , search error find out limitation imposed library itself.
// bail out on frame large
if (payload_len > moptions.getmaxframepayloadsize()) { throw new websocketexception("frame payload large"); }
you'll find limitation in websocketoptions.java
mmaxframepayloadsize = 128 * 1024;
Comments
Post a Comment