[Libwebsockets] [libwebsockets] #45: What's the best way to send huge images/video files from client to server?

Trac trac at libwebsockets.org
Tue Nov 5 23:21:55 CET 2013


#45: What's the best way to send huge images/video files from client to server?
-------------------------------------+---------------------
  Reporter:  jdnevarez               |      Owner:
      Type:  task                    |     Status:  new
  Priority:  major                   |  Milestone:
 Component:  libwebsocket test apps  |    Version:
Resolution:                          |   Keywords:  jpg mp4
-------------------------------------+---------------------

Comment (by jdnevarez):

 By sending 1200 bytes and checking when I can write to the socket with
 lws_send_pipe_choked(wsi) solved my issue. Thank you so much, great
 library.

--
Ticket URL: <http://libwebsockets.org/trac/libwebsockets/ticket/45#comment:2>
libwebsockets <http://libwebsockets.org>
libwebsockets C library



More information about the Libwebsockets mailing list