java - android websocket websocketnotconnected error -


i have used java-websocket (https://github.com/davidiusdadi/java-websocket) client in android app.

i recording audio file , sending server using websocketclient , draft 17.

my audio file of 500 kb = 500000 bytes. splitting same 1000 bytes string.

so have 500 string. send json server in loop in async task.

after sending few messages while call websocketclient.send getting exception saying websocketnotconnected , no onclose or onerror triggered yet.

some times works properly.

is there solution or other android websocket library suitable above task.


Comments

Popular posts from this blog

SQL php on different pages to Insert (mysqli) -

How to combine associative arrays in bash? -

c++ - No viable overloaded operator for references a map -